- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-PoE Commands | 162.21 KB |
The term "switch" or "device" in this chapter refers to the switching engine on a WX3000E wireless switch.
The WX3000E series comprises WX3024E and WX3010E wireless switches.
The port numbers in this chapter are for illustration only.
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
Default level
2: System level
Parameters
index index: Index number of the PoE configuration file, which ranges from 1 to 100.
name profile-name: Name of the PoE configuration file, which is 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.
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 and apply poe-profile interface.
Examples
# Apply the PoE configuration file named forIPphone to PoE interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] apply poe-profile name forIPphone
[Sysname-GigabitEthernet1/0/1] display this
#
interface GigabitEthernet1/0/1
apply poe-profile index 1
#
return
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
Default level
2: System level
Parameters
index index: Index number of the PoE configuration file, which ranges from 1 to 100.
name profile-name: Name of the PoE configuration file, which is 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 and apply poe-profile.
Examples
# Apply the PoE configuration file named forIPphone to PoE interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] apply poe-profile name forIPphone interface gigabitethernet 1/0/1
# Apply the PoE configuration file with index number 1 to PoE interfaces GigabitEthernet 1/0/2 through GigabitEthernet 1/0/8.
<Sysname> system-view
[Sysname] apply poe-profile index 1 interface gigabitethernet 1/0/2 to gigabitethernet 1/0/8
display poe device
Syntax
display poe device [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display poe device command to display information about power sourcing equipments (PSEs).
Examples
# Display the PSE information. (The output varies with devices.)
<Sysname> display poe device
PSE ID SlotNo SubSNo PortNum MaxPower(W) State Model
4 1 0 24 170 on LSW124POED
Table 1 Output description
Field |
Description |
PSE ID |
ID of the PSE. This field takes a value of 1 |
SlotNo |
Slot number of the PSE. This field takes a value of 1 |
SubSNo |
Sub-slot number of the PSE. This field takes a value of 0 |
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 |
display poe interface
Syntax
display poe interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
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/1.
<Sysname> display poe interface gigabitethernet 1/0/1
Port Power Enabled : disabled
Port Power Priority : low
Port Operating Status : power-deny
Port IEEE Class : 0
Port Detection Status : disabled
Port Power Mode : signal
Port Current Power : 0 mW
Port Average Power : 0 mW
Port Peak Power : 0 mW
Port Max Power : 25000 mW
Port Current : 0 mA
Port Voltage : 0.0 V
Port PD Description : IP Phone For Room 101
Field |
Description |
Port Power Enabled |
PoE state—enabled/disabled |
Port Power Priority |
Power priority of the PoE interface: · critical (highest) · high · low |
Port Operating Status |
Operating state of a PoE interface: · off—PoE is disabled. · on: Power is supplied for a PoE interface normally. · power-lack—the guaranteed remaining power of the PSE is not high enough to supply power for a critical PoE interface. · power-deny—the PSE refuses to supply power. The power required by the powered device (PD) is higher than the configured power. · 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, and - - indicates not supported. |
Port Detection Status |
Power detection state of a PoE interface: · disabled—the PoE function is disabled. · searching: The PoE interface is searching for the PD. · delivering-power—the PoE interface is supplying power for the PD. · fault—there is a fault defined in 802.3af. · test: The PoE interface is under test. · other-fault—there is a fault other than defined in 802.3af. · pd-disconnect—the PD is disconnected. |
Port Power Mode |
Power mode of a PoE interface is signal |
Port Current Power |
Current power of a PoE interface, including PD consumption power and transmission loss |
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 Status Priority CurPower Operating IEEE Detection
(W) Status Class Status
GE1/0/1 disabled low 0.0 power-deny 0 disabled
GE1/0/2 disabled low 0.0 power-deny 0 disabled
GE1/0/3 disabled low 0.0 power-deny 0 disabled
GE1/0/4 disabled low 0.0 power-deny 0 disabled
GE1/0/5 disabled low 0.0 power-deny 0 disabled
GE1/0/6 disabled low 0.0 power-deny 0 disabled
GE1/0/7 disabled low 0.0 power-deny 0 disabled
GE1/0/8 disabled low 0.0 power-deny 0 disabled
GE1/0/9 disabled low 0.0 power-deny 0 disabled
GE1/0/10 disabled low 0.0 power-deny 0 disabled
GE1/0/11 disabled low 0.0 power-deny 0 disabled
GE1/0/12 disabled low 0.0 power-deny 0 disabled
GE1/0/13 disabled low 0.0 power-deny 0 disabled
GE1/0/14 disabled low 0.0 power-deny 0 disabled
GE1/0/15 disabled low 0.0 power-deny 0 disabled
GE1/0/16 disabled low 0.0 power-deny 0 disabled
GE1/0/17 disabled low 0.0 power-deny 0 disabled
GE1/0/18 disabled low 0.0 power-deny 0 disabled
GE1/0/19 disabled low 0.0 power-deny 0 disabled
GE1/0/20 disabled low 0.0 power-deny 0 disabled
GE1/0/21 disabled low 0.0 power-deny 0 disabled
GE1/0/22 disabled low 0.0 power-deny 0 disabled
GE1/0/23 disabled low 0.0 power-deny 0 disabled
GE1/0/24 disabled low 0.0 power-deny 0 disabled
--- 0 port(s) on, 0.0 (W) consumed, 170.0 (W) remaining ---
Table 3 Output description
Field |
Description |
Interface |
Shortened form of a PoE interface |
Enable |
PoE state—enabled/disabled |
Priority |
Power priority of a PoE interface: · critical (highest) · high · low |
CurPower |
Current power of a PoE interface |
Operating Status |
Operating state of a PoE interface · off—PoE is disabled. · on—power is supplied for a PoE interface normally. · power-lack—the guaranteed remaining power of the PSE is not high enough to supply power for a critical PoE interface. · power-deny—the PSE refuses to supply power. The power required by the powered device (PD) is higher than the configured power. · 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: · disabled—the PoE function is disabled. · searching—the PoE interface is searching for the PD. · delivering-power—the PoE interface is supplying power for the PD. · fault—there is a fault defined in 802.3af. · test—the PoE interface is under test. · 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 |
display poe interface power
Syntax
display poe interface power [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
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 is displayed.
Examples
# Display the power information of GigabitEthernet 1/0/1.
<Sysname> display poe interface power gigabitethernet 1/0/1
Interface CurPower PeakPower MaxPower PD Description
(W) (W) (W)
GE1/0/1 0.0 0.0 30.0 Acess Point on Room 509 for Peter
# Display the power information of all PoE interfaces.
Interface CurPower PeakPower MaxPower 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
--- 0 port(s) on, 0.0 (W) consumed, 170.0 (W) remaining ---
Table 4 Output description
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 |
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 |
display poe pse
Syntax
display poe pse [ pse-id ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
pse-id: PSE ID. To view the mapping between PSE ID and slot, use the display poe device command. If you do not specify this parameter, the information of all PSEs on the device is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display poe pse command to display the information of PSE(s).
Examples
# Display the information of the PSE 1
<Sysname> display poe pse 1
PSE ID : 1
PSE Slot No : 1
PSE SubSlot No : 0
PSE Model : EWPX124POEPA
PSE Power Enabled : enabled
PSE Power Priority : -
PSE Current Power : 0 W
PSE Average Power : 0 W
PSE Peak Power : 0 W
PSE Max Power : 740 W
PSE Remaining Guaranteed : 740 W
PSE CPLD Version : -
PSE Software Version : 0
PSE Hardware Version : 0
PSE Legacy Detection : disabled
PSE Utilization-threshold : 80
Table 5 Output description
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: no—the power of the PSE is not preempted. 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 = Guaranteed 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: enabled or disabled |
PSE Utilization-threshold |
PSE power alarm threshold |
display poe pse interface
Syntax
display poe pse pse-id interface [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
pse pse-id: Specifies a PSE ID. To view the mapping between PSE ID and slot, use the display poe device command.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display poe pse interface command to display the state of all PoE interfaces connected to the specified PSE.
Examples
# Display the state of all PoE interfaces connected to PSE 7.
<Sysname> display poe pse 7 interface
Interface Status Priority CurPower Operating IEEE Detection
(W) Status Class Status
GE1/0/1 disabled low 0.0 power-deny 0 disabled
GE1/0/2 disabled low 0.0 power-deny 0 disabled
GE1/0/3 disabled low 0.0 power-deny 0 disabled
GE1/0/4 disabled low 0.0 power-deny 0 disabled
GE1/0/5 disabled low 0.0 power-deny 0 disabled
GE1/0/6 disabled low 0.0 power-deny 0 disabled
GE1/0/7 disabled low 0.0 power-deny 0 disabled
GE1/0/8 disabled low 0.0 power-deny 0 disabled
GE1/0/9 disabled low 0.0 power-deny 0 disabled
GE1/0/10 disabled low 0.0 power-deny 0 disabled
GE1/0/11 disabled low 0.0 power-deny 0 disabled
GE1/0/12 disabled low 0.0 power-deny 0 disabled
GE1/0/13 disabled low 0.0 power-deny 0 disabled
GE1/0/14 disabled low 0.0 power-deny 0 disabled
GE1/0/15 disabled low 0.0 power-deny 0 disabled
GE1/0/16 disabled low 0.0 power-deny 0 disabled
GE1/0/17 disabled low 0.0 power-deny 0 disabled
GE1/0/18 disabled low 0.0 power-deny 0 disabled
GE1/0/19 disabled low 0.0 power-deny 0 disabled
GE1/0/20 disabled low 0.0 power-deny 0 disabled
GE1/0/21 disabled low 0.0 power-deny 0 disabled
GE1/0/22 disabled low 0.0 power-deny 0 disabled
GE1/0/23 disabled low 0.0 power-deny 0 disabled
GE1/0/24 disabled low 0.0 power-deny 0 disabled
--- 0 port(s) on, 0.0 (W) consumed, 170.0 (W) remaining ---
Table 6 Output description
Field |
Description |
Interface |
Shortened form of a PoE interface |
Enable |
PoE enabled/disabled state. For the value, see Table 2. |
Priority |
Priority of a PoE interface. For the value, see Table 2. |
CurPower |
Current power of a PoE interface |
Operating |
Operating state of a PoE interface. For the value, see Table 2. |
IEEE |
PD power class |
Detection |
Power detection state of a PoE interface. For the value, see Table 2. |
port(s) on |
Number of PoE interfaces that are supplying power |
consumed |
Power consumed by PoE interfaces on the PSE |
Remaining |
Remaining power on the PSE |
display poe pse interface power
Syntax
display poe pse pse-id interface power [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
pse pse-id: Specifies a PSE ID. To view the mapping between PSE ID and slot, use the display poe device command.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display poe pse interface power command to display the power information of PoE interfaces connected with the PSE.
Examples
# Display the power information of PoE interfaces connected with PSE 7.
<Sysname> display poe pse 7 interface power
Interface CurPower PeakPower MaxPower 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
--- 0 port(s) on, 0.0 (W) consumed, 170.0 (W) remaining ---
Table 7 Output description
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. |
port(s) on |
Number of PoE interfaces that are supplying power |
consumed |
Power currently consumed by all PoE interfaces |
Remaining |
Remaining power on the PSE |
display poe-profile
Syntax
display poe-profile [ index index | name profile-name ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
index index: Index number of the PoE configuration file, which ranges from 1 to 100.
name profile-name: Name of the PoE configuration file, which is a string of 1 to 15 characters.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display poe-profile command to display the information 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 the information of all PoE configuration files.
<Sysname> display poe-profile
Poe-profile Index ApplyNum Interface 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
--- 2 poe-profile(s) created, 8 port(s) applied ---
# Display the information of the PoE configuration file with index number 1.
<Sysname> display poe-profile index 1
Poe-profile Index ApplyNum Interface 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
--- 6 port(s) applied ---
# Display the information of PoE configuration file forIPphone.
<Sysname> display poe-profile name forIPphone
Poe-profile Index ApplyNum Interface 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
--- 6 port(s) applied ---
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 poe-profile interface
Syntax
display poe-profile interface interface-type interface-number [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
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/1.
<Sysname> display poe-profile interface gigabitethernet 1/0/1
Poe-profile Index ApplyNum Interface Current Configuration
forIPphone 1 6 GE1/0/1 poe enable
poe priority critical
Not all the configurations of a PoE configuration file can be applied successfully, so only the configurations that currently take effect on the interface are displayed. For the descriptions for other fields, see Table 8.
poe enable
Syntax
poe enable
undo poe enable
View
PoE interface view, PoE-profile file view
Default level
2: System level
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: · If a PoE configuration file is already applied to a PoE interface, remove the application of the file to the PoE interface before configuring the interface in PoE-profile view. · If a PoE configuration file is applied to a PoE interface, 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/1
[Sysname-GigabitEthernet1/0/1] 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
poe legacy enable
Syntax
poe legacy enable pse pse-id
undo poe legacy enable pse pse-id
View
System view
Default level
2: System level
Parameters
pse pse-id: Specifies a PSE ID.
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 PSE 7 to detect nonstandard PDs.
<Sysname> system-view
[Sysname] poe legacy enable pse 7
poe max-power
Syntax
poe max-power max-power
undo poe max-power
View
PoE interface view, PoE-profile file view
Default level
2: System level
Parameters
max-power: Maximum power in milliwatts allocated to a PoE interface. The value ranges from 1000 to 25000.
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 25000 milliwatts.
Examples
# Set the maximum power of GigabitEthernet 1/0/1 to 12000 milliwatts.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] poe max-power 12000
# Set the maximum power of GigabitEthernet 1/0/1 to 12000 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/1
[Sysname-GigabitEthernet1/0/1] apply poe-profile name abc
poe mode
Syntax
poe mode signal
undo poe mode
View
PoE interface view, PoE-profile file view
Default level
2: System level
Parameters
signal: Specifies the PoE mode as signal (power over signal cables), which means to use the pairs (1, 2, 3, 6) for transmitting data in category 3/5 twisted pair cable to supply DC power.
Description
Use the poe mode command to configure a PoE mode.
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/1
[Sysname-GigabitEthernet1/0/1] 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/1
[Sysname-GigabitEthernet1/0/1] apply poe-profile name abc
poe pd-description
Syntax
poe pd-description text
undo poe pd-description
View
PoE interface view
Default level
2: System level
Parameters
text: Description of the PD connected to a PoE interface, which is 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 GigabitEthernet 1/0/1 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 priority
Syntax
poe priority { critical | high | low }
undo poe priority
View
PoE interface view, PoE-profile file view
Default level
2: System level
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. In other words, 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.
When the PoE power is insufficient, power is first supplied to PoE interfaces with a higher priority level.
If a PoE configuration file is already applied to a PoE interface, remove the application of the file to the PoE interface before configuring the interface in PoE-profile view.
If a PoE configuration file is applied to a PoE interface, remove the application of the file to the PoE interface before configuring the interface in PoE interface view.
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 GigabitEthernet 1/0/1 to critical.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] poe priority critical
# Set the power priority of GigabitEthernet 1/0/1 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/1
[Sysname-GigabitEthernet1/0/1] apply poe-profile name abc
poe update
Syntax
poe update { full | refresh } filename [ pse pse-id ]
View
System view
Default level
2: System level
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, which is 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.
pse pse-id: Specifies a PSE ID.
Description
Use the poe update command to upgrade the PSE processing software online.
|
CAUTION: · The full mode is used only in the case that anomalies occur when you use the refresh mode to upgrade the PSE processing software. Do not use the full mode in other circumstances. · You can use the full mode to upgrade the PSE processing software to restore the PSE firmware when the PSE processing software is unavailable (it means that none of the PoE commands are executed successfully). · If you upgrade the PSE firmware on a backup control board, the upgrade file must be on the main control board, and only the main control board can control the upgrade of the PSE firmware on the backup control board. |
Examples
# Upgrade the processing software of PSE 7 in service
<Sysname> system-view
[Sysname] poe update refresh 0400_001.S19 pse 7
poe utilization-threshold
Syntax
poe utilization-threshold utilization-threshold-value pse pse-id
undo poe utilization-threshold pse pse-id
View
System view
Default level
2: System level
Parameters
utilization-threshold-value: Power alarm threshold in percentage, which ranges from 1 to 99.
pse pse-id: Specifies a PSE ID.
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 power utilization exceeds the alarm threshold. If 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 PSE 7 to 90%
<Sysname> system-view
[Sysname] poe utilization-threshold 90 pse 7
poe-profile
Syntax
poe-profile profile-name [ index ]
undo poe-profile { index index | name profile-name }
View
System view
Default level
2: System level
Parameters
profile-name: Name of a PoE configuration file, which is 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, which ranges from 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.
If a PoE configuration file is already applied to a PoE interface, you cannot delete it. To delete the file, 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