No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

S1720, S2700, S5700, and S6720 V200R011C10

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
PoE Configuration Commands

PoE Configuration Commands

Command Support

Only electrical interfaces of switch models with PWR or PWH in the device names support the PoE function.

display poe device

Function

The display poe device command displays information about the device supporting Power over Ethernet (PoE).

Format

display poe device

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Before using the PoE function, run the display poe device command to check whether the device supports the PoE function. If the command output is displayed, the device supports the PoE function.

Example

# Display information about the device supporting PoE.

<HUAWEI> display poe device
slot 0   : PoE
Table 3-75  Description of the display poe device command output

Item

Description

Slot 0

The device supports PoE.

display poe information

Function

The display poe information command displays PoE running information about the device.

Format

display poe information [ slot slot-id ]

Parameters

Parameter

Description

Value

slot slot-id

Displays the PoE state information about a specified stack device.

If this parameter is not specified, the PoE information about all device is displayed.

The value is 0 if stacking is not configured; the value ranges from 0 to 8 if stacking is configured.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command displays information including the maximum output power set by the user, current power consumption, peak power consumption, and power management mode.

Example

# Display the PoE running information about the device.

<HUAWEI> display poe information
PSE Information of slot 0:
    User Set Max Power(mW)     : 739200
    PoE Power Supply(mW)       : 369600
    Available Total Power(mW)  : 369600
    Total Power Consumption(mW): 0
    Power Peak Value(mW)       : 0
    Power-Management Mode      : auto
    Power High Inrush          : disable 
    Port Index Priority        : enable
Table 3-76  Description of the display poe information command output

Item

Description

User Set Max Power(mW)

Maximum output power set by the user.

To set the value, run the poe max-power command. When the value is not set using the command, this field displays the maximum output power that can be provided by the device.

PoE Power Supply(mW)

PoE power supply, which is determined by the PoE power module configured on the device.

Available Total Power(mW)

Total available power.

Total Power Consumption(mW)

Total output power.

Power Peak Value(mW)

Peak value of the output power.

Power-Management Mode

Power management mode, including auto and manual modes.

To set the mode, run the poe power-management command.

Power High Inrush

State of power high inrush function, including enabled and disabled state. By default, the power high inrush function is in disabled state.

To set the state, run the poe high-inrush enable command.

Port Index Priority

Whether the device is enabled to power on or off PDs connected to interfaces based on the interface numbers. By default, a device powers on or off PDs connected to interfaces based on the interface numbers.

To configure this parameter, run the poe power-policy port-index-priority disable command.

display poe power

Function

The display poe power command displays current power information on interfaces.

Format

display poe power [ slot slot-id | interface interface-type interface-number ]

Parameters

Parameter

Description

Value

slot slot-id

Displays the PoE power information about a specified stack device.

If this parameter is not specified, the PoE power information of all devices in a stack system or the PoE power information of the device in a non-stack system is displayed.

The value is an integer, and the value ranges from 0 to 8 if stacking is configured. The value is 0 if stacking is not configured.

interface interface-type interface-number

Displays the PoE power information about a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If this parameter is not specified, the output power of all interfaces on the device is displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display poe power command displays information including the current actual power, maximum output power set for an interface, and class, reference power, and average power of PDs on the interface.

If this parameter is not specified, the output power of all interfaces on the device is displayed.

An interface provides 15400 mW power to PDs based on the power class 0 if non-standard PDs are connected to the interface or forcible power supply is configured on the interface of the switches except the S5730SI, S5730S-EI, S5720-16X-PWH-LI-AC, S5720-28X-PWH-LI-AC, and S6720SI. If you run the display poe power command to check the interface power, the PD class is displayed as 0.

Example

# Display the power information of interfaces on the device whose ID is 0.
<HUAWEI> display poe power slot 0
Codes: REFPW(Reference power), USMPW(User set max power),                       
       CURPW(Current power), PKPW(Peak power), AVGPW(Average power)             
                                                                                
PortName               Class  REFPW(mW) USMPW(mW) CURPW(mW) PKPW(mW)  AVGPW(mW) 
--------------------------------------------------------------------------------
GigabitEthernet0/0/1   -      -         15400     0         0         0         
GigabitEthernet0/0/2   -      -         15400     0         0         0         
GigabitEthernet0/0/3   -      -         15400     0         0         0         
GigabitEthernet0/0/4   -      -         15400     0         0         0         
GigabitEthernet0/0/5   -      -         15400     0         0         0         
GigabitEthernet0/0/6   -      -         15400     0         0         0         
GigabitEthernet0/0/7   -      -         15400     0         0         0         
GigabitEthernet0/0/8   -      -         15400     0         0         0         
GigabitEthernet0/0/9   -      -         15400     0         0         0         
GigabitEthernet0/0/10  -      -         15400     0         0         0         
GigabitEthernet0/0/11  2      7000      15400     3710      3816      3487      
GigabitEthernet0/0/12  2      7000      15400     2968      3180      2960      
GigabitEthernet0/0/13  -      -         15400     0         0         0         
GigabitEthernet0/0/14  -      -         15400     0         0         0         
GigabitEthernet0/0/15  -      -         15400     0         0         0         
GigabitEthernet0/0/16  -      -         15400     0         0         0         
GigabitEthernet0/0/17  -      -         15400     0         0         0         
GigabitEthernet0/0/18  -      -         15400     0         0         0         
GigabitEthernet0/0/19  -      -         15400     0         0         0         
GigabitEthernet0/0/20  -      -         15400     0         0         0         
GigabitEthernet0/0/21  -      -         15400     0         0         0         
GigabitEthernet0/0/22  -      -         15400     0         0         0         
GigabitEthernet0/0/23  -      -         15400     0         0         0         
GigabitEthernet0/0/24  -      -         15400     0         0         0         
Table 3-77  Description of the display poe power slot command output

Item

Description

PortName

Name of an interface.

Class

Class of a PD on an interface.

The system classifies PDs into five classes, namely, class 0 to class 4, according to their maximum power. If no PD is connected to interface, "-" is displayed.

REFPW(mW)

Reference power of a PD.

The system can identify the reference power of each PD. The value varies according to types of PDs. The mapping between PD classes and the reference power is as follows:

  • 0: reference power 15.4 W
  • 1: reference power 4 W
  • 2: reference power 7 W
  • 3: reference power 15.4 W
  • 4: reference power 30 W

USMPW(mW)

Maximum output power set for an interface.

To set the value, run the poe power command.

CURPW(mW)

Current power of the PDs on an interface.

PKPW(mW)

Peak power of the PDs on an interface.

The value is a statistical value, which equals the current maximum power consumption of the PDs on the interface.

AVGPW(mW)

Average power of the PDs on an interface.

