19.1. PoE configuration commands
19.1.1. poe global
Command Purpose
Use this command to enable or disable the global Poe function.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
poe global (enable | disable)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
enable |
enable global poe function |
- |
disable |
disable global poe function |
- |
Command Mode
Global Config
Default
Enable
Usage
The Poe configuration of the ports will only take effect when enabled in global mode.
Examples
Disable the global Poe function:
Switch# configure terminal
Switch(config)# poe global disable
Switch(config)#
19.1.2. poe power-management policy
Command Purpose
Use this command to select the power distribution policy for the switch.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
poe power-management policy ( dynamic | static )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
dynamic |
dynamic policy:real time allocation based on the actual power consumption of each port. |
- |
static |
static policy:pre allocate power based on the negotiation type or user configuration value of each port. |
- |
Command Mode
Global Config
Default
dynamic
Usage
Adopting dynamic policy can make more use of power supply and provide power to as many ports as possible, but power fluctuations in some port loads may cause unstable power supply to other low-priority ports. Static policy can reserve sufficient power for ports, but it may waste a portion of available power.Static policy is to pre allocate power based on the negotiation type or user configuration value of each port. The supported negotiation types are:
af |
15.4 (W) |
at |
30(W) |
bt |
90(W) |
Examples
Set PSE power-management policy is static:
Switch# configure terminal
Switch(config)# poe power-management policy static
Switch(config)# exit
Switch#
Related Commands
None
19.1.3. poe power-reserved
Command Purpose
Use this command to set the reserved-power of poe from available power, When available power is less than it, switch will no longer supply power to the newly connected PD.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
poe power-reserved POWER-VALUE
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
POWER-VALUE |
power value(mW), default is 30000mW |
1-150000 |
Command Mode
Global Config
Default
30000(mW)
Usage
Setting the reserved power too low will affect the reliability of the switch; Setting the reserved power too high will reduce the distributable power and the power supply ability.
Examples
Set PoE reserved-power 45W:
Switch# configure terminal
Switch(config)# poe power-reserved 45000
Switch(config)# exit
Switch#
Related Commands
None
19.1.4. poe power-threshold
Command Purpose
Use this command to Set the alarm percentage threshold of real-time consumption of power.When the real-time power consumption exceeds or falls below it for the first time, the user will be reminded by the LED on the panel.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
poe power-threshold PERCENTAGE-VALUE
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PERCENTAGE-VALUE |
percentage of power threshold, default is 90% |
0-100 |
Command Mode
Global Config
Default
90(%)。
Usage
None
Examples
Set the alarm percentage threshold is 85%:
Switch# configure terminal
Switch(config)# poe power-threshold 85
Switch(config)# exit
Switch#
Related Commands
None
19.1.5. poe enable|disable
Command Purpose
Use this command to enable or disable poe function on this port,and attach time-range to enable or disable the PoE function according to the schedule.When the global poe mode is enabled, this command takes effect.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
poe enable
poe disable
poe enable time-range TIME-RANGE
no poe enable disable time-range TIME-RANGE
poe disable time-range TIME-RANGE
no poe enable disable time-range TIME-RANGE
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
TIME-RANGE |
The name of the time range |
<1-15> |
Command Mode
Interface Configuration
Default
enable
Usage
Use the no of this command only to remove the bound “time range”,and PoE status of the port is determined by the “Poe enable/disable” command.
Examples
Configure the eth-0-1 to supply power only during working hours:
Switch# configure terminal
Switch(config)# time-range worktime
Switch(config-tm-range)# periodic 9:00 weekdays to 18:00
Switch(config-tm-range)# exit
Switch(config)# inter eth-0-1
Switch(config-if)# poe disable
Switch(config-if)# poe enable time-range worktime
Switch(config-if)#
Related Commands
poe global enable|disable
19.1.6. poe priority
Command Purpose
Use this command to set the power supply priority of port.Use the no of this command to return the port to its default value.With the same priority, the port with smaller port-number will be powered first.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
poe priority (low | high | critical )
no poe priority
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
low |
low priority(default) |
- |
high |
high priority |
<1-15> |
critical |
critical priority |
<1-15> |
Command Mode
Interface Configuration
Default
Low
Usage
None
Examples
Set poe priority of ports eth-0-1 - 4 is high,and ports eth-0-5 - 8 is critical:
Switch# configure terminal
Switch(config)# interface range eth-0-1 - 4
Switch(config-if-range)# poe priority high
Switch(config-if-range)# interface range eth-0-5 - 8
Switch(config-if-range)# poe priority critical
Switch(config-if-range)# end
Switch#
Related Commands
None
19.1.7. poe max-power
Command Purpose
Use this command to set power limit of this port.Use the no of this command to return the port to its default value.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
poe max-power POWER-VALUE
no poe max-power
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
POWER-VALUE |
power value(mW) |
1-120000 |
Command Mode
Interface Configuration
Default
at:30000(mW);bt:90000(mW);
Usage
None
Examples
Set power limit of the port eth-0-1is 60000(mw):
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# poe max-power 60000
Switch(config-if)# end
Switch#
Related Commands
None
19.1.8. poe legacy
Command Purpose
Use this command to enable the port compatibility with legacy PD. The no of this command is used to restore the default configuration.First, it need to enable the poe legacy in the Global Config mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
poe legacy
no poe legacy
Command Mode
Interface Configuration
Default
Not compatible with legacy PD
Usage
None
Examples
Enable the eth-0-24 compatibility with legacy PD,detect and supply power to non-standard PD:
Switch# configure terminal
Switch(config)# interface eth-0-24
Switch(config-if-range)# poe legacy
Switch(config-if-range)# end
Switch#
Related Commands
None
19.1.9. poe forced-power
Command Purpose
Use this command to force the port to supply power to the PD. The no of this command is used to turn it off.
After configuring this function, the device will skip the check and directly supply power to the PD. Users need to ensure that the electrical energy provided by the device matches the electrical parameters required by the PD. Otherwise, it may cause damage to the PD. Please be careful to enable this function.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
poe forced-power
no poe forced-power
Command Mode
Interface Configuration
Default
No force port PoE
Usage
After configuring this function, the device will skip the check and directly supply power to the PD. Users need to ensure that the electrical energy provided by the device matches the electrical parameters required by the PD. Otherwise, it may cause damage to the PD. Please be careful to enable this function.
Examples
None
Related Commands
None
19.1.10. clear poe counters
Command Purpose
Use this command to clear the PoE fault statistics of all or specified ports.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
clear poe counters ( interface IFNAME | )
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
Clear the PoE fault statistics of eth-0-13:
Switch# clear poe counters interface eth-0-13
Switch#
Related Commands
show poe counters
19.2. PoE show commands
19.2.1. show poe summary
Command Purpose
Use this command to display the PoE summary information.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show poe summary
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
Display PoE summary information:
Switch# show poe summary
-------------------------------------------------
Power Source Equipment NO: 1
Operation status: enable
Channel Num for power: 24
PSE Software Version: V01.00.01.07
PSE PSU Information
PSU1: 370 W Present
PSU2: 370 W Present
PSE Power Policy: Dynamic Mode
Power Limit: 740000 mW
Power Available: 47700 mW
Power Actual Consump: 692200 mW
Power Allocated: 692300 mW
Power Reserved: 30000 mW
Power Threshold: 90%
PSE Reserved Power Alert: -
PSE Threshold Power Alert: Alert
Switch#
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
Operation status |
PoE global function status:enable。 |
- |
Channel Num for power |
Number of power channels for the whole switch (2 channels per port: ch1 and ch2) |
- |
PSE PSU Information |
Power Module Information.Present: The power slot is plugged in and functioning properly. Absent: The power slot has no power, or is plugged into a power source but not powered or working abnormally. |
- |
PSE Power Policy |
PoE Power Management Policy.Corresponds to the configuration of the command:poe power-management policy. |
- |
PSE Power Limit Mode |
Corresponds to the configuration of the command:poe power-management limit-mode. |
- |
Power Limit |
Maximum power of switch(mW) |
- |
Power Available |
The remaining distributable power of the system(mW) |
- |
Power Actual Consump |
Current actual power consumption(mW). |
- |
Power Allocated |
Currently allocated power(mW). |
- |
Power Reserved |
The reserved-power of poe.Corresponds to the configuration of the command:poe power-reserved(mW). |
- |
Power Threshold |
Corresponds to the configuration of the command:poe power-threshold. |
- |
PSE Reserved Power Alert |
-: No alarms; Alerts: There are alarms. |
- |
PSE Threshold Power Alert |
-: No alarms; Alerts: There are alarms. |
- |
Related Commands
None
19.2.2. show poe status
Command Purpose
Use this command to display the PoE status information of all or specified interfaces.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show poe status (interface IFNAME | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
An interface that supports the PoE function. |
- |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
Display the PoE status information of all interfaces
Switch# show poe status
Codes : IF - interface CH - channel ST - enable status
MD - mode CL - class PR - priority
V - voltage(V) mA - current(mA) TP - temperature('C)
GT - granted power(W) LM - power limit(W) CS - consumption(W)
AP - available power(W)
DIS - disable EN - enable
CR - critical HI - high LO - low
OP - operation status of poe
------+----------+----+----+----+---+---+------+------+---+------+------+------
IF CH ST OP MD CL PR V mA TP LM CS AP
eth-0-1 1-1 EN ON BT 8 LO 53.3 453 35 90.000 24.800 65.200
eth-0-2 1-2 EN ON BT 8 LO 53.2 447 35 90.000 23.800 66.200
eth-0-3 1-3 EN ON BT 8 LO 53.2 410 35 90.000 21.900 68.100
eth-0-4 1-4 EN ON BT 8 LO 53.3 413 35 90.000 22.100 67.900
eth-0-5 1-5 EN ON BT 8 LO 53.3 431 35 90.000 23.500 66.500
eth-0-6 1-6 EN ON BT 8 LO 53.3 460 35 90.000 24.600 65.400
eth-0-7 1-7 EN ON BT 8 LO 53.3 432 35 90.000 23.100 66.900
eth-0-8 1-8 EN ON BT 8 HI 53.4 479 35 90.000 25.600 64.400
eth-0-9 1-9 EN ON BT 8 LO 53.3 1050 38 90.000 56.700 33.300
eth-0-10 1-10 EN ON BT 8 LO 53.3 964 40 90.000 51.100 38.900
eth-0-11 1-11 EN ON BT 8 LO 53.2 915 40 90.000 48.800 41.200
eth-0-12 1-12 EN ON BT 8 CR 53.3 894 38 90.000 47.700 42.300
eth-0-13 1-13 EN ON BT 8 CR 53.3 458 35 90.000 24.500 65.500
eth-0-14 1-14 EN ON BT 8 LO 53.4 435 36 90.000 23.200 66.800
eth-0-15 1-15 EN ON BT 8 LO 53.2 455 36 90.000 23.900 66.100
eth-0-16 1-16 EN ON BT 8 LO 53.4 420 36 45.000 22.400 22.600
eth-0-17 1-17 EN ON BT 8 LO 53.3 462 35 90.000 24.700 65.300
eth-0-18 1-18 EN ON BT 8 LO 53.4 492 35 90.000 25.900 64.100
eth-0-19 1-19 EN ON BT 8 LO 53.5 448 35 90.000 24.000 66.000
eth-0-20 1-20 EN ON BT 8 LO 53.4 452 35 90.000 24.200 65.800
eth-0-21 1-21 EN ON BT 8 LO 53.3 952 38 90.000 50.800 39.200
eth-0-22 1-22 EN ON BT 8 LO 53.3 1048 40 90.000 57.100 32.900
eth-0-23 1-23 EN OFF BT -- LO 0.0 0 40 -- 0.000 --
eth-0-24 1-24 EN ON BT 8 LO 0.0 0 40 90.000 0.000 90.000
Switch#
Related Commands
None
19.2.3. show poe schedule
Command Purpose
Use this command to display the PoE power supply schedule tasks of all or specified PoE interfaces. When displaying, each task time definition takes up one line.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show poe schedule (interface IFNAME | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
An interface that supports the PoE function. |
- |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
Display the PoE power supply schedule tasks of the eth-0-1 and eth-0-2:
Switch# show poe schedule interface eth-0-1
Interface Action Name Time Range
--------------------------------------------------------------------------------
eth-0-1 disable poetimer1
absolute 14:15:00 Oct 18 2022 to 18:00:00 Oct 18 2022
Switch# show poe schedule interface eth-0-2
Interface Action Name Time Range
--------------------------------------------------------------------------------
eth-0-2 enable poetimer2
periodic 09:00 weekdays to 18:00
Switch#
Related Commands
None
19.2.4. show poe counters
Command Purpose
Use this command to display the count information of the PoE fault counters of the specified port or all ports.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show poe counters (interface IFNAME | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
An interface that supports the PoE function. |
- |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
Display the count information of the PoE fault counters of the eth-0-23:
Switch# show poe counters interface eth-0-23
-------------------------------------------------------------------------------
Interface Disconnect Invalid Overload Power Deny Short
Counter Signature Counter Counter Counter
Counter
eth-0-23 1 0 0 70 0
Switch#