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

S7700 and S9700 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 the S7703, S7706, S7712 support PoE.

display poe device

Function

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

Format

display poe device(In a non-CSS scenario)

display poe device [ all | chassis chassis-id ](In a CSS scenario)

Parameters

Parameter

Description

Value

all

Displays whether all devices support PoE in a CSS.

-

chassis chassis-id

Displays whether the specified device supports PoE in a CSS.

The value is 1 or 2.

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 and view the board supporting PoE. 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 1 : PoE
Slot 3 : PoE
Table 3-109  Description of the display poe device command output

Item

Description

Slot 1

The board in slot 1 supports PoE.

Slot 3

The board in slot 3 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 ](In a non-CSS scenario)

display poe information [ all | chassis chassis-id | slot slot-id ](In a CSS scenario)

Parameters

Parameter

Description

Value

all

Displays PoE running information about all slots.

-

chassis chassis-id

Displays PoE running information about all slots in a specified chassis.

The value is 1 or 2.

slot slot-id

Displays the PoE running information in a specified slot.

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

The value must be set according to the device configuration.

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 4:
     Power Max Value(mW)      : 1776000
     Power Current Value(mW)  : 673200
     Power Peak Value(mW)     : 854000
     Total Reference Power(mW): 850000
     Power-Management mode    : auto
     Power High Inrush        : disable
PSE Information of slot 5:
     Power Max Value(mW)      : 1776000
     Power Current Value(mW)  : 562400
     Power Peak Value(mW)     : 654000
     Total Reference Power(mW): 740000
     Power-Management mode    : auto
     Power High Inrush        : disable
     Port Index Priority      : enable
Table 3-110  Description of the display poe information command output

Item

Description

Power Max Value(mW)

Maximum power set for a board.

To set the value, run the poe max-power command.

Power Current Value(mW)

Current power consumption of a board.

Power Peak Value(mW)

Peak power consumption of a board.

Total Reference Power(mW)

Total reference power of all PDs connected to a board.

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 in a specified slot.

The value is an integer, and the value range depends on the device configuration.

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.

-

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.