The value is a statistical value, which equals the average power consumption from the power-on of the interface till now.

# Display the power of interface GigabitEthernet0/0/3.
<HUAWEI> display poe power interface gigabitethernet 0/0/3
PD power(mW)           : 3710                                              
PD class               : 2                                                 
PD reference power(mW) : 7000                                              
user set max power(mW) : 15400                                             
PD peak power(mW)      : 3816                                              
PD average power(mW)   : 3487                                              
Table 3-78  Description of the display poe power interface command output

Item

Description

PD power(mW)

Output power of an interface.

PD class

Class of a PD on an interface.

The system classifies PDs into five classes, namely, class 0 to class 4, according to their maximum power.

PD reference power(mW)

Reference power of a PD.

The system can identify the reference power of each PD. The value varies according to types of PDs. The mapping between PD classes and the reference power is as follows:

  • 0: reference power 15.4 W
  • 1: reference power 4 W
  • 2: reference power 7 W
  • 3: reference power 15.4 W
  • 4: reference power 30 W

user set max power(mW)

Maximum output power set for an interface.

To set the value, run the poe power command.

PD peak power(mW)

Peak power of the PDs on an interface.

The value is a statistical value, which equals the current maximum power consumption of the PDs on the interface.

PD average power(mW)

Average power of the PDs on an interface.

The value is a statistical value, which equals the average power consumption from the power-on of the interface till now.

display poe power-state

Function

The display poe power-state command displays the PoE power supply status of a device.

Format

display poe power-state [ slot slot-id | interface interface-type interface-number ]

Parameters

Parameter

Description

Value

slot slot-id

Displays the PoE power supply status of a specified stack device.

If the parameter is not specified, the PoE power supply status of all devices in a stack system or the PoE power supply status of a device in a non-stack system is displayed.

The value ranges from 0 to 8 if stacking is configured. The value is 0 if stacking is not configured.

interface interface-type interface-number

Displays the PoE power supply status of a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If this parameter is not specified, the PoE power supply status of all interfaces on the device is displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display poe power-state command displays information including whether an interface is enabled to check compatibility of non-standard PDs, power supply status on of an interface, class of PDs on an interface, power supply priority, and maximum output power of an interface.

Example

# Display the PoE power supply status of GigabitEthernet 0/0/3.
<HUAWEI> display poe power-state interface gigabitethernet 0/0/3
Legacy detect           : disable
Power enable state      : enable
Power fast-on state     : disable
Single-class state      : disable
Power-up mode           : at
Power-on delay(s)       : 5 
Power ON/OFF            : off
Power status            : Detecting
PD class                : -
Reference power(mW)     : -
Power priority          : Low
Max power(mW)           : 60000
Current power(mW)       : 0
Peak power(mW)          : 0
Average power(mW)       : 0
Current(mA)             : 0
Voltage(V)              : 0
Table 3-79  Description of the display poe power-state interface command output

Item

Description

Legacy detect

Whether an interface is enabled to check compatibility of non-standard PDs.

To enable an interface to check compatibility of non-standard PDs, run the poe legacy enable command.

Power enable state

Whether PoE is enabled on an interface.

To enable PoE on an interface, run the poe enable command.

Power fast-on state

Whether PoE fast-on is enabled on an interface.

To enable PoE fast-on on an interface, run the poe fast-on enable command.

Single-class state

Single-class power supply mode of an interface:
  • disable: standard power supply mode
  • enable: single-class power supply
To set this parameter, run the poe single-class enable command.

Power-up mode

Power supply mode of an interface.

To set the power supply mode for an interface, run the poe { at-inrush | pre-bt-inrush | bt-inrush } enable command. If this field displays -, this interface does not support this configuration.

Power-on delay(s)

Power supply delay of an interface, in seconds. The value 0 indicates that power supply is not delayed.

To set the power supply delay, run the poe power-on delay command.

Power ON/OFF

Whether the interface is powered on.
  • On: indicates that the interface is powered on.
  • Off: indicates that the interface is powered off.

Power status

Power supply status of an interface. The status can be:

  • Test mode: indicates the testing state.
  • Detecting: indicates the detection state.
  • Disabled: indicates that PoE is disabled on the interface.
  • Power-deny: indicates that the reference power is greater than the maximum output power of an interface.
  • Classification overcurrent: indicates that the current of the PD connected to the interface exceeds the threshold.
  • Unknown: indicates that the class of the PD is unknown.
  • Power overcurrent: indicates that the current of the PD connected to the interface exceeds the maximum current of the interface.
  • Power-on failed: indicates that the interface fails to provide power.
  • Power-ready: indicates that the interface is ready to provide power.
  • Powering: indicates that the PSE starts to power on the interface.
  • Powered: indicates that the interface is providing power.
  • Overloaded: indicates that the power is overloaded.
  • Time-range power-off: indicates that the interface is in the power-off time range.
  • Unstable voltage: indicates that the interface voltage is unstable.
  • Legacy disable: indicates that the PSE does not check the capability of PDs.
  • Class mismatch: indicates that the nterface works in standard hierarchical power supply mode.

PD class

Class of a PD connected to an interface.

The system classifies PDs into five classes, namely, class 0 to class 4, according to their maximum power.

Reference power(mW)

Reference power of an interface.

The system can identify the maximum power of a PD, classify the PD into a certain level, and define the reference power of each level. The mappings between PD types and reference power values are:

  • 0: reference power 15400 mW
  • 1: reference power 4000 mW
  • 2: reference power 7000 mW
  • 3: reference power 15400 mW
  • 4: reference power 30000 mW

Power priority

Power supply priority of an interface. The priority is as follows:
  • Critical: indicates the highest priority.
  • High: indicates the second highest priority.
  • Low: indicates the lowest priority.

To set the priority, run the poe priority command.

Max power(mW)

Maximum output power of an interface. A maximum output power of 15400 mW indicates that the device complies with 802.3af. A maximum output power of 30000 mW indicates that the device complies with 802.3at.

To set the value, run the poe power command.

Current power(mW)

Current output power of an interface.

Peak power(mW)

Peak output power of an interface.

Average power(mW)

Average output power of an interface.

Current(mA)

Output current of an interface.

Voltage(V)

Output voltage of an interface.

