- Table of Contents
-
- H3C S5500-EI Series Switches Command Manual-Release 2102(V1.01)
- 00-1Cover
- 01-Login Commands
- 02-VLAN Commands
- 03-IP Addressing and IP Performance Commands
- 04-QinQ-BPDU Tunneling Commands
- 05-Port Correlation Configuration Commands
- 06-Link Aggregation Commands
- 07-MAC Address Table Management Commands
- 08-IP Source Guard Commands
- 09-DLDP Commands
- 10-MSTP Commands
- 11-IP Routing-GR Overview Commands
- 12-IPv4 Routing Commands
- 13-IPv6 Routing Commands
- 14-IPv6 Commands
- 15-Multicast Commands
- 16-802.1x-HABP-MAC Authentication Commands
- 17-AAA RADIUS HWTACACS Commands
- 18-ARP Commands
- 19-DHCP Commands
- 20-ACL Commands
- 21-QoS Commands
- 22-Port Mirroring Commands
- 23-Cluster Management Commands
- 24-UDP Helper Commands
- 25-SNMP-RMON Commands
- 26-NTP Commands
- 27-DNS Commands
- 28-File System Management Commands
- 29-Information Center Commands
- 30-System Maintaining and Debugging Commands
- 31-NQA Commands
- 32-VRRP Commands
- 33-SSH Commands
- 34-RRPP Commands
- 35-Port Security Commands
- 36-LLDP Commands
- 37-PoE Commands
- 38-sFlow Commands
- 39-SSL-HTTPS Commands
- 40-PKI Commands
- 41-Track Commands
- 42-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
37-PoE Commands | 84 KB |
Table of Contents
Chapter 1 PoE Configuration Commands
1.1 PoE Configuration Commands
1.1.2 apply poe-profile interface
1.1.5 display poe interface power
1.1.8 display poe-profile interface
1.1.18 poe utilization-threshold
Chapter 1 PoE Configuration Commands
1.1 PoE Configuration Commands
1.1.1 apply poe-profile
Syntax
apply poe-profile { index index | name profile-name }
undo apply poe-profile { index index | name profile-name }
View
PoE interface view
Parameters
index index: Index number of the PoE configuration file, in the range 1 to 100.
name profile-name: Name of the PoE configuration file, a string of 1 to 15 characters.
Description
Use the apply poe-profile command to apply the PoE configuration file to the current PoE interface.
Use the undo apply poe-profile command to remove the application of the PoE configuration file to the current PoE interface.
Note that the index number, instead of the name, of the PoE configuration file is displayed when you execute the display this command.
Related commands: display poe-profile, apply poe-profile interface.
Examples
# Apply the PoE configuration file named A20 to the PoE interface GigabitEthernet 1/0/2.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] apply poe-profile name A20
[Sysname-GigabitEthernet1/0/2] display this
#
interface GigabitEthernet1/0/2
apply poe-profile index 1
#
1.1.2 apply poe-profile interface
Syntax
apply poe-profile { index index | name profile-name } interface interface-range
undo apply poe-profile { index index | name profile-name } interface interface-range
View
System view
Parameters
index index: Index number of the PoE configuration file, in the range 1 to 100.
name profile-name: Name of the PoE configuration file, a string of 1 to 15 characters.
interface-range: Range of Ethernet interface numbers, indicating multiple Ethernet interfaces. The expression is interface-range = interface-type interface-number [ to interface-type interface-number ], where interface-type interface-number represents the interface type and interface number. The start interface number should be smaller than the end interface number. Ethernet interface numbers can be in any range. If any interface in the specified range does not support PoE, it is ignored when the PoE configuration file is applied.
Description
Use the apply poe-profile interface command to apply the PoE configuration file to one or more PoE interfaces.
Use the undo apply poe-profile interface command to remove the application of the PoE configuration file to the specified PoE interface(s).
Related commands: display poe-profile interface, apply poe-profile.
Examples
# Apply the PoE configuration file named ABC to the PoE interface GigabitEthernet 1/0/2.
<Sysname> system-view
[Sysname] apply poe-profile name ABC interface GigabitEthernet 1/0/2
# Apply the PoE configuration file with the index of 5 to PoE interfaces GigabitEthernet 1/0/2 through GigabitEthernet 1/0/8.
<Sysname> system-view
[Sysname] apply poe-profile index 5 interface GigabitEthernet 1/0/2 to GigabitEthernet 1/0/8
1.1.3 display poe device
Syntax
display poe device
View
Any view
Parameters
None
Description
Use the display poe device command to display the mapping between ID, module, and slot of all the power sourcing equipments (PSEs).
Examples
# Display the mapping between ID, module, and slot of each PSE.
<Sysname> display poe device
PSE ID SlotNo SubSNo PortNum MaxPower(W) State Model
1 0 0 48 0 off LSP1POEA
Table 1-1 Description on the fields of the display poe device command
Field |
Description |
PSE ID |
ID of the PSE |
SlotNo |
Slot number of the PSE |
SubSNo |
Subslot number of the PSE |
PortNum |
Number of PoE interfaces on the PSE |
MaxPower(W) |
Maximum power of the PSE (W) |
State |
PSE state: on: The PSE is supplying power. off: The PSE stops supplying power. faulty: The PSE fails. |
Model |
PSE model |
1.1.4 display poe interface
Syntax
display poe interface [ interface-type interface-number ]
View
Any view
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Description
Use the display poe interface command to display the power information of the specified interface.
If no interface is specified, the power information of all PoE interfaces is displayed.
Examples
# Display the power state of GigabitEthernet 1/0/2.
<Sysname> display poe interface GigabitEthernet 1/0/2
Port Power Enabled : enable
Port Power Priority : critical
Port Operating Status : on
Port IEEE Class : 0
Port Detection Status : delivering-power
Port Power Mode : signal
Port Current Power : 5400 mW
Port Average Power : 5490 mW
Port Peak Power : 6500 mW
Port Max Power : 15400 mW
Port Current : 108 mA
Port Voltage : 50.8 V
Port PD Description : IP Phone For Room 101
Table 1-2 Description on the fields of the display poe interface GigabitEthernet command
Field |
Description |
Port Power Enabled |
PoE state: enabled/disabled l enable: PoE is enabled. l disable: PoE is disabled. |
Port Power Priority |
Power priority of the PoE interface: l critical (highest) l high l low |
Port Operating Status |
Operating state of a PoE interface: l off: PoE is disabled. l on: Power is supplied for a PoE interface normally. l power lack: The guaranteed remaining power of the PSE is not high enough to supply power for a critical PoE interface. l power-deny: The PSE refuses to supply power. The power required by the powered device (PD) is higher than the configured power. l power-itself: The external equipment is supplying power for itself. power-limit: The PSE is supplying a limited power. The power required by the PD is higher than the configured power and the PSE still supplies the configured power. |
Port IEEE class |
PD power class: 0, 1, 2, 3, 4 |
Port Detection Status |
Power detection state of a PoE interface: l disabled: The PoE function is disabled. l searching: The PoE interface is searching for the PD. l delivering-power: The PoE interface is supplying power for the PD. l fault: There is a fault defined in 802.3af. l test: The PoE interface is under test. l other-fault: There is a fault other than defined in 802.3af. l pd-disconnect: The PD is disconnected. |
Port Power Mode |
Power mode of a PoE interface: signal: Power is supplied over signal cables. |
Port Current Power |
Current power of a PoE interface, including PD consumption power and transmission loss The transmission loss usually does not exceed one watt. |
Port Average Power |
Average power of a PoE interface |
Port Peak Power |
Peak power of a PoE interface |
Port Max Power |
Maximum power of a PoE interface |
Port Current |
Current of a PoE interface |
Port Voltage |
Voltage of a PoE interface |
Port PD Description |
Description of the PD connected to the PoE interface, which is used to identify the type and location of the PD. |
# Display the state of all PoE interfaces.
<Sysname> display poe interface
Interface Enable Priority CurPower Operating IEEE Detection
(W) Status class Status
GE1/0/1 disable low 0.0 off 0 disabled
GE1/0/2 disable low 0.0 off 0 disabled
GE1/0/3 disable low 0.0 off 0 disabled
GE1/0/4 disable low 0.0 off 0 disabled
GE1/0/5 disable low 0.0 off 0 disabled
GE1/0/6 disable low 0.0 off 0 disabled
GE1/0/7 disable low 0.0 off 0 disabled
GE1/0/8 disable low 0.0 off 0 disabled
GE1/0/9 disable low 0.0 off 0 disabled
GE1/0/10 disable low 0.0 off 0 disabled
GE1/0/11 disable low 0.0 off 0 disabled
GE1/0/12 disable low 0.0 off 0 disabled
GE1/0/13 disable low 0.0 off 0 disabled
GE1/0/14 disable low 0.0 off 0 disabled
GE1/0/15 enable high 3.8 on 0 delivering-power
GE1/0/16 enable low 5.4 on 0 delivering-power
GE1/0/17 disable low 0.0 off 0 disabled
GE1/0/18 disable low 0.0 off 0 disabled
GE1/0/19 disable low 0.0 off 0 disabled
GE1/0/20 disable low 0.0 off 0 disabled
GE1/0/21 disable low 0.0 off 0 disabled
GE1/0/22 disable low 0.0 off 0 disabled
GE1/0/23 disable low 0.0 off 0 disabled
GE1/0/24 disable low 0.0 off 0 disabled
--- 2 port(s) on, 9.2 (W) consumed, 90.8 (W) remaining ---
Table 1-3 Description on the fields of the display poe interface command
Field |
Description |
Interface |
Shortened form of a PoE interface |
Enable |
PoE state: enabled/disabled l enable: PoE is enabled. l disable: PoE is disabled. |
Priority |
Power priority of a PoE interface: l critical (highest) l high l low |
CurPower |
Current power of a PoE interface |
Operating Status |
Operating state of a PoE interface l off: PoE is disabled. l on: Power is supplied for a PoE interface normally. l power lack: The guaranteed remaining power of the PSE is not high enough to supply power for a critical PoE interface. l power-deny: The PSE refuses to supply power. The power required by the powered device (PD) is higher than the configured power. l power-itself: The external equipment is supplying power for itself. power-limit: The PSE is supplying a limited power. The power required by the PD is higher than the configured power and the PSE still supplies the configured power. |
IEEE class |
PD power class defined by IEEE |
Detection Status |
Power detection state of a PoE interface: l disabled: The PoE function is disabled. l searching: The PoE interface is searching for the PD. l delivering-power: The PoE interface is supplying power for the PD. l fault: There is a fault defined in 802.3af. l test: The PoE interface is under test. l There is a fault other than defined in 802.3af. pd-disconnect: The PD is disconnected. |
port(s) on |
Number of PoE interfaces that are supplying power |
consumed |
Power consumed by the current PoE interface |
Remaining |
Total remaining power of the system |
1.1.5 display poe interface power
Syntax
display poe interface power [ interface-type interface-number ]
View
Any view
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Description
Use the display poe interface power command to display the power information of a PoE interface(s).
If no interface is specified, the power information of all PoE interfaces will be displayed.
Examples
# Display the power information of GigabitEthernet 1/0/2.
<Sysname> display poe interface power GigabitEthernet 1/0/2
Interface CurPower PeakPower MaxPower PD Description
(W) (W) (W)
GE1/0/2 15.0 15.3 15.4 Access Point on Room 509 for Peter
# Display the power information of all PoE interfaces.
<Sysname> display poe interface power
Interface CurPower PeakPower MaxPower PD Description
(W) (W) (W)
GE1/0/1 0.0 0.0 15.4
GE1/0/2 0.0 0.0 15.4
GE1/0/3 0.0 0.0 15.4
GE1/0/4 0.0 0.0 15.4
GE1/0/5 0.0 0.0 15.4
GE1/0/6 0.0 0.0 15.4
GE1/0/7 0.0 0.0 15.4
GE1/0/8 0.0 0.0 15.4
GE1/0/9 0.0 0.0 15.4
GE1/0/10 0.0 0.0 15.4
GE1/0/11 0.0 0.0 15.4
GE1/0/12 0.0 0.0 15.4
GE1/0/13 0.0 0.0 15.4
GE1/0/14 0.0 0.0 15.4
GE1/0/15 3.8 3.9 10.0
GE1/0/16 5.4 6.5 15.4
GE1/0/17 0.0 0.0 15.4
GE1/0/18 0.0 0.0 15.4
GE1/0/19 0.0 0.0 15.4
GE1/0/20 0.0 0.0 15.4
GE1/0/21 0.0 0.0 15.4
GE1/0/22 0.0 0.0 15.4
GE1/0/23 0.0 0.0 15.4
GE1/0/24 0.0 0.0 15.4
--- 2 port(s) on, 9.1 (W) consumed, 90.9 (W) remaining ---
Table 1-4 Description on the fields of the display poe interface power command
Field |
Description |
Interface |
Shortened form of a PoE interface |
CurPower |
Current power of a PoE interface |
PeakPower |
Peak power of a PoE interface |
MaxPower |
Maximum power of a PoE interface |
PD Description |
Description of the PD connected with a PoE interface When the description contains more than 34 characters, the first 30 characters followed by four dots are displayed. |
port(s) on |
Number of PoE interfaces that are supplying power |
consumed |
Power currently consumed by all PoE interfaces |
Remaining |
Total remaining power of the system |
1.1.6 display poe pse
Syntax
display poe pse
View
Any view
Parameters
None
Description
Use the display poe pse command to display the information of the PSE.
Examples
# Display the information of the PSE.
<Sysname> display poe pse
PSE ID : 1
PSE Slot No : 0
PSE SubSlot No : 0
PSE Model : LSBMPOEGV48TP
PSE Power Enabled : enable
PSE Power Preempted : no
PSE Power Priority : low
PSE Current Power : 130 W
PSE Average Power : 20 W
PSE Peak Power : 240 W
PSE Max Power : 200 W
PSE Remaining Guaranteed : 120 W
PSE CPLD Version : 100
PSE Software Version : 200
PSE Hardware Version : 100
PSE Legacy Detection : disable
PSE Utilization-threshold : 80
PSE Pse-policy Mode : disable
PSE Pd-policy Mode : disable
PSE PD Disconnect Detect Mode : DC
Table 1-5 Description on the fields of the display poe pse command
Field |
Description |
PSE ID |
ID of the PSE |
PSE Slot No |
Slot number of the PSE |
PSE SubSlot No |
Subslot number of the PSE |
PSE Model |
Model of the PSE module |
PSE Power Enabled |
PoE is enabled for the PSE |
PSE Power Preempted |
PSE power preempted state l no: The power of the PSE is not preempted. l yes: The power of the PSE is preempted so that it cannot supply power, although PoE is enabled for the PSE |
PSE Power Priority |
Power priority of the PSE |
PSE Current Power |
Current power of the PSE |
PSE Average Power |
Average power of the PSE |
PSE Peak Power |
Peak power of the PSE |
PSE Max Power |
Maximum power of the PSE |
PSE Remaining Guaranteed |
Guaranteed remaining power of the PSE = Maximum power of the PSE– the sum of the maximum power of the critical PoE interfaces of the PSE |
PSE CPLD Version |
PSE CPLD version |
PSE Software Version |
PSE software version number |
PSE Hardware Version |
PSE hardware version number |
PSE Legacy Detection |
Nonstandard PD detection by the PSE: l enable: Enabled l disable: Disabled |
PSE Utilization-threshold |
PSE power alarm threshold |
PSE Pse-policy Mode |
PSE power management policy mode |
PSE Pd-policy Mode |
PD power management policy mode |
PSE PD Disconnect Detect Mode |
PD disconnection detection mode |
1.1.7 display poe-profile
Syntax
display poe-profile [ index index | name profile-name ]
View
Any view
Parameters
index index: Index number of the PoE configuration file, in the range 1 to 100.
name profile-name: Name of the PoE configuration file, a string of 1 to 15 characters.
Description
Use the display poe-profile command to display all information of the configurations and applications of the PoE configuration file.
If no argument is specified, all information of the configurations and applications of existing PoE configuration files is displayed.
Examples
# Display all information of the configurations and applications of the current PoE configuration file.
<Sysname> display poe-profile
Poe-profile Index ApplyNum Interface Configuration
AA3456789012345 1 3 GE1/0/1 poe enable
GE1/0/2 poe priority critical
GE1/0/3
poe-profileAA 2 1 GE1/0/4 poe enable
poe max-power 12300
poe-profileBB 3 0 poe enable
poe priority critical
poe max-power 15400
--- 3 poe-profile(s) created, 4 port(s) applied ---
Table 1-6 Description on the fields of the display poe-profile command
Field |
Description |
Poe-profile |
Name of the PoE configuration file |
Index |
Index number of the PoE configuration file |
ApplyNum |
Number of PoE interfaces to which a PoE configuration file is applied |
Interface |
Shortened form of the PoE interface to which the PoE configuration is applied |
Configuration |
Configurations of the PoE configuration file |
poe-profile(s) created |
Number of PoE configuration files |
port(s) applied |
Sum of the number of PoE interfaces to which all PoE configuration files are respectively applied |
# Display all information of the configurations and applications of the PoE configuration file whose index number is 1.
<Sysname> display poe-profile index 1
Poe-profile Index ApplyNum Interface Configuration
AA3456789012345 1 2 GE1/0/2 poe enable
GE1/0/4 poe priority critical
poe max-power 12300
--- 2 port(s) applied ---
Table 1-7 Description on the fields of the display poe-profile index command
Field |
Description |
Poe-profile |
Name of the PoE configuration file |
Index |
Index number of the PoE configuration file |
ApplyNum |
Number of PoE interfaces to which a PoE configuration file is applied |
Interface |
Shortened form of the PoE interface to which the PoE configuration is applied |
Configuration |
Configurations of the PoE configuration file |
port(s) applied |
Sum of the number of PoE interfaces to which all PoE configuration files are respectively applied |
# Display all information of the configurations and applications of the PoE configuration file named AA.
<Sysname> display poe-profile name AA
Poe-profile Index ApplyNum Interface Configuration
AA 1 2 GE1/0/1 poe enable
GE1/0/2 poe priority critical
poe max-power 12300
--- 2 port(s) applied ---
Table 1-8 Description on the fields of the display poe-profile name command
Field |
Description |
Poe-profile |
Name of the PoE configuration file |
Index |
Index number of the PoE configuration file |
ApplyNum |
Number of PoE interfaces to which a PoE configuration file is applied |
Interface |
Shortened form of the PoE interface to which the PoE configuration is applied |
Configuration |
Configurations of the PoE configuration file |
port(s) applied |
Sum of the number of PoE interfaces to which all PoE configuration files are respectively applied |
1.1.8 display poe-profile interface
Syntax
display poe-profile interface interface-type interface-number
View
Any view
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Description
Use the display poe-profile interface command to display all information of the configurations and applications of the PoE configuration file that currently takes effect on the specified PoE interface.
Examples
# Display all information of the configurations and applications of the current PoE configuration file applied to GigabitEthernet 1/0/2.
<Sysname> display poe-profile interface GigabitEthernet 1/0/2
Poe-profile Index ApplyNum Interface Current Configuration
AA3456789012345 1 2 GE1/0/2 poe enable
poe priority critical
Table 1-9 Description on the fields of the display poe-profile interface command
Field |
Description |
Poe-profile |
Name of the PoE configuration file |
Index |
Index number of the PoE configuration file |
ApplyNum |
Number of PoE interfaces to which the PoE configuration file is applied |
Interface |
Shortened form of the PoE interface to which the PoE configuration is applied |
Current Configuration |
Configurations of the PoE configuration file that currently take effect on a PoE interface |
& Note:
Because not all the configurations of a PoE configuration file can be applied successfully, only the configurations that currently take effect on the interface are displayed.
1.1.9 poe disconnect
Syntax
poe disconnect { ac | dc }
undo poe disconnect
View
System view
Parameters
ac: Specifies the PD disconnection detection mode as ac.
dc: Specifies the PD disconnection detection mode as dc.
Description
Use the poe disconnect command to configure a PD disconnection detection mode.
Use the undo poe disconnect command to restore the default.
The default PD disconnection detection mode is AC.
Note that change to the PD disconnection detection mode may lead to power-off of some PDs.
Examples
# Set the PD disconnection detection mode to dc.
<Sysname> system-view
[Sysname] poe disconnect dc
1.1.10 poe enable
Syntax
poe enable
undo poe enable
View
PoE interface view, PoE-profile file view
Parameters
None
Description
Use the poe enable command to enable PoE on a PoE interface.
Use the undo poe enable command to disable PoE on a PoE interface.
By default, PoE is disabled on a PoE interface.
Caution:
l If a PoE configuration file is already applied to a PoE interface, you need to remove the application of the file to the PoE interface before configuring the interface in PoE-profile view.
l If a PoE configuration file is applied to a PoE interface, you need to remove the application of the file to the PoE interface before configuring the interface in PoE interface view.
Examples
# Enable PoE on a PoE interface.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] poe enable
# Enable PoE on a PoE interface through a PoE configuration file.
<Sysname> system-view
[Sysname] poe-profile abc
[Sysname-poe-profile-abc-1] poe enable
[Sysname-poe-profile-abc-1] quit
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] apply poe-profile name abc
1.1.11 poe legacy enable
Syntax
poe legacy enable
undo poe legacy enable
View
System view
Parameters
None
Description
Use the poe legacy enable command to enable the PSE to detect nonstandard PDs.
Use the undo poe legacy enable command to disable the PSE from detecting nonstandard PDs.
By default, the PSE is disabled from detecting nonstandard PDs.
Examples
# Enable the PSE to detect nonstandard PDs.
<Sysname> system-view
[Sysname] poe legacy enable
1.1.12 poe max-power
Syntax
poe max-power max-power
undo poe max-power
View
PoE interface view, PoE-profile file view
Parameters
max-power: Maximum power in milliwatts allocated to a PoE interface, in the range 1000 to 15400.
Description
Use the poe max-power command to configure the maximum power for a PoE interface.
Use the undo poe max-power command to restore the default.
By default, the maximum power of the PoE interface is 15,400 milliwatts.
Examples
# Set the maximum power of GigabitEthernet 1/0/2 to 12,000 milliwatts.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] poe max-power 12000
# Set the maximum power of GigabitEthernet 1/0/2 to 12,000 milliwatts through a PoE configuration file.
<Sysname> system-view
[Sysname] poe-profile abc
[Sysname-poe-profile-abc-1] poe max-power 12000
[Sysname-poe-profile-abc-1] quit
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] apply poe-profile name abc
1.1.13 poe mode
Syntax
poe mode signal
undo poe mode
View
PoE interface view, PoE-profile file view
Parameters
None
Description
Use the poe mode single command to configure the PoE mode of the PoE interface as single (power over signal cables).
Use the undo poe mode command to restore the default.
By default, the PoE mode is signal (power over signal cables).
Examples
# Set the PoE mode to signal (power over signal cables).
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] poe mode signal
# Set the PoE mode to signal (power over signal cables) through a PoE configuration file.
<Sysname> system-view
[Sysname] poe-profile abc
[Sysname-poe-profile-abc-1] poe mode signal
[Sysname-poe-profile-abc-1] quit
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] apply poe-profile name abc
1.1.14 poe pd-description
Syntax
poe pd-description string
undo poe pd-description
View
PoE interface view
Parameters
string: Description of the PD connected to a PoE interface, a string of 1 to 80 characters.
Description
Use the poe pd-description command to configure a description for the PD connected to a PoE interface.
Use the undo poe pd-description command to restore the default.
By default, no description is available for the PD connected to a PoE interface.
Examples
# Configure the description for the PD connected to Ethernet 1/0 as IP Phone for Room 101.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] poe pd-description IP Phone For Room 101
1.1.15 poe pd-policy priority
Syntax
poe pd-policy priority
undo poe pd-policy priority
View
System view
Parameters
None
Description
Use the poe pd-policy priority command to configure a PD power management priority policy.
Use the undo poe pd-policy priority command to remove the PD power management priority policy.
By default, no PD power management priority policy is configured.
Examples
# Configure a PD power management priority policy
<Sysname> system-view
[Sysname] poe pd-policy priority
1.1.16 poe priority
Syntax
poe priority { critical | high | low }
undo poe priority
View
PoE interface view, PoE-profile file view
Parameters
critical: Sets the power priority of a PoE interface to critical. The PoE interface whose power priority level is critical works in guaranteed mode, that is, power is first supplied to the PD connected to this critical PoE interface.
high: Sets the power priority of a PoE interface to high.
low: Sets the power priority of a PoE interface to low.
Description
Use the poe priority command to configure a power priority level for a PoE interface.
Use the undo poe priority command to restore the default.
By default, the power priority of a PoE interface is low.
Note that:
l When the PoE power is insufficient, power is first supplied to PoE interfaces with a higher priority level.
l If a PoE configuration file is already applied to a PoE interface, you need to remove the application of the file to the PoE interface before configuring the interface in PoE-profile view.
l If a PoE configuration file is applied to a PoE interface, you need to remove the application of the file to the PoE interface before configuring the interface in PoE interface view.
l If two PoE interfaces have the same priority level, the PoE interface with a smaller ID has the higher priority level.
Examples
# Set the power priority of Ethernet 1/0 to critical.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] poe priority critical
# Set the power priority of GigabitEthernet 1/0/2 to critical through a PoE configuration file.
<Sysname> system-view
[Sysname] poe-profile abc
[Sysname-poe-profile-abc-1] poe priority critical
[Sysname-poe-profile-abc-1] quit
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] apply poe-profile name abc
1.1.17 poe update
Syntax
poe update { full | refresh } filename
View
System view
Parameters
full: Specifies to upgrade the PSE processing software in full mode when the software is unavailable.
refresh: Specifies to upgrade the PSE processing software in refresh mode when the software is available.
filename: Name of the upgrade file, a string of 1 to 64 characters. This file must be under the root directory of the file system of the device. The extension of the upgrade file is .s19.
Description
Use the poe update command to upgrade the PSE processing software online.
Examples
# Upgrade the processing software of the PSE online.
<Sysname> system-view
[Sysname] poe update refresh 0400_001.S19
1.1.18 poe utilization-threshold
Syntax
poe utilization-threshold utilization-threshold-value
undo poe utilization-threshold
View
System view
Parameters
utilization-threshold-value: Power alarm threshold in percentage, in the range 1 to 99.
Description
Use the poe utilization-threshold command to configure a power alarm threshold for the PSE.
Use the undo poe utilization-threshold command to restore the default power alarm threshold of the PSE.
By default, the power alarm threshold for the PSE is 80%.
The system sends a Trap message when the percentage of power utilization exceeds the alarm threshold. If the percentage of the power utilization always keeps above the alarm threshold, the system does not send any Trap message. Instead, when the percentage of the power utilization drops below the alarm threshold, the system sends a Trap message again.
Examples
# Set the power alarm threshold of the PSE to 90%.
<Sysname> system-view
[Sysname] poe utilization-threshold 90
1.1.19 poe-profile
Syntax
poe-profile profile-name [ index ]
undo poe-profile { index index | name profile-name }
View
System view
Parameters
profile-name: Name of a PoE configuration file, a string of 1 to 15 characters. A PoE configuration file name begins with a letter (a through z or A through Z) and must not contain reserved keywords such as undo, all, name, interface, user, poe, disable, max-power, mode, priority and enable.
index: Index number of a PoE configuration file, in the range 1 to 100.
Description
Use the poe-profile profile-name command to create a PoE configuration file and enter PoE-profile view.
Use the undo poe-profile command to delete the specified PoE configuration file.
If no index is specified, the system automatically assigns an index to the PoE configuration file, starting from 1.
Note that if a PoE configuration file is already applied to a PoE interface, you cannot delete it. To delete the file, you must first execute the undo apply poe-profile command to remove the application of the PoE configuration file to the PoE interface.
Examples
# Create a PoE configuration file, name it abc, and specify the index number as 3.
<Sysname> system-view
[Sysname] poe-profile abc 3