An interface provides 15400 mW power to PDs based on the power class 0 if non-standard PDs are connected to the interface. 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 board in slot 1.
<HUAWEI> display poe power slot 1
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)
----------------------------------------------------------------------------------------------------------------------------
GigabitEthernet1/0/0   -      -         37000     0         0         0         
GigabitEthernet1/0/1   -      -         37000     0         0         0         
GigabitEthernet1/0/2   -      -         37000     0         0         0         
GigabitEthernet1/0/3   -      -         37000     0         0         0         
GigabitEthernet1/0/4   -      -         37000     0         0         0         
GigabitEthernet1/0/5   -      -         37000     0         0         0         
GigabitEthernet1/0/6   -      -         37000     0         0         0         
GigabitEthernet1/0/7   -      -         37000     0         0         0         
GigabitEthernet1/0/8   -      -         37000     0         0         0         
GigabitEthernet1/0/9   -      -         37000     0         0         0         
GigabitEthernet1/0/10  -      -         37000     0         0         0         
GigabitEthernet1/0/11  -      -         37000     0         0         0         
GigabitEthernet1/0/12  -      -         37000     0         0         0         
GigabitEthernet1/0/13  -      -         37000     0         0         0         
GigabitEthernet1/0/14  -      -         37000     0         0         0         
GigabitEthernet1/0/15  -      -         37000     0         0         0         
GigabitEthernet1/0/16  -      -         37000     0         0         0         
GigabitEthernet1/0/17  -      -         37000     0         0         0         
GigabitEthernet1/0/18  -      -         37000     0         0         0         
GigabitEthernet1/0/19  -      -         37000     0         0         0         
GigabitEthernet1/0/20  -      -         37000     0         0         0         
GigabitEthernet1/0/21  -      -         37000     0         0         0         
GigabitEthernet1/0/22  -      -         37000     0         0         0         
GigabitEthernet1/0/23  -      -         37000     0         0         0         
GigabitEthernet1/0/24  -      -         37000     0         0         0         
GigabitEthernet1/0/25  -      -         37000     0         0         0         
GigabitEthernet1/0/26  -      -         37000     0         0         0         
GigabitEthernet1/0/27  -      -         37000     0         0         0         
GigabitEthernet1/0/28  -      -         37000     0         0         0         
GigabitEthernet1/0/29  -      -         37000     0         0         0         
GigabitEthernet1/0/30  -      -         37000     0         0         0         
GigabitEthernet1/0/31  -      -         37000     0         0         0         
GigabitEthernet1/0/32  -      -         37000     0         0         0         
GigabitEthernet1/0/33  -      -         37000     0         0         0         
GigabitEthernet1/0/34  -      -         37000     0         0         0         
GigabitEthernet1/0/35  -      -         37000     0         0         0         
GigabitEthernet1/0/36  -      -         37000     0         0         0         
GigabitEthernet1/0/37  -      -         37000     0         0         0         
GigabitEthernet1/0/38  -      -         37000     0         0         0         
GigabitEthernet1/0/39  -      -         37000     0         0         0         
GigabitEthernet1/0/40  -      -         37000     0         0         0         
GigabitEthernet1/0/41  -      -         37000     0         0         0         
GigabitEthernet1/0/42  -      -         37000     0         0         0         
GigabitEthernet1/0/43  -      -         37000     0         0         0         
GigabitEthernet1/0/44  -      -         37000     0         0         0         
GigabitEthernet1/0/45  2      7000      37000     3922      4028      3879      
GigabitEthernet1/0/46  -      -         37000     0         0         0         
GigabitEthernet1/0/47  -      -         37000     0         0         0         
Table 3-111  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 37 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 GigabitEthernet1/0/0.
<HUAWEI> display poe power interface gigabitethernet 1/0/0
Port PD power(mW)           : 3975                                              
Port PD class               : 2                                                 
Port PD reference power(mW) : 7000                                              
Port user set max power(mW) : 37000                                             
Port PD peak power(mW)      : 4028                                              
Port PD average power(mW)   : 3879                                              
Table 3-112  Description of the display poe power interface command output

Item

Description

Port PD power(mW)

Output power of an interface.

Port 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.

Port 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 37 W

Port user set max power(mW)

Maximum output power set for an interface.

To set the value, run the poe power command.

Port 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.

Port 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 interface.

The value range depends on the device configuration.

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.

-

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 5/0/0.
<HUAWEI> display poe power-state interface gigabitethernet 5/0/0
 Port legacy detect           : enable                                                                                              
 Port power enabled           : enable                                                                                              
 Port power ON/OFF            : on                                                                                                  
 Port power status            : Delivering-power                                                                                    
 Port PD class                : 1                                                                                                   
 Port reference power(mW)     : 4000                                                                                                
 Port power priority          : Low                                                                                                 
 Port max power(mW)           : 37000                                                                                               
 Port current power(mW)       : 1749                                                                                                
 Port peak power(mW)          : 2703                                                                                                
 Port average power(mW)       : 1696                                                                                                
 Port current(mA)             : 33.0                                                                                                
 Port voltage(V)              : 53.0                                                                                                
 Port af-inrush enabled       : disable     
Table 3-113  Description of the display poe power-state interface command output

Item

Description

Port 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.

Port power enabled

Whether PoE is enabled on an interface.

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

Port 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.

Port 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.
  • Delivering-power: indicates that the PSE starts to power on the interface.
  • Overloaded: indicates that the power is overloaded.
  • Power off time range: indicates that the interface is in the power-off time range.
  • Legacy disable: indicates that the PSE does not check the capability of PDs.

Port 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.

Port 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 37000 mW

Port 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.

Port max power(mW)

Maximum output power of an interface.

To set the value, run the poe power command.

Port current power(mW)

Current output power of an interface.

Port peak power(mW)

Peak output power of an interface.

Port average power(mW)

Average output power of an interface.

Port current(mA)

Output current of an interface.

Port voltage(V )

Output voltage of an interface.

Port af-inrush enabled

