跳转到内容
Ask AI

POE Configuration

此内容尚不支持你的语言。

[Command] show interface poe

[Purpose] Display interface POE information

[View] System view

[Use Cases]

sonic# show interface poe

[Command] show interface poe diagnose

[Purpose] Display interface POE initialization information

[View] System view

[Usage Scenario] This command displays information including POE hardware version, POE status, current POE temperature, alarm temperature, and the number of internal POE resets.

[Notes] If the command results in a “device busy” message, it is normal. This indicates that the system is currently retrieving POE power information. Simply reissue the command to get the results.

[Use Cases]

sonic# show interface poe diagnose
PSE device information:
field value
----------------- ------------------------------------
version 0x4a02
status OK Expected PoE device Found (Zone1)
event
temperature 48 C
temperature-alarm 110 C
reset-count 0
initialized True
PSE wrong port map:
Interface Current Id Expect Id
----------- ------------ -----------

[Command] poe enable no poe enable

[Purpose] Enable POE power supply function of the interface

[View] Interface view

[Use Cases]

sonic(config)# interface ethernet 1
sonic(config-if-1)# poe enable

[Command] poe-delaytime no poe-delay

[Purpose] Configure the delayed start time of the interface POE function

[Parameter]

ParameterDescription
timeRange of values:0-3600

[View] Interface view

[Usage Scenario] This command is used to delay the activation of Power over Ethernet (PoE) power supply on an interface based on actual usage requirements. When the uplink link state stabilizes, and the protocols are running correctly, PoE power is supplied to the connected PoE devices. This delay mechanism is useful for ensuring that PoE devices receive power only when the network is stable and ready to support them.

[Use Cases]

sonic(config)# interface ethernet 1
sonic(config-if-1)# poe delay 300

[Command] poe max-powerPOWER no poe max-power

[Purpose] Configure the maximum output power of the device

[Parameter]

ParameterDescription
POWERThe unit is: w

[View] System configuration view

[Notes] By default, the maximum output power of a device is the power actually provided by the device. Therefore, the configured maximum output power must be lower than or equal to the total power of PoE power modules.

[Use Cases]

sonic(config)# poe max-power 60

[Command] poe priority {low/high/critical}

[Purpose] Configure the power priority of a PoE interface

[Parameter]

ParameterDescription
criticalIndicates the highest priority
highIndicates the second highest priority
lowIndicates the lowest priority

[View] System configuration view

[Notes] When the output power of a device is insufficient, the device in automatic power management mode provides power for the interfaces of the higher power supply priorities first and cuts off power of the interfaces of the lower power supply priorities. PoE switches provide power to PDs connected to the interfaces in the sequence in which PDs are connected to them.

By default, the power supply priority of an interface is low.

[Use Cases]

sonic(config)# interface ethernet 4
sonic(config-if-4)# poe priority high

[Command] time-rangenamefromdate-stoptodate-start no time-rangename

[Purpose] Configure PoE power-off time range

[Parameter]

ParameterDescription
nameSpecifies the name of a time range
date-stopSpecify the stop time of a time range, the format is hh:mm
date-startSpecify the start time of a time range, the format is hh:mm

[View] System configuration view

[Use Cases]

sonic(config)# time-range test from 12:00 2022-01-01 to 16:00 2023-01-01

[Command] time-rangename date-stoptodate-start day no time-rangename

[Purpose] Configure PoE power-off time range

[Parameter]

ParameterDescription
nameSpecifies the name of a time range
date-stopSpecify the stop time of a time range, the format is hh:mm
date-startSpecify the start time of a time range, the format is hh:mm
daySpecifies the date on which the time range takes effect
A weekday includes Monday
The value “Daily” indicates that the time range takes effect during the seven days in a week
The value “off-day” indicates that the time range takes effect on weekends including Saturday and Sunday
The value “Working-day” indicates that the time range takes effect in five days from Monday to Friday

[View] System configuration view

[Use Cases]

sonic(config)# time-range test 00:00 to 23:59 off-day

[Command] poe power-off time-rangename no poe power-off time-rangename

[Purpose] Configure PoE power-off time range effective on an interface

[View] Interface view

[Use Cases]

sonic(config)# interface ethernet 48
sonic(config-if-48)# poe power-off time-range test
Warning: This operation may power off some PD. Continue?[Y/N]: y

[Command] poe legacy-detect enable poe legacy-detect disable

[Purpose] Enable device power supply compatibility detection for PD devices.

[View] interface view

[Usage Scenario] Enable compatibility detection for PD devices, allowing 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 for PD devices is not enabled, the device will not recognize non-standard PD devices and will be unable to supply power to them.

[Use Cases]

sonic(config)# interface ethernet 1
sonic(config-if-1)# poe legacy-detect disable

[Command] poe reinitialize

[Purpose] Initialize POE feature

[View] System configuration view

[Usage Scenario] If the device has not been initialized for POE at the factory, this command can be used for manual initialization. After executing this command, a device reboot is not required, but all POE functionalities will be automatically disabled. Once initialization is complete, POE will be enabled again

[Use Cases]

sonic(config)# poe reinitialize