# Display the PoE power supply status of the device.
<HUAWEI> display poe power-state slot 0
PORTNAME            POWERON/OFF  ENABLED  FAST-ON  PRIORITY STATUS
--------------------------------------------------------------------------------
GigabitEthernet0/0/1     off     enable   disable  Low      Detecting
GigabitEthernet0/0/2     off     enable   disable  Low      Detecting
GigabitEthernet0/0/3     off     enable   disable  Low      Detecting
GigabitEthernet0/0/4     off     enable   disable  Low      Detecting
GigabitEthernet0/0/5     off     enable   disable  Low      Detecting
GigabitEthernet0/0/6     off     enable   disable  Low      Detecting
GigabitEthernet0/0/7     off     enable   disable  Low      Detecting
GigabitEthernet0/0/8     off     enable   disable  Low      Detecting
GigabitEthernet0/0/9     off     enable   disable  Low      Detecting
GigabitEthernet0/0/10    off     enable   disable  Low      Detecting
GigabitEthernet0/0/11    off     enable   disable  Low      Detecting
GigabitEthernet0/0/12    off     enable   disable  Low      Legacy disable
Table 3-80  Description of the display poe power-state slot command output

Item

Description

PORTNAME

Name of an interface.

POWERON/OFF

Whether the interface is powered on.
  • On: indicates that the interface is powered on.
  • Off: indicates that the interface is powered off.

ENABLED

Whether PoE is enabled on an interface.

To enable PoE on an interface, run the poe enable command.

FAST-ON

Whether PoE fast-on is enabled on an interface.

To enable PoE on an interface, run the poe fast-on enable command.

PRIORITY

Power supply priority of an interface. The priority is as follows:
  • Critical: indicates the highest priority.
  • High: indicates the second highest priority.
  • Low: indicates the lowest priority.

To set the priority, run the poe priority command.

STATUS

Power supply status of an interface. The status is classified into following types:

  • Test mode: indicates the testing state.
  • Detecting: indicates the detection state.
  • Disabled: indicates that PoE is disabled on the interface.
  • Power-deny: indicates that the reference power is greater than the maximum output power of an interface.
  • Classification overcurrent: indicates that the current of the PD connected to the interface exceeds the threshold.
  • Unknown: indicates that the class of the PD is unknown.
  • Power overcurrent: indicates that the current of the PD connected to the interface exceeds the maximum current of the interface.
  • Power-on failed: indicates that the interface fails to provide power.
  • Power-ready: indicates that the interface is ready to provide power.
  • Powering: indicates that the PSE starts to power on the interface.
  • Powered: indicates that the interface is providing power.
  • Overloaded: indicates that the power is overloaded.
  • Time-range power-off: indicates that the interface is in the power-off time range.
  • Unstable voltage: indicates that the interface voltage is unstable.
  • Legacy disable: indicates that the PSE does not check the capability of PDs.
  • Class mismatch: indicates that the nterface works in standard hierarchical power supply mode.

display poe-power

Function

The display poe-power command displays information about the PoE power supply.

Format

display poe-power [ slot slot-id ]

Parameters

Parameter

Description

Value

slot slot-id

Specifies the stack ID of a device.

The value is 0 if stacking is not configured. The value ranges from 0 to 8 if stacking is configured.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display poe-power displays information including the available total PoE power, percentage of the reserved power, power alarm threshold, and PoE power module.

If the stack ID is not specified, information about the PoE power supply of all the stack devices is displayed.

Example

# Display information about the PoE power supply of all the stack member switches.
<HUAWEI> display poe-power
Slot 0                                                                          
Total Available PoE Power(mW)  : 246400                                          
Reserved PoE Power Percent     : 20 %                                            
PoE Power Threshold Percent    : 90 %                                            
    PoE Power 1                                                                 
    Power Value(mW)           : 123200                                               
    Type                      : PSA250-A2                                               
    Supported Mode            : Redundancy, Balance                             
    PoE Power 2                                                                 
    Power Value(mW)           : 123200                                          
    Type                      : PSA250-A2                                       
    Supported Mode            : Redundancy, Balance                              

Slot 1                                                                          
Total Available PoE Power(mW) : 492800                                          
Reserved PoE Power Percent    : 20 %                                            
PoE Power Threshold Percent   : 90 %                                            
    PoE Power 1                                                                 
    Power Value(mW)           : 123200                                               
    Type                      : PSA250-A2                                               
    Supported Mode            : Redundancy, Balance                                                  
    PoE Power 2                                                                 
    Power Value(mW)           : 369600                                          
    Type                      : PSA500-A1                                       
    Supported Mode            : Redundancy, Balance 

Slot 2                                                                          
Total Available PoE Power(mW) : 739200                                          
Reserved PoE Power Percent    : 20 %                                            
PoE Power Threshold Percent   : 90 %                                            
    PoE Power 1                                                                 
    Power Value(mW)           : 369600                                               
    Type                      : PSA500-A1                                               
    Supported Mode            : Redundancy, Balance                                                  
    PoE Power 2                                                                 
    Power Value(mW)           : 369600                                          
    Type                      : PSA500-A1                                       
    Supported Mode            : Redundancy, Balance 
Table 3-81  Description of the display poe-power command output

Item

Description

Total Available PoE Power(mW)

Total power that can be provided for PDs.

Reserved PoE Power Percent

Percentage of the reserved power to the total power.

To set the percentage, run the poe power-reserved command.

PoE Power Threshold Percent

Alarm threshold of the power consumption percentage.

To set the threshold, run the poe power-threshold command.

PoE Power 1

PoE power supply 1.

PoE Power 2

PoE power supply 2.

Power Value(mW)

Power of a PoE power supply.

Type

Type of a PoE power supply. The value can be:
  • PSA250-A1: 250 W non-current-balance power supply
  • PSA250-A2: 250 W current balance power supply
  • PSA500-A1: 500 W current balance power supply
  • W2PSA0580: 580W current balance power supply
  • PDC-650WA-BE: 650W current balance power supply
  • W2PSA1150: 1150W current balance power supply

Supported Mode

Supported PoE power supply mode. The value can be:
  • Redundancy: redundancy backup mode
  • Balance: current balance mode

display snmp-agent trap feature-name poetrap all

Function

display snmp-agent trap feature-name poetrap all command displays the status of all traps on the POETRAP module.

Format

display snmp-agent trap feature-name poetrap all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name poetrap all command to check the status of all traps of POETRAP. You can use the snmp-agent trap enable feature-name poetrap command to enable the trap function of POETRAP.

Prerequisites

SNMP has been enabled. For details, see snmp-agent.

Example

# Display all the traps of the POETRAP module.

<HUAWEI>display snmp-agent trap feature-name poetrap all
------------------------------------------------------------------------------                                                      
Feature name: POETRAP                                                                                                               
Trap number : 16                                                                                                                    
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwPoePdConnected                on                      on                                                                          
hwPoePdDisconnected             on                      on                                                                          
hwPoePdClassInvalid             on                      on                                                                          
hwPoePdClassOvercurrent         on                      on                                                                          
hwPoePowerOff                   on                      on                                                                          
hwPoePowerOn                    on                      on                                                                          
hwPoePdPriorityDifferent        on                      on                                                                          
hwPoePowerOverUtilizationThreshold                                                                                                  
                                on                      on                                                                          