Power supply mode of an interface.
  • disable: ndicates the power supply mode is 802.3at.
  • enable: indicates the power supply mode is 802.3af.

To set the value, run the poe af-inrush enable command.

# Display the PoE power supply status of all the interfaces on the board in slot 5.
<HUAWEI> display poe power-state slot 5
PortName                 PowerOn/Off  Enabled  Priority Status
--------------------------------------------------------------------------------
GigabitEthernet5/0/0     on           enable   Low      Delivering-powe
GigabitEthernet5/0/1     off          enable   Low      Detecting
GigabitEthernet5/0/2     off          enable   Low      Detecting
GigabitEthernet5/0/3     off          enable   Low      Detecting
GigabitEthernet5/0/4     off          enable   Low      Detecting
GigabitEthernet5/0/5     off          enable   Low      Detecting
GigabitEthernet5/0/6     off          enable   Low      Detecting
GigabitEthernet5/0/7     off          enable   Low      Detecting
GigabitEthernet5/0/8     off          enable   Low      Detecting
GigabitEthernet5/0/9     off          enable   Low      Detecting
GigabitEthernet5/0/10    off          enable   Low      Detecting
GigabitEthernet5/0/11    off          enable   Low      Detecting
GigabitEthernet5/0/12    off          enable   Low      Detecting
GigabitEthernet5/0/13    off          enable   Low      Detecting
GigabitEthernet5/0/14    off          enable   Low      Detecting
GigabitEthernet5/0/15    off          enable   Low      Detecting
GigabitEthernet5/0/16    off          enable   Low      Detecting
GigabitEthernet5/0/17    off          enable   Low      Detecting
GigabitEthernet5/0/18    off          enable   Low      Detecting
GigabitEthernet5/0/19    off          enable   Low      Detecting
GigabitEthernet5/0/20    off          enable   Low      Detecting
GigabitEthernet5/0/21    off          enable   Low      Detecting
GigabitEthernet5/0/22    off          enable   Low      Detecting
GigabitEthernet5/0/23    off          enable   Low      Detecting
Table 3-114  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.

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.
  • Delivering-power: indicates that the PSE starts to power on the interface.
  • Overloaded: indicates that the power is overloaded.
  • Power off time range: indicates that the interface is in the power-off time range.
  • Legacy disable: indicates that the PSE does not check the capability of PDs.

display poe-power

Function

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

Format

display poe-power(In a non-CSS scenario)

display poe-power [ all | chassis chassis-id ](In a CSS scenario)

Parameters

Parameter

Description

Value

all

Displays PoE power supply information about all devices in a CSS.

-

chassis chassis-id

Displays PoE power supply information about a specified device in a CSS.

The value is 1 or 2.

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, PoE power backup mode, and PoE power module.

Example

# Display PoE power information.
<HUAWEI> display poe-power
Available power value(mW)     : 3200000                                        
 Power Utilization-threshold  : 90%                                             
 Reserved power percent       : 20%                                             
 Power backup-mode            : 4+0                                             
 PoE power 1 :                                                                  
     Power value(mW)   : 800000                                                 
     Voltage  value(V) : 53.37                                                  
     Current  value(A) : 8.14                                                   
 PoE power 2 :                                                                  
     Power value(mW)   : 800000                                                 
     Voltage  value(V) : 53.43                                                  
     Current  value(A) : 8.08                                                   
 PoE power 3 :                                                                  
     Power value(mW)   : 800000                                                 
     Voltage  value(V) : 53.25                                                  
     Current  value(A) : 9.26                                                   
 PoE power 4 :                                                                  
     Power value(mW)   : 800000                                                 
     Voltage  value(V) : 53.58                                                  
     Current  value(A) : 7.93                   
Table 3-115  Description of the display poe-power command output

Item

Description

Available power value(mW)

PoE power that the system can provide.

Power Utilization-threshold

Alarm threshold percentage of PoE power consumption.

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

Reserved power percent

Reserved PoE power percentage.

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

Power backup-mode

Specifies the backup mode of PoE power supplies.

