- Table of Contents
-
- 17-Network Management and Monitoring Command Reference
- 00-Preface
- 01-System maintenance and debugging commands
- 02-NQA commands
- 03-NTP commands
- 04-PoE commands
- 05-SNMP commands
- 06-RMON commands
- 07-Event MIB commands
- 08-NETCONF commands
- 09-SmartMC commands
- 10-CWMP commands
- 11-EAA commands
- 12-Process monitoring and maintenance commands
- 13-Sampler commands
- 14-Mirroring commands
- 15-NetStream commands
- 16-IPv6 NetStream commands
- 17-sFlow commands
- 18-Performance management commands
- 19-Flow log commands
- 20-Information center commands
- 21-Packet capture commands
- 22-Cloud connection commands
- Related Documents
-
Title | Size | Download |
---|---|---|
04-PoE commands | 146.69 KB |
Contents
display poe pse interface (multi-PSE device)
display poe pse interface power (multi-PSE device)
poe disconnect (multi-PSE device)
poe enable pse (multi-PSE device)
poe max-power (interface view)
poe max-power (system view) (multi-PSE device)
poe priority (system view) (multi-PSE device)
poe pse-policy priority (multi-PSE device)
PoE commands
The following matrixes show the support of hardware platforms for PoE:
Hardware |
PoE compatibility |
Remarks |
|
MSR810-10-PoE, MSR3610-I-IG, MSR3610-IE-IG |
Yes |
N/A |
|
Device models installed with one of the following interface modules: · SIC-4FSWP · DSIC-9FSWP · HMIM-24GSWP |
Yes |
For interface module compatibility with devices, see the interface module manual. The following device models support interface module installation: · MSR3620 · MSR3640 · MSR3660 · MSR3620-10-WiNet · MSR3620-WiNet · MSR3660-WiNet |
|
Hardware |
PoE compatibility |
MSR2630-XS |
No |
MSR3600-28-XS |
No |
MSR3610-XS |
No |
MSR3620-XS |
No |
MSR3610-I-XS |
No |
MSR3610-IE-XS |
No |
Hardware |
PoE compatibility |
MSR810-LM-GL |
No |
MSR810-W-LM-GL |
No |
MSR830-6EI-GL |
No |
MSR830-10EI-GL |
No |
MSR830-6HI-GL |
No |
MSR830-10HI-GL |
No |
MSR2600-6-X1-GL |
No |
MSR3600-28-SI-GL |
No |
IMPORTANT: The MSR810-10-PoE, MSR3610-I-IG, and MSR3610-IE-IG routers are single-PSE devices and support only commands available for single-PSE devices. |
apply poe-profile
Use apply poe-profile to apply a PoE profile to a power interface (PI).
Use undo apply poe-profile to restore the default.
Syntax
apply poe-profile { index index | name profile-name }
undo apply poe-profile { index index | name profile-name }
Default
No PoE profile is applied to PIs.
Views
PI view
Predefined user roles
network-admin
Parameters
index index: Specifies a PoE profile by its index number in the range of 1 to 100.
name profile-name: Specifies a PoE profile by its name, a case-sensitive string of 1 to 15 characters.
Examples
# Apply the PoE profile named forIPphone to GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] apply poe-profile name forIPphone
Related commands
apply poe-profile interface
display poe-profile
apply poe-profile interface
Use apply poe-profile interface to apply a PoE profile to PIs.
Use undo apply poe-profile interface to remove the PoE profile application from PIs.
Syntax
apply poe-profile { index index | name profile-name } interface interface-range
undo apply poe-profile { index index | name profile-name } interface interface-range
Default
No PoE profile is applied to a PI.
Views
System view
Predefined user roles
network-admin
Parameters
index index: Specifies a PoE profile by its index number in the range of 1 to 100.
name profile-name: Specifies a PoE profile by its name, a case-sensitive string of 1 to 15 characters.
interface-range: Specifies a range of Ethernet interfaces in the form of 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 must be smaller than the end interface number. If an interface in the specified range does not support PoE, it is ignored when the PoE profile is applied.
Examples
# Apply the PoE profile named forIPphone to GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] apply poe-profile name forIPphone interface gigabitethernet 1/0/1
# Apply the PoE profile with index number 1 to PIs GigabitEthernet 1/0/2 to GigabitEthernet 1/0/6.
<Sysname> system-view
[Sysname] apply poe-profile index 1 interface gigabitethernet 1/0/2 to gigabitethernet 1/0/6
Related commands
apply poe-profile
display poe-profile interface
display poe device
Use display poe device to display general PSE information.
Syntax
In standalone mode:
display poe device
In IRF mode:
display poe device [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays general PSE information about all PSEs in the IRF fabric. (In IRF mode.)
Examples
# Display general PSE information.
<Sysname> display poe device
PSE ID Slot No. SSlot No. PortNum MaxPower(W) State Model
4 10 4 8 200 Off LSBMPOEGV48TP
Table 1 Command output
Field |
Description |
PSE ID |
ID of the PSE. |
Slot No. |
Slot number of the PSE. |
SSlot No. |
Sub-slot number of the PSE. |
PortNum |
Number of PIs on the PSE. |
MaxPower(W) |
Maximum power of the PSE. |
State |
PSE status: · On—The PSE is supplying power. · Off—The PSE is not supplying power. · Faulty—The PSE has failed. |
Model |
PSE model. |
display poe interface
Use display poe interface to display power supplying information for PIs.
Syntax
display poe interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays power supplying information for all PIs.
Examples
# Display power supplying information for GigabitEthernet 1/0/1.
<Sysname> display poe interface gigabitethernet 1/0/1
PoE Status : Enabled
Power Priority : Critical
Oper : On
IEEE Class : 1
Detection Status : Delivering power
Power Mode : Signal
Current Power : 11592 mW
Average Power : 11610 mW
Peak Power : 11684 mW
Max Power : 15400 mW
Electric Current : 244 mA
Voltage : 51.7 V
PD Description : IP Phone For Room 101
Field |
Description |
PoE Status |
PoE status: · Enabled. · Disabled. |
Power Priority |
Power supply priority of the PI: · Critical (highest). · High. · Low. |
Oper |
Operating status: · Off—PoE is disabled. · On—Power is being supplied to the PI correctly. · Power-lack—Remaining guaranteed power is insufficient for a critical PI. · Power-deny—The PSE refuses to supply power. The power required by the PD is higher than the configured power. · Power-itself—The PD is using another power supply. · Power-limit—The PSE is supplying power to the PD based on the configured power though the PD requires more power than the configured power. |
IEEE Class |
PD power class: 0, 1, 2, 3, or 4. If the PSE does not support PD classification, this field displays a hyphen (-). |
Detection Status |
Power detection status: · Disabled—The PoE function is disabled. · Searching—The PI is searching for the PD. · Delivering power—The PI is supplying power to the PD. · Fault—A fault occurred during the test. · Test—The PI is undergoing a test. · Other fault—A fault has caused the PSE to enter the idle status. · PD disconnected—The PD is disconnected. |
Power Mode |
Power transmission mode: · Signal—Power is transmitted over the signal pairs of a twisted pair cable. · Spare—Power is transmitted over the spare pairs of a twisted pair cable. |
Current Power |
Current power, including PD consumption power and transmission loss. |
Average Power |
Average power. |
Peak Power |
Peak power. |
Max Power |
Maximum power. |
Electric Current |
Current. |
Voltage |
Voltage. |
PD Description |
Type and location description for the PD connected to the PI. |
# Display power supplying information for all PIs.
<Sysname> display poe interface
Interface PoE Priority CurPower Oper IEEE Detection
(W) Class Status
GE1/0/1 Enabled Low 4.4 On 1 Delivering Power
GE1/0/2 Enabled Critical 0.0 On - Disabled
GE1/0/3 Enabled Low 0.0 On - Disabled
GE1/0/4 Enabled Critical 0.0 On - Searching
GE1/0/5 Enabled Low 4.0 On 2 Delivering Power
GE1/0/6 Enabled Low 0.0 On - Disabled
GE1/0/7 Disabled Low 0.0 Off - Fault
--- On State Ports: 2; Used: 8.4(W); Remaining: 171.6(W) ---
Table 3 Command output
Field |
Description |
Interface |
Interface name. |
PoE |
PoE status: · Enabled. · Disabled. |
Priority |
Power priority: · Critical (highest). · High. · Low. |
CurPower |
Current power. |
Oper |
Operating status: · Off—PoE is disabled. · On—Power is being supplied to the PI correctly. · Power-lack—Remaining guaranteed power is insufficient for a critical PI. · Power-deny—The PSE refuses to supply power. The power required by the PD is higher than the configured power. · Power-itself—The PD is using another power supply. · Power-limit—The PSE is supplying power to the PD based on the configured power though the PD requires more power than the configured power. |
IEEE Class |
PD power class: 0, 1, 2, 3, or 4. If the PSE does not support PD classification, this field displays a hyphen (-). |
Detection Status |
Power detection status: · Disabled—PoE function is disabled. · Searching—The PI is searching for the PD. · Delivering Power—The PI is supplying power for the PD. · Fault—A fault occurred during the test. · Test—The PI is undergoing a test. · Other fault—A fault has caused the PSE to enter the idle status. · PD disconnected—The PD is disconnected. |
On State Ports |
Number of PIs that are supplying power. |
Used |
Power consumed by the current PI. |
Remaining |
Total remaining power of the system. |
display poe interface power
Use display poe interface power to display power information for PIs.
Syntax
display poe interface power [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays power information for all PIs.
Examples
# Display power information for GigabitEthernet 1/0/1.
<Sysname> display poe interface power gigabitethernet 1/0/1
Interface Current Peak Max PD Description
(W) (W) (W)
GE1/0/1 15.0 15.3 30.0 Access Point on Room 509 for Peter
# Display power information for all PIs.
<Sysname> display poe interface power
Interface Current Peak Max PD Description
(W) (W) (W)
GE1/0/1 4.4 4.5 30.0 IP Phone in Room 309 for Peter Smith
GE1/0/2 4.4 4.5 30.0 IP Phone in Room 409 for Peter Pan
GE1/0/3 15.0 15.3 30.0 Access Point in Room 509 for Peter
GE1/0/4 0.0 0.0 30.0 IP Phone in Room 609 for Peter John
GE1/0/5 0.0 0.0 30.0 IP Phone in Room 709 for Jack
GE1/0/6 0.0 0.0 30.0 IP Phone in Room 809 for Alien
--- On State Ports: 3; Used: 23.8(W); Remaining: 776.2(W) ---
Table 4 Command output
Field |
Description |
Interface |
Interface name. |
CurPower |
Current power. |
PeakPower |
Peak power. |
MaxPower |
Maximum power. |
PD Description |
Type and location description for the PD connected to a PI. |
Ports On |
Number of PIs that are supplying power. |
Used |
Power consumed by all PIs. |
Remaining |
Total remaining power of the system. |
display poe power-usage
Use display poe power-usage to display power usage statistics for PoE power supplies and PSEs.
Syntax
In standalone mode:
display poe power-usage
In IRF mode:
display poe power-usage [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays information about all PSEs in the IRF fabric. (In IRF mode.)
Examples
# Display power usage statistics for the PoE power supply and all PSEs.
<Sysname> display poe power-usage
PoE Current Power : 12 W
PoE Max Power : 2000 W
PoE Max Guaranteed Power : 2000 W
PoE Remaining Allocable Power : 1800 W
PoE Remaining Guaranteed Power : 2000 W
Powered PoE Ports : 1
Statistics by PSE:
PSE ID Max Current Peak Average Remaining Powered
(W) (W) (W) (W) Guaranteed(W) Ports
5 200 12 12 6 200 1
Table 5 Command output
Field |
Description |
PoE Current Power |
Total power that has been consumed by PSEs. |
PoE Max Power |
Maximum PoE power. |
PoE Max Guaranteed Power |
Maximum power that can be supplied to critical PSEs. |
PoE Remaining Allocable Power |
Remaining allocable PoE power = Maximum PoE power – Total maximum power of all PoE-enabled PSEs. |
PoE Remaining Guaranteed Power |
Remaining guaranteed PoE power = Maximum guaranteed PoE power – Total maximum power of all critical PSEs. Typically, the maximum guaranteed PoE power is equal to the maximum PoE power. |
Powered PoE Ports |
Number of PIs that are supplying power. |
PSE ID |
ID of the PSE. |
Max |
Maximum power of the PSE. |
Current |
Current power of the PSE. |
Peak |
Peak power of the PSE. |
Average |
Average power of the PSE. |
Remaining Guaranteed |
Remaining guaranteed power of the PSE = Maximum guaranteed power of the PSE – Total maximum power of all critical PIs of the PSE Typically, the maximum guaranteed PSE power is equal to the maximum PSE power. |
Powered Ports |
Number of PIs that are receiving power from the PSE. |
display poe pse
Use display poe pse to display detailed PSE information.
Syntax
Single-PSE device:
display poe pse
Multi-PSE device:
display poe pse [ pse-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
pse-id: Specifies a PSE by its ID. If you do not specify a PSE, this command displays detailed PSE information about all PSEs.
Examples
# Display detailed PSE information.
<Sysname> display poe pse
PSE ID : 1
Slot NO. : 0
PSE Model : LSBMPOEGV48TP
PSE Status : Enabled
PSE Preempted : No
Power Priority : Low
Current Power : 130 W
Average Power : 20 W
Peak Power : 240 W
Max Power : 200 W
Remaining Guaranteed Power : 120 W
PSE CPLD Version : 100
PSE Software Version : 200
PSE Hardware Version : 100
Legacy PD Detection : Disabled
Power Utilization Threshold : 80
PSE Power Policy : Disabled
PD Power Policy : Disabled
PD Disconnect-Detection Mode : DC
Table 6 Command output
Field |
Description |
PSE ID |
ID of the PSE. |
SSlot No. |
Sublsot number of the PSE. |
PSE Status |
PoE status of the PSE: · Enabled. · Disabled. |
Preempted |
Power preemption status for the PSE: · No—The system has sufficient power for the PSE. · Yes—The system has supplied power to other PSEs and does not have sufficient power for this PSE. |
Power Priority |
Power priority of the PSE. |
Current Power |
Current power of the PSE. |
Average Power |
Average power of the PSE. |
Peak Power |
Peak power of the PSE. |
Max Power |
Maximum power of the PSE. |
Remaining Guaranteed Power |
Remaining guaranteed power of the PSE = Maximum guaranteed power of the PSE – Total maximum power of all critical PIs of the PSE. |
PSE CPLD Version |
PSE CPLD version number. |
PSE Software Version |
PSE software version number. |
PSE Hardware Version |
PSE hardware version number. |
Legacy PD Detection |
Nonstandard PD detection status: · Enabled. · Disabled. |
Power Utilization Threshold |
PSE power alarm threshold. |
PSE Power Policy |
PSE power management policy mode. |
PD Power Policy |
PD power management policy mode. |
PD Disconnect-Detection Mode |
PD disconnection detection mode. |
display poe pse interface (multi-PSE device)
Use display poe pse interface to display the PoE status of all PIs on a PSE.
Syntax
display poe pse pse-id interface
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
pse pse-id: Specifies a PSE ID. To display PSE ID and slot mappings, use the display poe device command.
Examples
# Display the status of all PIs on PSE 4.
<Sysname> display poe pse 4 interface
Interface PoE Priority CurPower Oper IEEE Detection
(W) Class Status
GE1/0/1 Enabled Low 4.4 On 1 Delivering Power
GE1/0/2 Enabled Critical 0.0 Power-lack - Disabled
GE1/0/3 Enabled Low 0.0 Power-deny - Disabled
GE1/0/4 Enabled Critical 0.0 On - Searching
GE1/0/5 Enabled Low 4.0 Power-limit 2 Delivering Power
GE1/0/6 Enabled Low 0.0 Power-itself - Disabled
GE1/0/7 Disabled Low 0.0 Off - Fault
--- On State Ports: 2; Used: 8.4(W); Remaining: 171.6 (W) ---
Table 7 Command output
Field |
Description |
Interface |
Interface name. |
PoE |
PoE status: · Enabled. · Disabled. |
Priority |
Priority: · Critical (highest). · High. · Low. |
CurPower |
Current power. |
Oper |
Operating status: · Off—PoE is disabled. · On—Power is being supplied to the PI correctly. · Power-lack—Remaining guaranteed power is insufficient for a critical PI. · Power-deny—The PSE refuses to supply power. The power required by the PD is higher than the configured power. · Power-itself—The PD is using another power supply. · Power-limit—The PSE is supplying power to the PD based on the configured power though the PD requires more power than the configured power. |
IEEE Class |
PD power class: 0, 1, 2, 3, or 4. If the PSE does not support PD classification, this field displays a hyphen (-). |
Detection Status |
Power detection status: · Disabled—PoE function is disabled. · Searching—The PI is searching for the PD. · Delivering Power—The PI is supplying power to the PD. · Fault—A fault occurred during the test. · Test—The PI is undergoing a test. · Other Fault—A fault has caused the PSE to enter the idle status. · PD Disconnected—The PD is disconnected. |
On State Ports |
Number of PIs that are supplying power. |
Used |
Power consumed by PIs on the PSE. |
Remaining |
Remaining power on the PSE. |
display poe pse interface power (multi-PSE device)
Use display poe pse interface power to display power information for PIs on a PSE.
Syntax
display poe pse pse-id interface power
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
pse pse-id: Specifies a PSE by its ID. To display PSE ID and slot mappings, use the display poe device command.
Examples
# Display power information for PIs on PSE 4.
<Sysname> display poe pse 4 interface power
Interface Current Peak Max PD Description
(W) (W) (W)
GE1/0/25 4.4 4.5 4.6 IP Phone on Room 309 for Peter Smith
GE1/0/26 4.4 4.5 15.4 IP Phone on Room 409 for Peter Pan
GE1/0/27 15.0 15.3 15.4 Access Point on Room 509 for Peter
GE1/0/28 0.0 0.0 5.0 IP Phone on Room 609 for Peter John
GE1/0/29 0.0 0.0 4.0 IP Phone on Room 709 for Jack
GE1/0/30 0.0 0.0 5.0 IP Phone on Room 809 for Alien
--- On State Ports: 3; Used: 23.8(W); Remaining: 776.2(W) ---
Table 8 Command output
Field |
Description |
Interface |
Interface name. |
Current |
Current power. |
Peak |
Peak power. |
Max |
Maximum power. |
PD Description |
Type and location description for the PD connected with a PI. |
Ports On |
Number of PIs that are supplying power. |
Used |
Power consumed by all PIs. |
Remaining |
Remaining power on the PSE. |
display poe-profile
Use display poe-profile to display information about the PoE profile.
Syntax
display poe-profile [ index index | name profile-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
index index: Specifies a PoE profile by its index number in the range of 1 to 100.
name profile-name: Specifies a PoE profile by its name, a case-sensitive string of 1 to 15 characters.
Usage guidelines
If you do not specify a profile, the command displays information about all PoE profiles.
Examples
# Display information about all PoE profiles.
<Sysname> display poe-profile
PoE Profile Index ApplyNum Interfaces Configuration
forIPphone 1 4 GE1/0/1 poe enable
GE1/0/2 poe priority critical
GE1/0/3
GE1/0/4
forAP 2 2 GE1/0/5 poe enable
GE1/0/6 poe max-power 14000
--- Total PoE profiles: 2, total ports: 6 ---
# Display information about the PoE profile with index number 1.
<Sysname> display poe-profile index 1
PoE Profile Index ApplyNum Interfaces Configuration
forIPphone 1 6 GE1/0/1 poe enable
GE1/0/2 poe priority critical
GE1/0/3
GE1/0/4
GE1/0/5
GE1/0/6
--- Total ports: 6 ---
Field |
Description |
PoE Profile |
Name of the PoE profile. |
Index |
Index number of the PoE profile. |
ApplyNum |
Number of PIs to which the PoE profile is applied. |
Interfaces |
Interface name of the PI to which the PoE configuration is applied. |
Configuration |
Configurations of the PoE profile. |
Total PoE profiles |
Number of PoE profiles. |
Total ports |
Number of PIs to which all PoE profiles are applied. |
display poe-profile interface
Use display poe-profile interface to display information about the PoE profile on a PI.
Syntax
display poe-profile interface interface-type interface-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Examples
# Display information about the PoE profile on GigabitEthernet 1/0/1.
<Sysname> display poe-profile interface gigabitethernet 1/0/1
PoEProfile Index ApplyNum Interface Effective configuration
forIPphone 1 6 GE1/0/1 poe enable
poe priority critical
The Effective configuration field displays the configurations that have taken effect. For the descriptions of other fields, see Table 9.
poe disconnect (multi-PSE device)
Use poe disconnect to configure a PD disconnection detection mode.
Use undo poe disconnect to restore the default.
Syntax
poe disconnect { ac | dc }
undo poe disconnect
Default
The PD detection mode is AC mode.
Views
System view
Predefined user roles
network-admin
Parameters
ac: Specifies the PD disconnection detection mode as ac.
dc: Specifies the PD disconnection detection mode as dc.
Usage guidelines
If you change the PD disconnection detection mode while the device is running, the connected PDs are powered off.
Examples
# Set the PD disconnection detection mode to dc.
<Sysname> system-view
[Sysname] poe disconnect dc
Related commands
display poe pse
poe enable
Use poe enable to enable PoE on a PI.
Use undo poe enable to disable PoE on a PI.
Syntax
poe enable
undo poe enable
Default
PoE is disabled on a PI.
Views
PI view
PoE profile view
Predefined user roles
network-admin
Usage guidelines
If a PoE profile has been applied to a PI, remove the application before configuring the PI in PoE profile view.
If a PI has been configured, remove the configuration before configuring the PI in PI view.
Examples
# Enable PoE on a PI in PI view.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] poe enable
# Enable PoE on a PI in PoE profile view.
<Sysname> system-view
[Sysname] poe-profile abc
[Sysname-poe-profile-abc-1] poe enable
Related commands
display poe interface
poe-profile
poe enable pse (multi-PSE device)
Use poe enable pse to enable PoE for a PSE.
Use undo poe enable pse to disable PoE for the PSE.
Syntax
poe enable pse pse-id
undo poe enable pse pse-id
Default
PoE is disabled on PSEs.
Views
System view
Predefined user roles
network-admin
Parameters
pse-id: Specifies a PSE by its ID.
Examples
# Enable PoE for PSE 4.
<Sysname> system-view
[Sysname] poe enable pse 4
Related commands
display poe pse
poe legacy enable
Use poe legacy enable to enable the PSE to detect nonstandard PDs.
Use undo poe legacy enable to disable the PSE from detecting nonstandard PDs.
Syntax
Singe-PSE device:
poe legacy enable
undo poe legacy enable
Multi-PSE device:
poe legacy enable pse pse-id
undo poe legacy enable pse pse-id
Default
Nonstandard PD detection is disabled.
Views
System view
Predefined user roles
network-admin
Parameters
pse pse-id: Specifies a PSE by its ID.
Examples
# (Single-PSE device.) Enable detection of nonstandard PDs.
<Sysname> system-view
[Sysname] poe legacy enable
# (Multi-PSE device.) Enable PSE 4 to detect nonstandard PDs.
<Sysname> system-view
[Sysname] poe legacy enable pse 4
Related commands
display poe pse
poe max-power (interface view)
Use poe max-power to set the maximum PI power.
Use undo poe max-power to restore the default.
Syntax
poe max-power max-power
undo poe max-power
Default
The maximum PI power is 15400 milliwatts.
Views
PI view
PoE profile view
Predefined user roles
network-admin
Parameters
max-power: Sets the maximum PI power in milliwatts.The value range is 1000 to 36000, in increments of 1.
Examples
# Set the maximum PI power to 12000 milliwatts in PI view.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] poe max-power 12000
# Set the maximum PI power to 12000 milliwatts in PoE profile view.
<Sysname> system-view
[Sysname] poe-profile abc
[Sysname-poe-profile-abc-1] poe max-power 12000
Related commands
poe max-power (system view)
poe max-power (system view) (multi-PSE device)
Use poe max-power to set the maximum PSE power.
Use undo poe max-power to restore the default.
Syntax
poe pse pse-id max-power max-power
undo poe pse pse-id max-power
Default
The maximum PSE power is 37 W.
Views
System view
Predefined user roles
network-admin
Parameters
max-power: Sets the maximum PSE power in watts.
pse pse-id: Specifies a PSE by its ID.
Usage guidelines
To avoid the PSE power overload situation, make sure the total power of all PSEs is less than the maximum PoE power.
The maximum power of the PSE must be greater than or equal to the total maximum power of all its critical PIs on the PSE to guarantee these PIs power.
Examples
# Set the maximum PSE power of PSE 4 to 150 watts.
<Sysname> system-view
[Sysname] poe pse 4 max-power 150
Related commands
poe max-power (interface view)
poe priority pse
poe pd-description
Use poe pd-description to configure a description for the PD that connects to a PI.
Use undo poe pd-description to restore the default.
Syntax
poe pd-description text
undo poe pd-description
Default
No description is configured for the PD that connects to a PI.
Views
PI view
Predefined user roles
network-admin
Parameters
text: Configures a description for the PD connected to the PI, a case-sensitive string of 1 to 80 characters.
Examples
# Configure the description for the PD as IP Phone for Room 101.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] poe pd-description IP Phone For Room 101
poe pd-policy priority
Use poe pd-policy priority to enable PI power management.
Use undo poe pd-policy priority to restore the default.
Syntax
poe pd-policy priority
undo poe pd-policy priority
Default
PI power management is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
If PI power management is disabled, the PSE does not supply power to new PDs when PSE power overload occurs.
If PI power management is enabled, when a PSE is overloaded, the PSE allocates power to PDs based on the priority of their PIs.
Examples
# Enable PI power management.
<Sysname> system-view
[Sysname] poe pd-policy priority
Related commands
poe priority
poe priority (interface view)
Use poe priority to set the power supply priority for a PI.
Use undo poe priority to restore the default.
Syntax
poe priority { critical | high | low }
undo poe priority
Default
The power supply priority of a PI is low.
Views
PI view
PoE profile view
Predefined user roles
network-admin
Parameters
critical: Sets the power supply priority to critical. The PI with critical power priority operates in guaranteed mode. Power is first supplied to the PD connected to the critical PI.
high: Sets the power supply priority to high.
low: Sets the power supply priority to low.
Usage guidelines
When the PoE power is insufficient, power is first supplied to PIs with higher priority.
For PIs with same power supply priority, the PI with the smallest ID is allocated with power first.
If a PoE profile has been applied to a PI, remove the application before configuring the PI in PoE profile view.
If a PI has been configured, remove the configuration before configuring the PI in PI view.
Examples
# Set the power supply priority of the PI to critical in PI view.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] poe priority critical
# Set the power supply priority of the PI to critical in PoE profile view.
<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/1
[Sysname-GigabitEthernet1/0/1] apply poe-profile name abc
Related commands
poe pd-policy priority
poe priority (system view) (multi-PSE device)
Use poe priority to set the power supply priority for a PSE.
Use undo poe priority to restore the default.
Syntax
poe priority { critical | high | low } pse pse-id
undo poe priority pse pse-id
Default
The power supply priority of a PSE is low.
Views
System view
Predefined user roles
network-admin
Parameters
critical: Sets the power supply priority to critical. The PSE with critical power priority operates in guaranteed mode, and power is supplied to it first.
high: Sets the power supply priority to high.
low: Sets the power supply priority to low.
pse pse-id: Specifies a PSE by its ID.
Usage guidelines
If PSE power management is disabled, the system does not supply power to new PSEs when PoE power overload occurs.
If PSE power management is enabled, when PSE power overload occurs, the system supplies power to a PSE with higher priority. For multiple PSEs with the same priority, the PSE with a smaller ID gets power supplied first.
For example, if PoE is enabled for a PSE, and the PSE has higher priority, the system performs the following operations:
· Stops supplying power to a PSE with lower priority.
· Supplies power to the PSE that has higher priority.
Examples
# Set the power supply priority of PSE 4 to critical.
<Sysname> system-view
[Sysname] poe priority critical pse 4
Related commands
poe pse-policy priority
poe pse-policy priority (multi-PSE device)
Use poe pse-policy priority to enable PSE power management.
Use undo poe pse-policy priority to disable PSE power management.
Syntax
poe pse-policy priority
undo poe pse-policy priority
Default
PSE power management is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
If PSE power management is disabled, the system does not supply power to new PSEs when PoE power overload occurs.
If PSE power management is enabled, the system supplies power based on the PSE priority and PSE ID when a new PSE causes PoE power overload.
Examples
# Enable PSE power management.
<Sysname> system-view
[Sysname] poe pse-policy priority
Related commands
poe priority (system view)
poe update
Use poe update to upgrade the PSE firmware when the device is operating.
Syntax
Single-PSE device:
poe update { full | refresh } filename
Multi-PSE device:
poe update { full | refresh } filename [ pse pse-id ]
Views
System view
Predefined user roles
network-admin
Parameters
full: Upgrades the PSE firmware in full mode.
refresh: Upgrades the PSE firmware in refresh mode.
filename: Specifies the name of the upgrade file, a case-insensitive string of 1 to 64 characters. The specified file must be in the root directory of the file system of the device.
pse pse-id: Specifies a PSE by its ID. If you do not specify a PSE, all PSEs are upgraded.
Usage guidelines
You can upgrade the PSE firmware in service in either of the following modes:
· Refresh mode—Updates the PSE firmware without deleting it. You can use the refresh mode in most cases.
· Full mode—Deletes the current PSE firmware and reloads a new one. Use the full mode if the PSE firmware is damaged and you cannot execute any PoE commands.
Examples
# (Single-PSE device.) Upgrade the firmware of the PSE when the device is operating.
<Sysname> system-view
[Sysname] poe update refresh POE-168.bin
# (Multi-PSE device.) Upgrade the firmware of PSE 4 when the device is operating.
<Sysname> system-view
[Sysname] poe update refresh POE-168.bin pse 4
poe utilization-threshold
Use poe utilization-threshold to configure a power alarm threshold for the PSE.
Use undo poe utilization-threshold to restore the default power alarm threshold of the PSE.
Syntax
Single-PSE device:
poe utilization-threshold value
undo poe utilization-threshold
Multi-PSE device:
poe utilization-threshold value pse pse-id
undo poe utilization-threshold pse pse-id
Default
The power alarm threshold for the PSE is 80%.
Views
System view
Predefined user roles
network-admin
Parameters
value: Specifies alarm threshold as a percentage of 1 to 99.
pse pse-id: Specifies a PSE by its ID.
Usage guidelines
If PSE power usage crosses the threshold multiple times in succession, the system sends notification messages only for the first crossing. For more information, see "Configuring SNMP."
Examples
# Set the power alarm threshold of PSE 4 to 90%.
<Sysname> system-view
[Sysname] poe utilization-threshold 90 pse 4
poe-profile
Use poe-profile to create a PoE profile and enter its view, or enter the view of an existing PoE profile.
Use undo poe-profile to delete a PoE profile.
Syntax
poe-profile profile-name [ index ]
undo poe-profile { index index | name profile-name }
Default
No PoE profiles exist.
Views
System view
Predefined user roles
network-admin
Parameters
profile-name: Specifies a PoE profile name, a case-sensitive string of 1 to 15 characters. A PoE configuration file name begins with a letter and must not contain reserved keywords including undo, all, name, interface, user, poe, disable, max-power, mode, priority, or enable.
index: Specifies the index number of a PoE profile, in the range of 1 to 100.
Usage guidelines
To configure PIs in batches, use the PoE profile.
If you do not specify a profile index, the system automatically assigns an index (starting from 1) to the PoE profile.
If a PoE profile is applied, use the undo apply poe-profile command to remove the application before deleting the PoE profile.
Examples
# Create a PoE profile, name it abc, and specify the index number as 3.
<Sysname> system-view
[Sysname] poe-profile abc 3
[Sysname-poe-profile-abc-3]
# Create a PoE profile and name it def. Do not specify the index number.
<Sysname> system-view
[Sysname] poe-profile def
[Sysname-poe-profile-def-1]
Related commands
apply poe-profile
poe enable
poe max-power (interface view)
poe priority