hwPoePowerOverUtilizationThresholdResume                                                                                            
                                on                      on                                                                          
hwPoePowerAbsent                on                      on                                                                          
hwPoePowerAbsentResume          on                      on                                                                          
hwPoeRpsPowerOutputAlarm        on                      on                                                                          
hwPoeRpsPowerOutputAlarmResume  on                      on                                                                          
hwPoeCardAbsent                 on                      on                                                                          
hwPoePortFail                   on                      on                                                                          
hwPoePortFailResume             on                      on
Table 3-82  Description of the display snmp-agent trap feature-name poetrap all command output

Item

Specification

Feature name

Name of the module that the trap belongs to.

Trap number

Number of traps.

Trap name

Trap name:
  • hwPoePdConnected: A PD is connected to a port.
  • hwPoePdDisconnected: A PD is disconnected from a port.
  • hwPoePdClassInvalid: The system detects that the PD class is invalid.
  • hwPoePdClassOvercurrent: The system detects that a PD is in overcurrent condition during PD classification.
  • hwPoePowerOff: A PD connected to a port is powered off.
  • hwPoePowerOn: A port meets power supply requirements.
  • hwPoePdPriorityDifferent: The port priority is inconsistent with the PD priority.
  • hwPoePowerOverUtilizationThreshold: The total PoE power consumption is larger than or equal to the alarm threshold.
  • hwPoePowerOverUtilizationThresholdResume: The total PoE power consumption is less than the alarm threshold.
  • hwPoePowerAbsent: No PoE power module on a PoE device is working properly.
  • hwPoePowerAbsentResume: There are PoE power modules working properly on a PoE device.
  • hwPoeRpsPowerOutputAlarm: An RPS power module fails to provide full power for the connected PoE device.
  • hwPoeRpsPowerOutputAlarmResume: An RPS power module can provide the full power for the connected PoE device.
  • hwPoeCardAbsent: A PoE card is not properly installed.
  • hwPoePortFail: A PoE port is faulty.
  • hwPoePortFailResume: A PoE port recovers from a failure.

Default switch status

Default status of the trap function:
  • on: indicates that the trap function is enabled by default.

  • off: indicates that the trap function is disabled by default.

Current switch status

Status of the trap function:

  • on: indicates that the trap function is enabled.

  • off: indicates that the trap function is disabled.

poe af-inrush enable

Function

The poe af-inrush enable command changes the power supply standards of interfaces from 802.3at to 802.3af.

The undo poe af-inrush enable command restores the power supply standards of interfaces to 802.3at.

By default, interfaces comply with 802.3at.

Format

poe af-inrush enable

undo poe af-inrush enable

Parameters

None

Views

Ethernet interface view, GE interface view, MultiGE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Switches that comply with 802.3at cannot power some non-standard PDs that do not support inrush current. To power these PDs, change the power supply standards of interfaces from 802.3at to 802.3af.

Precautions

  • The poe af-inrush enable command takes effect only on interfaces of 802.3at-compliant PoE switches.
  • The poe af-inrush enable command does not take effect on an interface if the poe force-power command has been executed on the interface.
  • The poe af-inrush enable command applies to the scenario where some non-standard PDs cannot be powered on. After this command is executed, some PDs requiring high current may be unable to be powered on.
  • After running the poe af-inrush enable command, remove non-standard PDs and then install them so that they can be powered on.
  • On the S5730SI, S5730S-EI, S5720-16X-PWH-LI-AC, S5720-28X-PWH-LI-AC, and S6720SI, the poe af-inrush enable and poe single-class enable commands are mutually exclusive and cannot be configured on the same interface.
  • In an upgrade to V200R011C10 or later, if the poe af-inrush enable command is configured in the system view before the upgrade, the poe af-inrush enable command configuration is automatically generated on all interfaces after the upgrade.

Example

# Configures the power supply standards of interfaces as 802.3af.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe af-inrush enable
Warning: This operation may cause PD to work abnormally. Continue?[Y/N]:y

poe { at-inrush | pre-bt-inrush | bt-inrush } enable

Function

The poe { at-inrush | pre-bt-inrush | bt-inrush } enable command changes the power supply mode of interfaces supporting the PoE++ mode.

The undo poe { at-inrush | pre-bt-inrush | bt-inrush } enable command restores the default power supply mode of PoE interfaces.

By default, interfaces supporting the PoE++ mode on devices provide power in PoE++ mode. That is, the power supply mode is bt-inrush.

NOTE:

Only the GE interfaces of S5730SI and S5730S-EI, the GE0/0/1 to GE0/0/12 of S5720-16X-PWH-LI-AC, the MultiGE interfaces of S5720-28X-PWH-LI-AC, and S6720SI support this command.

Format

poe { at-inrush | pre-bt-inrush | bt-inrush } enable

undo poe { at-inrush | pre-bt-inrush | bt-inrush } enable

Parameters

Parameter Description Value
at-inrush Sets the power supply mode to PoE+. -
pre-bt-inrush Sets the power supply mode to PoE++ compatible. That is, except that the PoE power is 60000 mW, interfaces comply with 802.3at. -
bt-inrush Sets the power supply mode to PoE++. -

Views

MultiGE interface view, GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, on the S5720-16X-PWH-LI-AC, S5720-28X-PWH-LI-AC, and S6720SI, interfaces supporting the PoE++ mode provide power in PoE+ mode. To power the PDs requiring the standard power supply mode, run the poe at-inrush enable command. This command changes the power supply mode of the PoE interface to the PoE+ mode. If most of the parameters supported by the PDs requiring high power comply with 802.3at, run the poe pre-bt-inrush enable command to change the power supply mode of these interfaces to PoE++ compatible.

Precautions

  • When the poe bt-inrush enable command is configured after the poe af-inrush enable command is configured in the interface, the poe af-inrush enable command configuration is automatically overwritten.
  • The poe { pre-bt-inrush | bt-inrush } enable and poe single-class enable commands are mutually exclusive and cannot be configured on the same interface.
  • Changing the power supply mode of a PoE interface will power off the PD connected to this PoE interface.
  • After the power supply mode of an interface is set to bt-inrush, forcible PoE power supply and PD compatibility check configured on this interface using the poe force-power and poe legacy enable commands respectively do not take effect on this interface.
  • After the power supply mode of an interface is set to bt-inrush, and the interface detects that it connects to a non-standard PD, confirm whether this interface is connected to a PD. If so, run the poe pre-bt-inrush enable command and the poe legacy enable or poe force-power command to provide power to this PD.

Example

# Set the power supply mode of GE0/0/1 to PoE+.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe at-inrush enable
Warning: This operation may cause PD to be powered off. Continue?[Y/N]:y