The backup mode can be 1+0, 4+0, 3+1, and 2+2. To set the backup mode, run the poe-power backup-mode command.

Power Value(mW)

Power of a PoE power supply.

Power value(mW)

Power provided by one PoE power supply module.

Voltage value(V)

Current voltage of the PoE power supply. The unit is V.

Current value(A)

Current current of the PoE power supply. The unit is A.

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-116  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

GE 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

  • Only the interfaces of ES0D0G48VA00 board support the poe af-inrush enable command.
  • 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.

Example

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

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] poe af-inrush enable
Warning: This operation may cause PD to work abnormally. 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

GE interface view, port group 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

Currently, only interfaces on ES0D0G48VA00 boards support PoE.

Example

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

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 a slot.

The value range depends on the device configuration.

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 board in slot 1 to allow generation of the high pulse current during power-on.

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

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.

The undo poe power-on interface command manually cancels the power-on operation for the PD on the interface.

Format

poe { power-off | power-on } interface { interface-type interface-number [ to interface-number ] } &<1-10>

undo poe 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

By default, a PoE device works in automatic power management mode. After a PD is connected to a PoE device, the PoE device automatically provides power for the PD.

After you run thepoe power-managementcommand to configure the power management mode of a PoE device to manual, the PoE device does not automatically provide power for PDs when PDs are connected to the PoE device. You need to run the poepower-oninterface command to manually power on the interfaces of the PoE device. Check whether the interface is powered on based on the Power ON/OFF field in thedisplay poe power-statecommand.

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 PoE board has been registered.

  • 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 1/0/0.
<HUAWEI> system-view
[HUAWEI] poe power-management manual slot 1
[HUAWEI] poe power-on interface gigabitethernet 1/0/0

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

GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

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.

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 GigabitEthernet1/0/0 to check the compatibility of the PD.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/0
[HUAWEI-GigabitEthernet1/0/0] poe legacy enable

poe max-power

Function

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

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

By default, the maximum output power of a PoE card depends on the power of the PoE power supply provided by the system.

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 0 to 1776000. The unit is mW.

slot slot-id

Specifies the slot ID.

The value range depends on the device configuration.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

By default, the power of a card in a slot depends on the remaining power of the device. The power of each card is not fixed. The poe max-power command allocates fixed power to each card. This ensures that each card provided with stable power when the power of the device is insufficient.

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 devicecard you configured should be smaller than the remaining power of the device. Otherwise, PDs on other cards may be powered off the configuration may be invalid.

Example

# Set the maximum output of the PoE card in slot 5 to 216000 mW.
<HUAWEI> system-view
[HUAWEI] poe max-power 216000 slot 5

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 37000 mW.

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 37000 mW.

Views

GE interface view, port group 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.

Generally, the maximum power required by a standard PD is 30000 mW. To be compatible with more PDs, the device provides a maximum interface power of 37000 mW. Therefore the reserved power is 7000 mW.

Prerequisites

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

Example

# Set the maximum output power on GigabitEthernet5/0/0 to 20000 mW.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 5/0/0
[HUAWEI-GigabitEthernet5/0/0] poe power 20000

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.

Format

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

undo poe power-management [ auto | manual ] 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 slot ID of a board.

The value range depends on the device configuration.

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 the board in slot 5 to manual mode.
<HUAWEI> system-view
[HUAWEI] poe power-management manual slot 5

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

GE interface view, port group 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 GigabitEthernet1/0/0.
<HUAWEI> system-view
[HUAWEI] time-range PoE 10:00 to 11:00 daily
[HUAWEI] interface gigabitethernet 1/0/0
[HUAWEI-GigabitEthernet1/0/0] poe power-off time-range PoE

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.

Format

poe power-policy port-index-priority disable [ all | chassis chassis-id ]

undo poe power-policy port-index-priority disable [ all | chassis chassis-id ]

Parameters

Parameter

Description

Value

all

Indicates all devices. This parameter is supported only in a CSS.

-

chassis chassis-id

Specifies the chassis ID of the device. This parameter is supported only in a CSS.

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 (In a non-CSS scenario)

