Configuration Guide
Interface Management Configura...
PoE Configuration
13 min
introduction introduction poe (power over ethernet), namely "power over ethernet", is a technology that can provide power to network devices through network cables poe technology can transmit both power and data signals simultaneously, eliminating the need for additional power cables for devices the principle of poe technology is to add direct current power to ethernet cables, enabling network devices to be directly powered through network cables pse (power sourcing equipment) pse equipment refers to network devices that support poe technology, and it is one of the core components in a poe power supply system pse generally comes in two forms poe power suppliers and poe switches its main function is to transmit power and data signals through ethernet cables and supply power to powered devices (pd) pd (powered device) pd devices refer to network devices that need to receive power supply in a poe power supply system, such as ip phones, cameras, wireless access points, etc pd devices obtain power supply from pse devices through ethernet cables and conduct data communication with pse devices configure the poe interface configure the poe interface poe basic configuration poe basic configuration operation command description enter the system configuration view configure enter the interface view interface ethernet id enable the poe power supply function of the interface poe enable configure the delayed startup time for the poe function of the interface poe delay time value range 0 3600, unit is second (s) configure the maximum pow supply power of the system poe max power{60w|30w|15w|30w at} different hardware models have different ranges of power limit for system and interface poe power supply that can be configured the specific configurable power size is subject to the help information on the device configure poe power supply priority poe priority {low|high|critical} when the total power supply of the device reaches the limit, the interfaces with lower priority will be powered off according to the poe power supply priority of the interfaces enable the device to detect the power supply compatibility of pd devices poe legacy detect enable enabling the compatibility detection function of pd devices allows the device to detect pd devices that do not comply with the 802 3af or 802 3at standards and supply power to these pd devices if the compatibility check function of pd devices is not enabled, the device will not recognize non standard pd devices and cannot supply power to non standard pd devices (enabled by default) initialize poe functions poe reinitialize if the device is not initialized for poe at the factory, this command can be used for manual initialization there is no need to restart the device after executing this command, but all poe enablings will be automatically turned off and turned on after the initialization is completed poe power supply time configuration poe power supply time configuration to improve energy efficiency and achieve automated management, a time based power supply strategy can be configured for poe ports connected to terminal devices such as wireless aps and ip phones this function can automatically cut off the power supply to the ports during non working hours and restore it before business hours, thereby eliminating unnecessary energy consumption and manual operations operation command description enter the system configuration view configure configure the poe power off time range time range name from date stop day to date start day power is supplied throughout the day by default name configure policy name date start start time of power supply, format xx\ xx date stop end of power supply time, in the format xx\ xx day strategy repetition method, format xx xx xx configure the poe power off time range time range name date stop to date start day name configure policy name date start start time of power supply, format xx\ xx date stop end of power supply time, in the format xx\ xx day\ strategy repetition method, format mon/tue/wed/thu/fri/sat/sun a specific day of each week 	 daily repeat every day 	 working day all working days 	 off day all non working days enter the interface view interface ethernet id enable the poe power supply function of the interface poe enable apply the poe power supply strategy to the specified interface poe power off time range name name name of power supply strategy poe pd alive check configuration poe pd alive check configuration the poe survival detection function periodically sends ping commands to check the status of the peer device if the pd (powered device) does not respond, it will restart the pd device by turning off and then turning on the poe power supply problem solved terminal devices in the network (such as ip cameras, wireless aps, ip phones, etc ) may enter a "stuck" state due to software bugs, excessive load, temperature changes, or other unknown reasons that is the device itself is powered on (the poe light is on), but its network function is paralyzed (unable to be pinged, and services are interrupted) traditional processing method it requires operation and maintenance personnel to manually detect faults, rush to the equipment site or find the corresponding switch port, and perform a physical restart (unplugging and plugging the network cable or power cable) this process is time consuming and labor intensive, especially when the equipment is installed in hard to reach locations (such as high altitude cameras) poe survival detection solution the system automatically completes the entire process of "detection judgment repair" detection the switch regularly sends ping commands to the device judgment after consecutive unresponsiveness for multiple times, the device is determined to be faulty repair simulate the "manual plugging and unplugging" operation by remotely controlling the poe power supply cycle (turning off and then on the power) to perform a soft restart on the device the application of this function can significantly shorten the fault recovery time, from the previous hour level or day level to minute level, without manual intervention, achieving a "self healing network" operation command description enter the system configuration view configure enter the interface view interface ethernet id enable the poe pd survival detection function of the interface poe pd alive check enable configure the ip address of the pd device poe pd alive check ip ip address ip address such as 192 168 1 100 (must be on the same network segment as the interface) configure the delay detection time after poe is turned on/restarted poe pd alive check delay seconds seconds 5 300 (default 60) configure the time interval for ping detection poe pd alive check interval seconds seconds 10 300 (default 30) configure the maximum threshold for executing actions poe pd alive check err threshold times times 1 10 (default 3) execution action after configuration detection failure poe pd alive check action action action: alarm:send log alerts + write to statedb (default) reboot:restart the poe port configure the time interval between poe turning off and turning on during restart poe pd alive check reboot interval seconds seconds:1 180 (default 10) display and maintenance display and maintenance operation command description display interface poe information show interface poe the information that can be displayed by this command includes the configured maximum power, the currently consumed power, the peak power consumed, and other information if the poe function of the interface is not enabled, all information statuses will be n/a display the configuration parameters and current status of the interface poe pd alive check function show interface poe pd alive check status configuration of poe pd alive check parameters and current status detection configuration example configuration example networking requirements in this network, the poe switch stops supplying power from 20 00 every night to 8 00 the next day on working days, and stops supplying power all day on non working days the interface has the survival detection function enabled the eth1 port is configured with a delayed startup of 30 seconds and a power supply priority of high configuration steps 1\ configure the power off time of the switch in the system view sonic(config)# time range test1 00 00 to 08 00 working day sonic(config)# time range test2 20 00 to 23 59 working day sonic(config)# time range test3 00 00 to 23 59 off day 2\ enter the interface view to enable the poe function, apply the power supply strategy, and configure survival detection sonic(config)# port group ethernet 1 3 sonic(config port group 1 3)# poe enable ethernet1 poe enable ethernet2 poe enable ethernet3 poe enable 3\ apply the power off time strategy for applications sonic(config port group 1 3)# poe power off time range test1 warning this operation may power off some pd continue?\[y/n] y sonic(config port group 1 3)# poe power off time range test2 warning this operation may power off some pd continue?\[y/n] y sonic(config port group 1 3)# poe power off time range test3 warning this operation may power off some pd continue?\[y/n] y 4\ configure the poe survival detection function sonic(config port group 1 3)# poe pd alive check enable sonic(config port group 1 3)# poe pd alive check delay 120 sonic(config port group 1 3)# poe pd alive check interval 60 sonic(config port group 1 3)# poe pd alive check err threshold 5 sonic(config port group 1 3)# poe pd alive check action reboot sonic(config port group 1 3)#poe pd alive check reboot interval 30 sonic(config port group 1 3)# exit sonic(config)# interface ethernet 1 sonic(config if 4)# poe pd alive check ip 192 168 10 11 sonic(config)# interface ethernet 2 sonic(config if 4)# poe pd alive check ip 192 168 10 12 sonic(config)# interface ethernet 3 sonic(config if 4)# poe pd alive check ip 192 168 10 13 5\ configure the delayed startup function and power supply priority of interface 1 sonic(config)# interface ethernet 1 sonic(config if 1)# poe delay 30 sonic(config port group 2 4)# poe delay 300 sonic(config if 1)# poe priority high warning this operation may power off some pd continue?\[y/n] y verification check the interface poe information sonic# show interface poe interface poe status poe delay current(a) voltage(v) power(w) maxpower(w) power/maxpower power/devicepsu legacy detect \ ethernet1 enable 30 0 0930 54 800 5 096 30 16 987% n/a enable ethernet2 enable n/a 0 0940 54 800 5 151 30 17 170% n/a enable ethernet3 enable n/a 0 0900 54 800 4 932 30 16 440% n/a enable ethernet4 n/a n/a n/a n/a n/a n/a n/a n/a n/a … ethernet48 n/a n/a n/a n/a n/a n/a n/a n/a n/a \ the sum of the above poes power is 15 179 w the maximum poes power of the device is 150w, the ratio of (sum poes power/maxpoespower) is 10 119% check the interface poe pd alive check information sonic# show interface poe pd alive check status \ config for delay/interval/err threshold/action/reboot interval + + + + + + + + \| interface | mode | config | pd ip | last ping time | alive | err count | +============+=========+====================+===============+=====================+=======+===========+ \| ethernet1 | enable | 120/60/5/reboot/30 | 192 168 10 11 | 2026 02 09 10 00 32 | true | 0 | + + + + + + + + \| ethernet2 | enable | 120/60/5/reboot/30 | 192 168 10 12 | 2026 02 09 10 00 32 | true | 0 | + + + + + + + +