# Set the power supply mode of GE0/0/1 to PoE++ compatible.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe pre-bt-inrush enable
Warning: This operation may cause PD to be powered off. Continue?[Y/N]:y

poe enable

Function

The poe enable command enables the PoE function on an interface.

The undo poe enable command disables the PoE function on an interface.

By default, the PoE function is enabled on an interface.

Format

poe enable

undo poe enable

Parameters

None

Views

Ethernet interface view, GE interface view, port group view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

Before providing power for the PD connected to the interface, ensure the PoE function on the interface is enabled. IF the PoE function is not enabled, run the poe enable command to enable the PoE function on the interface.

In automatic mode, the power-on and power-off of interfaces is determined by the PoE power and interface power priority. When the PoE power is sufficient, the device does not power off one interface. To stop providing power for one PD, run the undo poe enable command.

Precautions

The device only supports PoE power supply on downlink interfaces and does not support PoE power supply on uplink interfaces.

Example

# Disable the PoE function on GigabitEthernet0/0/3.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/3
[HUAWEI-GigabitEthernet0/0/3] undo poe enable

poe fast-on enable

Function

The poe fast-on enable command enables fast power-on for a PoE interface.

The undo poe fast-on enable command disables fast power-on for a PoE interface.

NOTE:

Only the S5720-28X-PWH-LI-AC, S5720-16X-PWH-LI-AC, S5730SI, S5730S-EI, and S6720SI support this command.

Format

poe fast-on enable

undo poe fast-on enable

Parameters

None

Views

MultiGE interface view, GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a PoE switch is powered off and then restarts, interfaces on this device can be powered on again only after a certain period. As a result, PDs connected to these interfaces are powered off within this period. To shorten the time during which the PDs are powered off, you can run the poe fast-on enable command on the PoE switch. After the PoE switch is powered off and then restarts, PoE interfaces can rapidly resume power supply to PDs.

Precautions

  • This command takes effect only during cold startup of the device.
  • The poe fast-on enable command does not generate any configuration but always takes effect after being executed until the undo poe fast-on enable command is executed. To determine whether the fast power-on configuration takes effect, run the display poe power-state command to check the fast-on field.

Example

# Enable fast power-on for GE0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe fast-on enable
Warning: This configuration takes effect only after a cold restart. Continue?[Y/N]:y

# Disable fast power-on for GE0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo poe fast-on enable
Warning: This configuration takes effect only after a cold restart. Continue?[Y/N]:y

poe force-power

Function

The poe force-power command enables forcible powering on a PoE interface.

The undo poe force-power command disables forcible powering on a PoE interface.

By default, forcible powering is disabled on a PoE interface.

Format

poe force-power

undo poe force-power

Parameters

None

Views

Ethernet interface view, GE interface view, port group view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the power of the system is sufficient, you can run the poe force-power command on the interface connected to PDs when the PSE cannot detect the PDs.

Precautions

After the power supply mode of an interface is set to PoE++ using the poe bt-inrush enable command, the poe force-power command does not take effect on this interface.

If the interface connects to a non-PD device, configuring forcible powering on the interface may damage the non-PD device. Exercise caution when using the poe force-power command. After forcible powering is configured on a PoE switch, you must delete the forcible powering configuration from the switch if you need to remove the switch from the current networking environment and deploy it in a new networking environment.

Example

# Enable forcible powering on GigabitEthernet0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe force-power
Warning: Is there a valid PD connected to this interface? Yes or No?[Y/N]:y

poe group management enable

Function

The poe group management enable command enables a PoE device's group management of PDs.

The undo poe group management enable command disables a PoE device's group management of PDs.

By default, a PoE device's group management of PDs is disabled.

Format

poe group management enable

undo poe group management enable

Parameters

None

Views

Ethernet interface view, GE interface view, port group view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Powering on some PDs may affect other PDs, causing other PDs unable to be detected by a PoE device. After group management of PDs is enabled, a PoE device can detect PDs on a per-group basis and power on these PDs in a batch.

Precautions

  • To support a PoE device's group management of PDs, every four interfaces on the left are added to one group. For example, interfaces numbered 1 to 4 or numbered 5 to 8 can be added to one group, but interfaces numbered 2 to 5 cannot. That is, the number of the last interface in each group must be the multiple of 4. If the poe group management enable command is configured on any interface in a group, this command is also delivered to the other three interfaces in the same group.

  • After group management of PDs is configured on an interface, the other interfaces in the same group use the same power supply priority as this interface and this priority is lower than that of other interfaces that are not added to any group. If some interfaces have this group management function configured, the PoE interface power supply priority configured using the poe priority command does not take effect on these interfaces.

Example

# Enable group management of PDs on PoE interfaces GE0/0/1 through GE0/0/4.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe group management enable
Info: 'Poe group management enable' will be executed on interface GigabitEthernet0/0/1 to GigabitEthernet0/0/4. Continue?[Y/N]: y

poe high-inrush enable

Function

The poe high-inrush enable command configures an interface to allow generation of the high pulse current during power-on.

The undo poe high-inrush enable command configures an interface not to allow generation of the high pulse current during power-on.

By default, interfaces do not allow generation of the high pulse current during power-on.

Format

poe high-inrush enable [ slot slot-id ]

undo poe high-inrush enable [ slot slot-id ]

Parameters

Parameter

Description

Value

slot slot-id

Specifies the stack ID of a device.

The value ranges from 0 to 8 if stacking is configured. The value is 0 if stacking is not configured.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

High inrush current is generated when a non-standard PD is powered on. In this case, the PSE cuts off the power of the PD to protect itself. If the PSE is required to provide power for the PD, the PSE must allow high inrush current. The high inrush current may damage device components.

Example

# Enable the device to allow generation of the high pulse current during power-on.

<HUAWEI> system-view
[HUAWEI] poe high-inrush enable

poe { power-off | power-on } interface

Function

The poe { power-off | power-on } interface command manually powers on or powers off the PD of an interface.

NOTE:

Among PoE models, the S5730SI, S5730S-EI, S5720-16X-PWH-LI-AC, S5720-28X-PWH-LI-AC, and S6720SI do not support this command.

Format

poe { power-off | power-on } interface interface-type interface-number

Parameters

Parameter

Description

Value

power-off

Powers off an interface.

-

power-on

Powers on an interface.

-

interface-type interface-number

Specifies the type and number of the interface that needs to be powered on or powered off manually.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

In manual power management mode, run the poe { power-off | power-on } interface command to power on or power off interfaces. To check whether the command runs successfully, run the display poe power-state command.

Precautions

When the available power of the device is insufficient and the device cannot provide power for a new PD, the poe power-on interface command is invalid.

Pre-configuration Tasks