undo poe power-reserved (In a non-CSS scenario)

poe power-reserved power-reserved [ all | chassis chassis-id ] (In a CSS scenario)

undo poe power-reserved [ all | chassis chassis-id ] (In a CSS scenario)

Parameters

Parameter

Description

Value

all

Indicates all devices in a CSS.

-

chassis chassis-id

Specifies the CSS ID of a device in a CSS.

The value is 1 or 2.

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.

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 board, run the poe max-power command. In this case, the board 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.Continue?[Y/N]:y

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

GE interface view, port group 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. If all the interfaces are of the same priority, the power supply priority of the interface with a smaller interface number is higher.

Example

# Set the power supply priority of GigabitEthernet1/0/0 to critical.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/0
[HUAWEI-GigabitEthernet1/0/0] poe priority critical
Warning: This operation may power off some PD with lower priority. Continue?[Y/N]:y
Related Topics

poe-power backup-mode

Function

The poe-power backup-mode command sets the backup mode of PoE power supplies.

The undo poe-power backup-mode command restores the default backup mode of PoE power supplies.

By default, the PoE power has no backup.

NOTE:

Only S7706 and S7712 support this command.

Format

poe-power backup-mode backup-mode(On a stand-alone device scenario)

undo poe-power backup-mode(On a stand-alone device scenario)

poe-power backup-mode backup-mode [ all | chassis chassis-id ](In a CSS scenario)

undo poe-power backup-mode [ all | chassis chassis-id ](In a CSS scenario)

Parameters

Parameter

Description

Value

all

Indicates all devices in a CSS.

-

chassis chassis-id

Specifies the stack ID of a device in a CSS.

The value is 1 or 2.

backup-mode

Specifies the backup mode of PoE power supplies.

The value is an integer.
  • The value ranges from 2 to 4 on the S7706 and S7712.

    The default value is 4.

    • 2: The backup mode is 2+2. Two PoE power supplies are used as active power supplies and two PoE power supplies are used as backup power supplies.
    • 3: The backup mode is 3+1. Three PoE power supplies are used as active power supplies and one PoE power supply is used as the backup power supply.
    • 4: The backup mode is 4+0. Four power supplies are used as active power supplies.
  • The S7703 provides only one PoE power supply slot. Therefore, It does not support the backup mode.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The S7706 and S7712 provide four PoE power supplies and support 4+0, 3+1, and 2+2 backup modes.

The more active PoE power s provides the greater available power. However, the backup power supply improves the stability of PoE power supply. You need to consider both the power and stability of PoE power supply when configuring the PoE power backup mode.

Example

# Set the backup mode of the PoE power supplies to 3+1 backup.
<HUAWEI> system-view
[HUAWEI] poe-power backup-mode 3
Related Topics

poe-power utilization-threshold

Function

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

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

By default, the alarm threshold percentage is 90%.

Format

poe-power utilization-threshold threshold-value(In a non-CSS scenario)

undo poe-power utilization-threshold(In a non-CSS scenario)

poe-power utilization-threshold threshold-value [ all | chassis chassis-id ](In a CSS scenario)

undo poe-power utilization-threshold [ all | chassis chassis-id ](In a CSS scenario)

Parameters

Parameter

Description

Value

all

Indicates all devices in a CSS.

-

chassis chassis-id

Specifies the CSS ID of a device in a CSS.

The value is 1 or 2.

threshold-value

Specifies the percentage of the PoE power consumption to the total PoE power.

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

The default value is 90.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

You can use the poe-power utilization-threshold command to set the alarm threshold of the PoE power consumption. When the total power consumed by PDs exceeds the configured upper limit, an alarm is generated to notify users of this event. If the total PoE power is 1600 W and the alarm threshold of the PoE power consumption is 90%, when the power consumption is greater than 1440 W, an alarm that the PoE power consumption exceeds the threshold is generated. When the power consumption is recovered to less than 1440 W, an alarm that the PoE power consumption is recovered is generated.

Precautions

Example

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

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

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-10-18

Document ID: EDOC1000178288

Views: 26689

Downloads: 109

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