- Table of Contents
-
- 10-Network Management and Monitoring Command Reference
- 00-Preface
- 01-System maintenance and debugging commands
- 02-NTP commands
- 03-Information center commands
- 04-SNMP commands
- 05-RMON commands
- 06-NQA commands
- 07-Mirroring commands
- 08-sFlow commands
- 09-Process monitoring and maintenance commands
- 10-EAA commands
- 11-CWMP commands
- 12-PoE commands
- 13-Packet capture commands
- 14-NETCONF commands
- Related Documents
-
Title | Size | Download |
---|---|---|
12-PoE commands | 118.13 KB |
PoE commands
apply poe-profile
Use apply poe-profile to apply a PoE profile to a power interface (PI).
Use undo apply poe-profile to remove application of a PoE profile from a PI.
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] 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 application of a PoE profile 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] 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/8.
[Sysname] apply poe-profile index 1 interface gigabitethernet 1/0/2 to gigabitethernet 1/0/8
Related commands
· apply poe-profile
· display poe-profile interface
display poe device
Use display poe device to display brief PSE information, including the ID, slot number, and status of PSEs.
Syntax
display poe device [ slot slot-number ]
Views
Any view
Predefined user roles
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.
Examples
# Display PSE information.
Slot 1:
PSE ID Slot No. SSlot No. PortNum MaxPower(W) State Model
4 1 0 48 370.0 On LSP7POEB
Table 1 Command output
Field |
Description |
Slot |
ID of the member device. |
ID of the PSE. |
|
Slot number of the PSE. |
|
Sub-slot number of the PSE. |
|
Number of PIs on the PSE. |
|
Maximum power of the PSE. |
|
PSE status: · On—The PSE is supplying power. · Off—The PSE is not supplying power. · Faulty—The PSE has failed. |
|
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.
Usage guidelines
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 : Low
Oper : Off
IEEE Class : 0
Detection Status : Searching
Power Mode : Signal
Current Power : 0 mW
Average Power : 0 mW
Peak Power : 0 mW
Max Power : 30000 mW
Electric Current : 0 mA
Voltage : 0.0 V
PD Description
Field |
Description |
PoE status: · Enabled. · Disabled. |
|
Power supply priority of the PI: · Critical (highest). · High. · Low. |
|
Operating status of a PI: · 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. |
|
PD power class: 0, 1, 2, 3, or 4. If the PSE does not support PD classification, this field displays a hyphen (-). |
|
Power detection status of a PI: · 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 transmission mode of a PI. The switch transmits power over signal cables. |
|
Current power of a PI, including PD consumption power and transmission loss. Typical transmission loss is within 1 watt. |
|
Average power of a PI. |
|
Peak power of a PI. |
|
Maximum power of a PI. |
|
Current of a PI. |
|
Voltage of a PI. |
|
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 0.0 Off 0 Searching
GE1/0/2 Disabled Low 0.0 Off 0 Disabled
GE1/0/3 Disabled Low 0.0 Off 0 Disabled
GE1/0/4 Disabled Low 0.0 Off 0 Disabled
GE1/0/5 Disabled Low 0.0 Off 0 Disabled
GE1/0/6 Disabled Low 0.0 Off 0 Disabled
GE1/0/7 Disabled Low 0.0 Off 0 Disabled
GE1/0/8 Disabled Low 0.0 Off 0 Disabled
GE1/0/9 Disabled Low 0.0 Off 0 Disabled
GE1/0/10 Disabled Low 0.0 Off 0 Disabled
GE1/0/11 Disabled Low 0.0 Off 0 Disabled
GE1/0/12 Disabled Low 0.0 Off 0 Disabled
GE1/0/13 Disabled Low 0.0 Off 0 Disabled
GE1/0/14 Disabled Low 0.0 Off 0 Disabled
GE1/0/15 Disabled Low 0.0 Off 0 Disabled
GE1/0/16 Disabled Low 0.0 Off 0 Disabled
GE1/0/17 Disabled Low 0.0 Off 0 Disabled
GE1/0/18 Disabled Low 0.0 Off 0 Disabled
GE1/0/19 Disabled Low 0.0 Off 0 Disabled
GE1/0/20 Disabled Low 0.0 Off 0 Disabled
GE1/0/21 Disabled Low 0.0 Off 0 Disabled
GE1/0/22 Disabled Low 0.0 Off 0 Disabled
GE1/0/23 Disabled Low 0.0 Off 0 Disabled
GE1/0/24 Disabled Low 0.0 Off 0 Disabled
GE1/0/25 Disabled Low 0.0 Off 0 Disabled
GE1/0/26 Disabled Low 0.0 Off 0 Disabled
GE1/0/27 Disabled Low 0.0 Off 0 Disabled
GE1/0/28 Disabled Low 0.0 Off 0 Disabled
GE1/0/29 Disabled Low 0.0 Off 0 Disabled
GE1/0/30 Disabled Low 0.0 Off 0 Disabled
GE1/0/31 Disabled Low 0.0 Off 0 Disabled
GE1/0/32 Disabled Low 0.0 Off 0 Disabled
GE1/0/33 Disabled Low 0.0 Off 0 Disabled
GE1/0/34 Disabled Low 0.0 Off 0 Disabled
GE1/0/35 Disabled Low 0.0 Off 0 Disabled
GE1/0/36 Disabled Low 0.0 Off 0 Disabled
GE1/0/37 Disabled Low 0.0 Off 0 Disabled
GE1/0/38 Disabled Low 0.0 Off 0 Disabled
GE1/0/39 Disabled Low 0.0 Off 0 Disabled
GE1/0/40 Disabled Low 0.0 Off 0 Disabled
GE1/0/41 Disabled Low 0.0 Off 0 Disabled
GE1/0/42 Disabled Low 0.0 Off 0 Disabled
GE1/0/43 Disabled Low 0.0 Off 0 Disabled
GE1/0/44 Disabled Low 0.0 Off 0 Disabled
GE1/0/45 Disabled Low 0.0 Off 0 Disabled
GE1/0/46 Disabled Low 0.0 Off 0 Disabled
GE1/0/47 Disabled Low 0.0 Off 0 Disabled
GE1/0/48 Disabled Low 0.0 Off 0 Disabled
--- On State Ports: 0; Used: 0.0(W); Remaining: 500.0(W) ---
Table 3 Command output
Field |
Description |
Interface name of a PI. |
|
PoE status: · Enabled. · Disabled. |
|
Power priority of a PI: · Critical (highest). · High. · Low. |
|
Current power of a PI. |
|
Operating status of a PI: · 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. |
|
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 of a PI: · 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. |
Number of PIs that are supplying power. |
|
Power consumed by the current PI. |
|
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
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
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 0.0 0.0 30.0
# Display power information for all PIs.
<Sysname> display poe interface power
Interface Current Peak Max PD Description
(W) (W) (W)
GE1/0/1 0.0 0.0 30.0
GE1/0/2 0.0 0.0 30.0
GE1/0/3 0.0 0.0 30.0
GE1/0/4 0.0 0.0 30.0
GE1/0/5 0.0 0.0 30.0
GE1/0/6 0.0 0.0 30.0
GE1/0/7 0.0 0.0 30.0
GE1/0/8 0.0 0.0 30.0
GE1/0/9 0.0 0.0 30.0
GE1/0/10 0.0 0.0 30.0
GE1/0/11 0.0 0.0 30.0
GE1/0/12 0.0 0.0 30.0
GE1/0/13 0.0 0.0 30.0
GE1/0/14 0.0 0.0 30.0
GE1/0/15 0.0 0.0 30.0
GE1/0/16 0.0 0.0 30.0
GE1/0/17 0.0 0.0 30.0
GE1/0/18 0.0 0.0 30.0
GE1/0/19 0.0 0.0 30.0
GE1/0/20 0.0 0.0 30.0
GE1/0/21 0.0 0.0 30.0
GE1/0/22 0.0 0.0 30.0
GE1/0/23 0.0 0.0 30.0
GE1/0/24 0.0 0.0 30.0
GE1/0/25 0.0 0.0 30.0
GE1/0/26 0.0 0.0 30.0
GE1/0/27 0.0 0.0 30.0
GE1/0/28 0.0 0.0 30.0
GE1/0/29 0.0 0.0 30.0
GE1/0/30 0.0 0.0 30.0
GE1/0/31 0.0 0.0 30.0
GE1/0/32 0.0 0.0 30.0
GE1/0/33 0.0 0.0 30.0
GE1/0/34 0.0 0.0 30.0
GE1/0/35 0.0 0.0 30.0
GE1/0/36 0.0 0.0 30.0
GE1/0/37 0.0 0.0 30.0
GE1/0/38 0.0 0.0 30.0
GE1/0/39 0.0 0.0 30.0
GE1/0/40 0.0 0.0 30.0
GE1/0/41 0.0 0.0 30.0
GE1/0/42 0.0 0.0 30.0
GE1/0/43 0.0 0.0 30.0
GE1/0/44 0.0 0.0 30.0
GE1/0/45 0.0 0.0 30.0
GE1/0/46 0.0 0.0 30.0
GE1/0/47 0.0 0.0 30.0
GE1/0/48 0.0 0.0 30.0
--- On State Ports: 0; Used: 0.0(W); Remaining: 500.0(W) ---
Table 4 Command output
Field |
Description |
Interface name of a PI. |
|
Current power of a PI. |
|
Peak power of a PI. |
|
Maximum power of a PI. |
|
Type and location description for the PD connected to a PI. |
|
Number of PIs that are supplying power. |
|
Power consumed by all PIs. |
|
Total remaining power of the system. |
display poe pse
Use display poe pse to display PSE information.
Syntax
display poe pse [ pse-id ]
Views
Any view
Predefined user roles
Parameters
pse-id: Specifies a PSE by its ID.
Usage guidelines
If you do not specify a PSE, this command displays information about all PSEs.
Examples
# Display detailed information about PSE 7.
PSE ID : 7
Slot No. : 1
SSlot No. : 0
PSE Model : LSP7POEB
PSE Status : Enabled
Power Priority : Low
Current Power : 0.0 W
Average Power : 0.0 W
Peak Power : 0.0 W
Max Power : 500.0 W
Remaining Guaranteed Power : 500.0 W
PSE CPLD Version : -
PSE Software Version : 130
PSE Hardware Version : 57633
Legacy PD Detection : Disabled
Power Utilization Threshold : 80
PD Power Policy : Disabled
PD Disconnect-Detection Mode : AC
Table 5 Command output
Field |
Description |
PSE ID |
ID of the PSE. |
Slot number of the PSE. |
|
SSlot No. |
Subslot number of the PSE. |
PoE status of the PSE: · Enabled. · Disabled. |
|
Power priority of the PSE. |
|
Current power of the PSE. |
|
Average power of the PSE. |
|
Peak power of the PSE. |
|
Maximum power of the PSE. |
|
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 number. |
|
PSE software version number. |
|
PSE hardware version number. |
|
Nonstandard PD detection status: · Enabled. · Disabled. |
|
PSE power alarm threshold. |
|
PD power management policy mode. |
|
PD disconnection detection mode. |
display poe pse interface
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
Parameters
pse pse-id: Specifies a PSE ID.
Usage guidelines
To display PSE ID and slot mappings, use the display poe device command.
Examples
# Display the status of all PIs on PSE 7.
<Sysname> display poe pse 7 interface
Interface PoE Priority CurPower Oper IEEE Detection
(W) Class Status
GE1/0/1 Enabled Low 0.0 Off 0 Searching
GE1/0/2 Disabled Low 0.0 Off 0 Disabled
GE1/0/3 Disabled Low 0.0 Off 0 Disabled
GE1/0/4 Disabled Low 0.0 Off 0 Disabled
GE1/0/5 Disabled Low 0.0 Off 0 Disabled
GE1/0/6 Disabled Low 0.0 Off 0 Disabled
GE1/0/7 Disabled Low 0.0 Off 0 Disabled
GE1/0/8 Disabled Low 0.0 Off 0 Disabled
GE1/0/9 Disabled Low 0.0 Off 0 Disabled
GE1/0/10 Disabled Low 0.0 Off 0 Disabled
GE1/0/11 Disabled Low 0.0 Off 0 Disabled
GE1/0/12 Disabled Low 0.0 Off 0 Disabled
GE1/0/13 Disabled Low 0.0 Off 0 Disabled
GE1/0/14 Disabled Low 0.0 Off 0 Disabled
GE1/0/15 Disabled Low 0.0 Off 0 Disabled
GE1/0/16 Disabled Low 0.0 Off 0 Disabled
GE1/0/17 Disabled Low 0.0 Off 0 Disabled
GE1/0/18 Disabled Low 0.0 Off 0 Disabled
GE1/0/19 Disabled Low 0.0 Off 0 Disabled
GE1/0/20 Disabled Low 0.0 Off 0 Disabled
GE1/0/21 Disabled Low 0.0 Off 0 Disabled
GE1/0/22 Disabled Low 0.0 Off 0 Disabled
GE1/0/23 Disabled Low 0.0 Off 0 Disabled
GE1/0/24 Disabled Low 0.0 Off 0 Disabled
GE1/0/25 Disabled Low 0.0 Off 0 Disabled
GE1/0/26 Disabled Low 0.0 Off 0 Disabled
GE1/0/27 Disabled Low 0.0 Off 0 Disabled
GE1/0/28 Disabled Low 0.0 Off 0 Disabled
GE1/0/29 Disabled Low 0.0 Off 0 Disabled
GE1/0/30 Disabled Low 0.0 Off 0 Disabled
GE1/0/31 Disabled Low 0.0 Off 0 Disabled
GE1/0/32 Disabled Low 0.0 Off 0 Disabled
GE1/0/33 Disabled Low 0.0 Off 0 Disabled
GE1/0/34 Disabled Low 0.0 Off 0 Disabled
GE1/0/35 Disabled Low 0.0 Off 0 Disabled
GE1/0/36 Disabled Low 0.0 Off 0 Disabled
GE1/0/37 Disabled Low 0.0 Off 0 Disabled
GE1/0/38 Disabled Low 0.0 Off 0 Disabled
GE1/0/39 Disabled Low 0.0 Off 0 Disabled
GE1/0/40 Disabled Low 0.0 Off 0 Disabled
GE1/0/41 Disabled Low 0.0 Off 0 Disabled
GE1/0/42 Disabled Low 0.0 Off 0 Disabled
GE1/0/43 Disabled Low 0.0 Off 0 Disabled
GE1/0/44 Disabled Low 0.0 Off 0 Disabled
GE1/0/45 Disabled Low 0.0 Off 0 Disabled
GE1/0/46 Disabled Low 0.0 Off 0 Disabled
GE1/0/47 Disabled Low 0.0 Off 0 Disabled
GE1/0/48 Disabled Low 0.0 Off 0 Disabled
--- On State Ports: 0; Used: 0.0(W); Remaining: 500.0(W) ---
Table 6 Command output
Field |
Description |
Interface |
Interface name of a PI. |
PoE |
PoE status of a PI: · Enabled. · Disabled. |
Priority |
Priority of a PI: · Critical (highest). · High. · Low. |
CurPower |
Current power of a PI. |
Operating status of a PI: · 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. |
|
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 of a PI: · 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. |
Number of PIs that are supplying power. |
|
Power consumed by PIs on the PSE. |
|
Remaining power on the PSE. |
display poe pse interface power
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
Parameters
pse pse-id: Specifies a PSE by its ID.
Usage guidelines
To display PSE ID and slot mappings, use the display poe device command.
Examples
# Display power information for PIs on PSE 7.
<Sysname> display poe pse 7 interface power
Interface Current Peak Max PD Description
(W) (W) (W)
GE1/0/1 0.0 0.0 30.0
GE1/0/2 0.0 0.0 30.0
GE1/0/3 0.0 0.0 30.0
GE1/0/4 0.0 0.0 30.0
GE1/0/5 0.0 0.0 30.0
GE1/0/6 0.0 0.0 30.0
GE1/0/7 0.0 0.0 30.0
GE1/0/8 0.0 0.0 30.0
GE1/0/9 0.0 0.0 30.0
GE1/0/10 0.0 0.0 30.0
GE1/0/11 0.0 0.0 30.0
GE1/0/12 0.0 0.0 30.0
GE1/0/13 0.0 0.0 30.0
GE1/0/14 0.0 0.0 30.0
GE1/0/15 0.0 0.0 30.0
GE1/0/16 0.0 0.0 30.0
GE1/0/17 0.0 0.0 30.0
GE1/0/18 0.0 0.0 30.0
GE1/0/19 0.0 0.0 30.0
GE1/0/20 0.0 0.0 30.0
GE1/0/21 0.0 0.0 30.0
GE1/0/22 0.0 0.0 30.0
GE1/0/23 0.0 0.0 30.0
GE1/0/24 0.0 0.0 30.0
GE1/0/25 0.0 0.0 30.0
GE1/0/26 0.0 0.0 30.0
GE1/0/27 0.0 0.0 30.0
GE1/0/28 0.0 0.0 30.0
GE1/0/29 0.0 0.0 30.0
GE1/0/30 0.0 0.0 30.0
GE1/0/31 0.0 0.0 30.0
GE1/0/32 0.0 0.0 30.0
GE1/0/33 0.0 0.0 30.0
GE1/0/34 0.0 0.0 30.0
GE1/0/35 0.0 0.0 30.0
GE1/0/36 0.0 0.0 30.0
GE1/0/37 0.0 0.0 30.0
GE1/0/38 0.0 0.0 30.0
GE1/0/39 0.0 0.0 30.0
GE1/0/40 0.0 0.0 30.0
GE1/0/41 0.0 0.0 30.0
GE1/0/42 0.0 0.0 30.0
GE1/0/43 0.0 0.0 30.0
GE1/0/44 0.0 0.0 30.0
GE1/0/45 0.0 0.0 30.0
GE1/0/46 0.0 0.0 30.0
GE1/0/47 0.0 0.0 30.0
GE1/0/48 0.0 0.0 30.0
--- On State Ports: 0; Used: 0.0(W); Remaining: 500.0(W) ---
Table 7 Command output
Field |
Description |
Interface name of a PI. |
|
Current power of a PI. |
|
Peak power of a PI. |
|
Maximum power of a PI. |
|
Type and location description for the PD connected with a PI. |
|
Number of PIs that are supplying power. |
|
Power consumed by all PIs. |
|
Remaining power on the PSE. |
display poe-profile
Use display poe-profile to display PoE profile information .
Syntax
display poe-profile [ index index | name profile-name ]
Views
Any view
Predefined user roles
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.
PoE Profile Index ApplyNum Interfaces Configuration
forIPphone 1 6 GE1/0/5 poe enable
GE1/0/6 poe priority critical
GE1/0/7
GE1/0/8
GE1/0/9
GE1/0/10
forAP 2 2 GE1/0/11 poe enable
GE1/0/12 poe max-power 14000
--- Total PoE profiles: 3, total ports: 0 ---
# 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/5 poe enable
GE1/0/6 poe priority critical
GE1/0/7
GE1/0/8
GE1/0/9
GE1/0/1
--- Total ports: 0 ---
Field |
Description |
Name of the PoE profile. |
|
Index number of the PoE profile. |
|
Number of PIs to which the PoE profile is applied. |
|
Interface name of the PI to which the PoE configuration is applied. |
|
Configurations of the PoE profile. |
|
Number of PoE profiles. |
|
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
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 8.
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
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] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] poe enable
# Enable PoE on a PI in PoE profile view.
[Sysname] poe-profile abc
[Sysname-poe-profile-abc-1] poe enable
Related commands
· display poe interface
· poe-profile
poe enable pse
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
Parameters
pse-id: Specifies a PSE by its ID.
Examples
# Enable PoE for PSE 7.
[Sysname] poe enable pse 7
Related commands
poe legacy enable
Use poe legacy enable to enable a PSE to detect nonstandard PDs.
Use undo poe legacy enable to disable the PSE from detecting nonstandard PDs.
Syntax
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
Parameters
pse pse-id: Specifies a PSE by its ID.
Examples
# Enable PSE 7 to detect nonstandard PDs.
[Sysname] poe legacy enable pse 7
Related commands
poe max-power
Use poe max-power to configure the maximum power for a PI.
Use undo poe max-power to restore the default.
Syntax
poe max-power max-power
undo poe max-power
Default
The maximum power of a PI is 30000 milliwatts.
Views
PI view
PoE profile view
Predefined user roles
Parameters
max-power: Sets the maximum power in the range of 1000 milliwatts to 30000 milliwatts.
Examples
# Set the maximum power of a PI to 12000 milliwatts in PI view.
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] poe max-power 12000
# Set the maximum power of a PI to 12000 milliwatts in PoE profile view.
[Sysname] poe-profile abc
[Sysname-poe-profile-abc-1] poe max-power 12000
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 available for the PD that connects to a PI.
Views
PI view
Predefined user roles
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] 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
Usage guidelines
If PI power management is enabled, when a PSE is overloaded, the PSE allocates power to new PDs based on the priority of their PIs. Otherwise, the PSE does not supply power to new PDs.
Examples
# Enable PI power management.
[Sysname] poe pd-policy priority
Related commands
poe priority
Use poe priority to configure a 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 priority of a PI is low.
Views
PI view
PoE profile view
Predefined user roles
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] 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] 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 update
Use poe update to upgrade a PSE firmware when the device is operating.
Syntax
poe update { full | refresh } filename [ pse pse-id ]
Views
System view
Predefined user roles
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-sensitive 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, PSEs of all member devices of the IRF fabric are upgraded.
Usage guidelines
Typically, you can upgrade the firmware in refresh mode. Upgrade the firmware in full mode only in the following cases:
· You fail to upgrade the software in refresh mode.
· The current firmware is unavailable, and execution of all PoE commands fail.
Examples
# Upgrade the firmware of PSE 7 in service.
[Sysname] poe update refres poeupdate.bin pse 7
poe-profile
Use poe-profile to create a PoE profile and enter PoE profile view.
Use undo poe-profile to delete the specified PoE profile.
Syntax
poe-profile profile-name [ index ]
undo poe-profile { index index | name profile-name }
Default
No PoE profile is created.
Views
System view
Predefined user roles
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
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] poe-profile abc 3
[Sysname-poe-profile-abc-3]
# Create a PoE profile and name it def. Do not specify the index number.
[Sysname] poe-profile def
[Sysname-poe-profile-def-1]
Related commands
poe utilization-threshold
Use poe utilization-threshold to configure a power alarm threshold for a PSE.
Use undo poe utilization-threshold to restore the default power alarm threshold of a PSE.
Syntax
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
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 utilization 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 7 to 90%.
[Sysname] poe utilization-threshold 90 pse 7