Before powering on or powering off an interface, ensure that:

  • The power management mode has been in manual mode through running the poe power-management command.

  • PDs have been connected to the interface.

  • The PoE function of the interface has been enabled.

  • The classification of the PDs connected to the interface has finished and the PDs have been ready for being powered on.

Example

# Manually power on PDs connected to GigabitEthernet 0/0/1.
<HUAWEI> system-view
[HUAWEI] poe power-management manual 
[HUAWEI] poe power-on interface gigabitethernet 0/0/1

poe legacy enable

Function

The poe legacy enable command enables the power sourcing equipment (PSE) to check the compatibility of power devices (PDs).

The undo poe legacy enable command disables the PSE from checking the compatibility of PDs.

By default, the PSE does not check the capability of PDs.

Format

poe legacy enable

undo poe legacy enable

Parameters

None

Views

Ethernet interface view, GE interface view, port group view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the switch is enabled to check the compatibility of PDs, the switch can detect and provide power to the PDs that do not comply with the 802.3af or 802.3at standard or the standard PDs that are detected as non-standard PDs because of the external environment. If compatibility check is disabled, the switch cannot provide power to the non-standard PDs.

After interfaces are enabled to check the compatibility of PDs, the interfaces can provide power to both standard and non-standard PDs. This configuration does not affect the power supply of standard PDs. That is, the interfaces can still provide power to standard PDs after the poe legacy enable command is configured.

Precautions

After the power supply mode of an interface is set to PoE++ using the poe bt-inrush enable command, the poe legacy enable command does not take effect on this interface.

If the interface is connected to a non-PD device, enabling PD compatibility check may damage this non-PD device. Exercise caution when you use this command. After enabling PD compatibility check on a PoE switch, you need to manually disable this function if you need to remove the switch from the current networking environment and deploy it in a new networking environment.

Example

# Enable GigabitEthernet0/0/1 to check the compatibility of the PD.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe legacy enable

poe max-power

Function

The poe max-power command sets the maximum output power of a device.

The undo poe max-power command restores the maximum output power of a device to the default value.

By default, the maximum output power of the device is the total power that the PoE power supply provides for PDs. Therefore, the configured maximum output power must be smaller than the total power that the PoE power supply provides for PDs.

Format

poe max-power max-power [ slot slot-id ]

undo poe max-power [ [ max-power ] slot slot-id ]

Parameters

Parameter

Description

Value

max-power

Specifies the maximum output power of a device.

The value is an integer ranging from 15400 to 1570800. The unit is mW.

slot slot-id

Specifies the stack ID.

The value is 0 if stacking is not configured. The value ranges from 0 to 8 if stacking is configured.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

When the stacking function is enabled, if the stack ID is not specified, the poe max-power command is used to set the maximum output power of all member switches of a stack.

Precautions

  • If the maximum output power that you set is smaller than the total power required by PDs, PDs with lower priority are powered off or cannot be powered on manually.

  • The maximum output power of the device you configured should be smaller than the remaining power of the device. Otherwise, the configuration may be invalid.

Example

# Set the maximum output power of the device to 45000 mW.
<HUAWEI> system-view
[HUAWEI] poe max-power 45000 slot 0

poe power

Function

The poe power command sets the maximum output power of an interface.

The undo poe power command restores the default maximum output power of an interface.

By default, the maximum power of each interface is 30000 mW , except for the following exceptions: each MultiGE interface of the S5720-14X-PWH-SI-AC provides a maximum of 90000 mW power; each MultiGE interface of S5720-28X-PWH-LI-AC, interfaces GE0/0/1 to GE0/0/12 of the S5720-16X-PWH-LI-AC, and S6720SI provide a maximum of 60000 mW power.

Format

poe power port-max-power

undo poe power

Parameters

Parameter

Description

Value

port-max-power

Specifies the maximum output power of an interface.

The value is an integer that ranges from 0 to 30000 mW , except for the following exceptions: each MultiGE interface of the S5720-14X-PWH-SI-AC ranges from 0 to 90000 mW; each MultiGE interface of S5720-28X-PWH-LI-AC, interfaces GE0/0/1 to GE0/0/12 of the S5720-16X-PWH-LI-AC, and S6720SI ranges from 0 to 60000 mW power.

Views

Ethernet interface view, GE interface view, port group view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

The PD negotiation power may be different from the power required by some non-standard PDs or PDs that cannot be classified. You can run the poe power command to set the maximum output power of the interface, which prevents power overload for PDs and saves energy.

Prerequisites

The PoE function has been enabled on the interface using the poe enable command.

Example

# Set the maximum output power on GigabitEthernet0/0/1 to 15400 mW.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe power 15400

poe power-management

Function

The poe power-management command sets the power management mode of the device.

The undo poe power-management command restores the default power management mode of the device.

By default, the device uses the automatic power management mode.

NOTE:

Among PoE models, the S5730SI, S5730S-EI, S5720-16X-PWH-LI-AC, S5720-28X-PWH-LI-AC, and S6720SI do not support this command.

Format

poe power-management { auto | manual } [ slot slot-id ]

undo poe power-management { auto | manual } slot slot-id

undo poe power-management [ slot slot-id ]

Parameters

Parameter

Description

Value

auto

Specifies the power management mode to automatic mode.

-

manual

Specifies the power management mode to manual mode.

-

slot slot-id

Specifies the stack ID.

The value is 0 if stacking is not configured. The value ranges from 0 to 8 if stacking is configured.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

In automatic power management mode, the device first provides power for the interfaces with higher priority and powers off the interfaces of lower priority when the power is insufficient. When the power is sufficient, all interfaces connected to PDs are powered on. To stop providing power for some interfaces, run the undo poe enable command to disable the PoE function on the interfaces. If the PoE function is enabled and disabled frequently, faults may occur on the interfaces. To prevent the faults, you can set the power management mode to manual mode. In manual mode, the power-on and power-off of an interface are controlled manually and not affected by the interface power priority.

Precautions

  • If all the interfaces are of the same priority, the power supply priority of the interface with a smaller interface number is higher in automatic mode.

  • You can view the power management mode by running the display poe information command.

Follow-up Procedures

After setting the power management mode to manual, you need to run the poe { power-off | power-on } interface command to manually power on or off the PDs connected to interfaces of the device. If the device restarts after being powered off, you need to run the power-on command on the interfaces again to power on the PDs connected to the interfaces. If the device restarts without being powered off, you do not need to run the power-on command on the interfaces again to power on the PDs.

Example

# Set the power management mode of a device to automatic mode.
<HUAWEI> system-view
[HUAWEI] poe power-management auto slot 0

poe power-off time-range

Function

The poe power-off time-range command makes a configured PoE power-off time range effective on an interface.

The undo poe power-off time-range command cancels the configuration.

By default, a device is not configured with PoE power-off time range.

Format

poe power-off time-range time-range-name

undo poe power-off time-range

Parameters

Parameter

Description

Value

time-range-name

Specifies a name for a PoE power-off time range.

The value is a string of 1 to 32 case-sensitive characters and must begin with a letter. In addition, the word all cannot be specified as a time range name.

Views

Ethernet interface view, GE interface view, port group view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The poe power-off time-range command makes a PoE power-off time range set in the system view effective on an interface. If the current time is within the specified time range, the PD connected to the interface cannot be powered on.

The undo poe power-off time-range command cancels the configuration. The time range does not take effect on the PD connected to the interface; however, the configuration of the time range is still saved.

Pre-configuration Tasks

Before running the poe power-off time-range command, you must ensure a PoE power-off time range has been configured through running the time-range command in the system view.

Example

# Configure a PoE power-off time range from 10:00 to 11:00 for PDs connected to GigabitEthernet0/0/1.
<HUAWEI> system-view
[HUAWEI] time-range PoE 10:00 to 11:00 daily
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe power-off time-range PoE
Related Topics

poe power-on delay

Function

The poe power-on delay command sets the PoE power supply delay on an interface.

The undo poe power-on delay command restores the default PoE power supply delay on an interface.

By default, the PoE power supply delay is 0. That is, the PoE power supply is not delayed.

Format

poe power-on delay delay-time

undo poe power-on delay

Parameters

Parameter

Description

Value

delay-time

Specifies the PoE power supply delay.

The value is an integer that ranges from 1 to 10, in seconds.

Views

Ethernet interface view, GE interface view, port group view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The maintain current of the used PD is insufficient at the power-on moment, so the PoE switch considers that the PD has been disconnected and powers it off. IEEE standards require that a PD must maintain a current value of more than 10 mA for at least 75 ms in each 325 ms duration. Otherwise, the PoE switch considers that the PD has left and powers off the PD.

To enable the PoE switch to power these non-standard PDs, set the PoE power supply delay on the appropriate interfaces of the switch so that the switch detects the maintain power of the PDs after the specified delay.

Precautions

After the PoE power supply delay is configured on an interface, do not replace the PD connected to this interface within the delay. Otherwise, the new PD cannot work properly.

Example

# Set the PoE power supply delay to 5 seconds on GigabitEthernet0/0/1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe power-on delay 5

poe power-policy port-index-priority disable

Function

The poe power-policy port-index-priority disable command disables the device from powering on or off PDs connected to interfaces based on the interface numbers.

The undo poe power-policy port-index-priority disable command enables the device to power on or off PDs connected to interfaces based on the interface numbers.

By default, a device powers on or off PDs connected to interfaces based on the interface numbers.

NOTE:

Only the S2750EI, S5700LI, S5700S-LI, S5720EI, and S5720HI support this function.

Format

poe power-policy port-index-priority disable [ slot slot-id ]

undo poe power-policy port-index-priority disable [ slot slot-id ]

Parameters

Parameter

Description

Value

slot slot-id

Specifies a device ID.

The value is an integer, and the value range depends on the hardware configuration of the switch.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

In automatic power supply management mode, a PoE switch provides power to PDs connected to interfaces according to the following rules:
  1. Preferentially provides power to PDs connected to the interface with a higher power supply priority.
  2. Preferentially provides power to PDs connected to the interface with a smaller interface number if interfaces have the same power supply priority.

According to the rules, when the PoE power of a device is insufficient and interfaces connected to PDs have the same power supply priority, the device may power off PDs connected to the interface with a larger interface number to power on PDs connected to the interface with a smaller interface number even if these PDs are connected to the device last.

To prevent this problem, you can run the poe power-policy port-index-priority disable command to disable the device from powering on PDs connected to interfaces based on the interface numbers. Subsequently, when the PoE power is insufficient, the device does not power on the PDs that are connected later regardless of which interface they are connected to and does not power off the PDs that have been powered on.

Example

# Disable the device from powering on or off PDs connected to interfaces based on the port numbers.
<HUAWEI> system-view
[HUAWEI] poe power-policy port-index-priority disable

poe power-reserved

Function

The poe power-reserved command sets the percentage of the reserved PoE power against the total PoE power.

The undo poe power-reserved command restores the default percentage of the reserved PoE power against the total PoE power.

By default, the percentage of the reserved PoE power against the total PoE power is 20%.

Format

poe power-reserved power-reserved [ slot slot-id ]

undo poe power-reserved power-reserved slot slot-id

undo poe power-reserved [ slot slot-id ]

Parameters

Parameter

Description

Value

power-reserved

Specifies the percentage of the reserved PoE power against the total PoE power.

The value is an integer that ranges from 0 to 100, in percentage.

The default value is 20.

slot slot-id

Specifies the stack ID.

The value is 0 if stacking is not configured. The value ranges from 0 to 8 if stacking is configured.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

The device can dynamically allocate power to each interface according to the power consumption of each interface. The power consumption of a PD keeps changing when the PD is running. The system periodically calculates the total power consumption of all the PDs. If the total power consumption exceeds the upper threshold of the device, the system cuts off the power of the PDs on the interfaces of low priority to ensure that other PDs can run normally.

Sometimes, however, the power consumption increases sharply and the available power of the system cannot support the burst increase of power. At this time, the system has not calculated and found that the total power consumption exceeded the upper threshold; therefore, the system does not cut off power low-priority interfaces in time. As a result, the PoE power supply is shut down for overload protection, and all PDs are powered off.

This problem can be solved by running the poe power-reserved command to set proper reserved power. When there is a burst increase in power consumption, the reserved power can support the system running. Then the system has time to power off interfaces of low priority to ensure stable running of other PDs.

Precautions

  • The reserved power should not be set greater than 20%. If the reserved PoE power is greater than 20% of the total PoE power, the power capacity of the device is affected.
  • To set the maximum output power of a device, run the poe max-power command. In this case, the device calculates the reserved power based on the set maximum output power. If the maximum output power is not set, the available PoE power is the power provided by the PoE power module.

Example

# Set the percentage of reserved PoE power to the total PoE power to 30%.

<HUAWEI> system-view
[HUAWEI] poe power-reserved 30
Warning: This operation may power off some PDs of slot 0.Continue?[Y/N]:y

poe power-threshold

Function

The poe power-threshold command sets the alarm threshold of the PoE power consumption percentage.

The undo poe power-threshold command restores the default alarm threshold of the PoE power consumption percentage.

By default, the alarm threshold is 90%. That is, an alarm is generated when the consumed power accounts for 90% of the total power.

Format

poe power-threshold threshold-value [ slot slot-id ]

undo poe power-threshold threshold-value slot slot-id

undo poe power-threshold [ slot slot-id ]

Parameters

Parameter

Description

Value

threshold-value

Specifies the alarm threshold of the PoE power consumption percentage. When the power consumption reaches this value, a PoE power alarm is generated.

The value is an integer that ranges from 0 to 100, in percentage.

The default value is 90.

slot slot-id

Specifies the stack ID.

The value is 0 if stacking is not configured. The value ranges from 0 to 8 if stacking is configured.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The poe power-threshold command sets the alarm threshold of the PoE power consumption percentage. If the total PoE power is 369.6 W and the alarm threshold is 90%, an alarm is generated when the power consumption is greater than 332.64 W. When the power consumption falls below 332.64 W, the alarm is cleared.

Example

# Set the alarm threshold of the PoE power consumption percentage to 80%.

<HUAWEI> system-view
[HUAWEI] poe power-threshold 80
Related Topics

poe priority

Function

The poe priority command sets the power priority of a PoE interface.

The undo poe priority command restores the default power priority of a PoE interface.

By default, the power supply priority of an interface is low.

Format

poe priority { critical | high | low }

undo poe priority

Parameters

Parameter

Description

Value

critical

Indicates the highest priority.

-

high

Indicates the second highest priority.

-

low

Indicates the lowest priority.

-

Views

Ethernet interface view, GE interface view, port group view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

When the output power of a device is insufficient, the device in automatic power management mode provides power for the interfaces of the higher power supply priorities first and cuts off power of the interfaces of the lower power supply priorities. the S2750EI, S5700LI, S5700S-LI, S5720EI, and S5720HI provide power to PDs connected to the interfaces in ascending order of interface numbers. Other series of PoE switches provide power to PDs connected to the interfaces in the sequence in which PDs are connected to them.

Example

# Set the power supply priority of GigabitEthernet0/0/1 to critical.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe priority critical
Related Topics

poe single-class enable

Function

The poe single-class enable command configures the single-class power supply mode for an interface.

The undo poe single-class enable command restores the standard hierarchical power supply mode for an interface.

By default, an interface works in standard hierarchical power supply mode.

Format

poe single-class enable

undo poe single-class enable

Parameters

None

Views

Ethernet interface view, GE interface view, port group view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, a PoE interface works in standard hierarchical power supply mode. If PoE interfaces provide power to non-standard PDs in standard hierarchical power supply mode, these PDs cannot initiate power requests using LLDP or CDP and can only obtain a low power. As a result, these PDs cannot work normally. To address this issue, run the poe single-class enable command to configure the single-class power supply mode for PoE interfaces. These non-standard PDs can then initiate power requests and obtain the standard power supply to work normally.

Precautions
  • If a standard PD is connected to the interface, this PD may be unable to work normally after the poe single-class enable command is run.
  • On the S5730SI, S5730S-EI, S5720-16X-PWH-LI-AC, S5720-28X-PWH-LI-AC, and S6720SI, the poe af-inrush enable and poe single-class enable commands are mutually exclusive and cannot be configured on the same interface.

Example

# Configure the single-class power supply mode for GE0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe single-class enable

rps cold-backup

Function

The rps cold-backup command configures the RPS as the backup power module.

The undo rps cold-backup command restores the RPS power module for the PoE device.

By default, if a PoE switch connects to an RPS, the RPS and power modules of the switch supply power to the switch simultaneously.

NOTE:

Only the S5700-28P-PWR-LI-AC, S5700-28TP-PWR-LI-AC, S5700-28X-PWR-LI-AC, S5700-52P-PWR-LI-AC, S5700-52X-PWR-LI-AC, and S5701-28TP-PWR-LI-AC support the command.

Format

rps cold-backup [ slot slot-id ]

undo rps cold-backup [ slot slot-id ]

Parameters

Parameter

Description

Value

slot slot-id

Specifies the stack ID.

The value is 0 if stacking is not configured. The value ranges from 0 to 8 if stacking is configured.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenarios

S5700LI can use an RPS and its own power modules for power supply. By default, if a PoE switch connects to an RPS, the RPS and power modules of the switch supply power to the switch simultaneously. The switch provides 800 W of PoE power. You can configure the RPS as a backup power supply using the rps cold-backup command. After you run this command, the switch uses its own power modules for PoE power supply. If the total power consumption of all PDs connected to the switch is low, the RPS can be configured as a backup power supply to save power.

Precautions

  • The command is valid only when the RPS has been correctly connected to the switch and powered on.

  • When the AC input voltage is 220 V, the RPS that has one 870 W PoE power module can provide 800 W PoE power for only one PoE switch. The RPS can have at most two 870 W PoE power modules configured to provide PoE power for two PoE switches, 800 W PoE power for each switch.

  • When the AC input voltage is 110 V, each 870 W PoE power module can provide only 400 W PoE power. If you need to use the RPS to provide PoE power, the RPS must have two 870 W PoE power modules configured and it can provide only one port to provide 800 W PoE power for one PoE switch.

  • If an RPS is not used as a backup power supply, it can provide PoE power supply to a maximum of two S5700LI switches at the same time.
  • When an RPS is configured as a backup power supply, it can provide power redundancy for a maximum of six switches. If the power modules of a switch fail, the RPS can provide power supply to the switch immediately to ensure uninterrupted services. The RPS can ensure seamless power supply switchover for one switch at a time.
  • Switches connected to the same RPS must have the same configuration.

Example

# Set the RPS to the backup PoE power module.
<HUAWEI> system-view
[HUAWEI] rps cold-backup
Warning: The RPS power will change the supply mode! Continue? [Y/N]:y           
Info: Succeeded in setting the configuration. This command will take effect only after 
RPS has capability for power suppply.

snmp-agent trap enable feature-name poetrap

Function

snmp-agent trap enable feature-name poetrap command enables the trap function for the POETRAP module.

undo snmp-agent trap enable feature-name poetrap command disables the trap function for the POETRAP module.

By default, the trap function is enabled for the POETRAP module.

Format

snmp-agent trap enable feature-name poetrap [ trap-name trap-name ]

undo snmp-agent trap enable feature-name poetrap [ trap-name trap-name ]

Parameters

Parameter

Description

Value

trap-name trap-name

Specifies the trap for an event of the POETRAP module.

The value is an enumerated value and must be set as prompted by the device.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When the trap function is enabled, the device generates traps during running and sends traps to the NMS through SNMP. When the trap function is not enabled, the device does not generate traps and the SNMP module does not send traps to the NMS.

You can specify trap-name to enable the trap function for one or more events.

Example

# Enable the hwpoepdconnected trap of the POETRAP module.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name poetrap trap-name hwpoepdconnected
Translation
Download
Updated: 2019-04-18

Document ID: EDOC1000178165

Views: 42191

Downloads: 1103

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next