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

AR500, AR510, and AR530 V200R007 Commands Reference

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

NOTE:

Only the AR509GW-L-D-H, AR509G-L-D-H 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

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

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 : 0                                                                                                        
     Power max        value(mW) : 148000                                                                                            
     Power peak       value(mW) : 0                                                                                                 
     Power current    value(mW) : 0                                                                                                 
     Total reference  power(mW) : 0                                                                                                 
     Power High Inrush     : Disable                                                                                                
     Power management mode : Auto                                                                                                   
                                                                                                                                    
 PSE information of slot : 1                                                                                                        
     Power max        value(mW) : 148000                                                                                            
     Power peak       value(mW) : 22896                                                                                             
     Power current    value(mW) : 21600                                                                                             
     Total reference  power(mW) : 53200                                                                                             
     Power High Inrush     : Disable                                                                                                
     Power management mode : Auto 
Table 3-49  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 peak value(mW)

Peak power consumption of a board.

Power current value(mW)

Current power consumption of a board.

Total reference power(mW)

Total reference power of all PDs connected to a board.

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.

Power management mode

Power management mode, including auto and manual modes.

To set the mode, run the poe power-management 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 power information about all interfaces supporting PoE 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.

Example

# Display the output power of all the interfaces on the board in slot 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) 
--------------------------------------------------------------------------------
Ethernet0/0/4          -      -         37000     0         0         0         
Ethernet0/0/5          -      -         37000     0         0         0         
Ethernet0/0/6          -      -         37000     0         0         0         
Ethernet0/0/7          -      -         37000     0         0         0   
Table 3-50  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 PDs 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.

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 output power of interface Eth0/0/4.
<Huawei> display poe power interface ethernet 0/0/4
Port PD           class     : -                                                 
Port PD           power(mW) : 200                                               
Port PD peak      power(mW) : 0                                                 
Port PD average   power(mW) : 0                                                 
Port PD reference power(mW) : -                                                 
Port user set max power(mW) : 37000 
Table 3-51  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.

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 power supply status of interfaces supporting PoE 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 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

Table 3-52  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.
  • Chip fault: indicates that the chip of the interface fails.
  • 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 PDs on the interface exceeds the threshold.
  • Unknown class: indicates that the class of the PD is unknown.
  • Power overcurrent: indicates that the current of the PD on the interface exceeds the maximum current of the interface.
  • Power-on failed: indicates that the interface fails to be powered on.
  • Power-ready: indicates that the interface is ready to be powered on.
  • Over loaded: indicates that the power is overloaded.

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 15.4 W
  • 1: reference power 4 W
  • 2: reference power 7 W
  • 3: reference power 15.4 W
  • 4: reference power 30 W

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.

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.

Table 3-53  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.
  • Chip fault: indicates that the chip of the interface fails.
  • 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 PDs on the interface exceeds the threshold.
  • Unknown class: indicates that the class of the PD is unknown.
  • Power overcurrent: indicates that the current of the PD on the interface exceeds the maximum current of the interface.
  • Power-on failed: indicates that the interface fails to be powered on.
  • Power-ready: indicates that the interface is ready to be powered on.
  • Over loaded: indicates that the power is overloaded.

display poe-power

Function

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

Format

display poe-power

Parameters

None

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)    : 130000                                          
 Power Utilization-threshold  : 90%                                             
 Reserved power percent       : 20%                                             
 Power backup-mode            : 1+1                                             
 POE power :                                                                  
     Power    value(mW) : 2928                                                  
     Voltage  value(V)  : 48.00                                                 
     Current  value(mA) : 61.00  
Table 3-54  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.

Currently, only 1+0 mode is available. To set the 1+0 mode.

PoE Power

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(mA)

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

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

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

Example

# Disable the PoE function on Ethernet0/0/4.
<Huawei> system-view
[Huawei] interface ethernet 0/0/4
[Huawei-Ethernet0/0/4] undo poe enable
Warning: This operation will power off PD of this port.Continue?[Y/N]:y         

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.

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 Ethernet 0/0/4 interface.
<Huawei> system-view
[Huawei] poe power-on interface ethernet 0/0/4
Info: Succeeded in powering on the PD of port Ethernet0/0/4.

poe legacy enable

Function

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

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

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

Format

poe legacy enable

undo poe legacy enable

Parameters

None

Views

Ethernet interface view, GE interface view

Default Level

2: Configuration level

Usage Guidelines

When compatibility check is enabled, the device can detect and provide power for the PD that does not comply with the 802.3af or 802.3at standard. If compatibility check is not enabled, the device cannot detect and provide power for the non-standard PD.

Example

# Enable Ethernet0/0/4 to check the compatibility of the PD.
<Huawei> system-view
[Huawei] interface ethernet 0/0/4
[Huawei-Ethernet0/0/4] 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 a device depends on the power of the PoE power supply provided by the system.

Format

poe slot slot-id max-power max-power

undo poe max-power slot slot-id

Parameters

Parameter

Description

Value

max-power

Specifies the maximum output power of a device.

The value is an integer from 0 to X, in mW. X indicates the total sum of maximum power of all interfaces in the specified slot.

slot slot-id

Specifies the slot ID of a PoE card.

The value range depends on the device configuration.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

By default, the system automatically obtains the maximum PoE power supported by the device. You can run the poe max-power command to set the maximum output power to ensure stable PoE power supply when the total 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.

Example

# Set the maximum output power of the device to 100000 mW.
<Huawei> system-view
[Huawei] poe slot 0 max-power 100000
Warning: This operation may power off some PD. Continue?[Y/N]:y

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 output power of an interface is 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 , in mW.

Views

Ethernet interface view, GE 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 of Ethernet0/0/4 to 20000 mW.
<Huawei> system-view
[Huawei] interface ethernet 0/0/4
[Huawei-Ethernet0/0/4] poe power 20000
Warning: This operation may power off the PD of this port.Continue?[Y/N]:y      
Info: Succeed in setting maximum power of port. 

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 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 is an integer, and 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.

Example

# Set the power management mode of the board in slot 0 to manual mode.
<Huawei> system-view
[Huawei] poe power-management manual 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 time unit is minutes.

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

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.

NOTE:

The poe power-off time-range command is only applied to automatic power management mode.

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 Ethernet0/0/4.
<Huawei> system-view
[Huawei] time-range PoE 10:00 to 11:00 daily
[Huawei] interface ethernet 0/0/4
[Huawei-Ethernet0/0/4] poe power-off time-range PoE
Warning: Do you want to set the power off time range "PoE"?[Y/N]:y 
Related Topics

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, 20% of the total power is reserved.

Format

poe power-reserved power-reserved

undo poe power-reserved

Parameters

Parameter

Description

Value

power-reserved

Specifies the percentage of the reserved PoE power against the available 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.

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

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

Example

# Set the power supply priority of Ethernet0/0/4 to critical.
<Huawei> system-view
[Huawei] interface ethernet 0/0/4
[Huawei-Ethernet0/0/4] poe priority critical
Warning: This operation may power off some PD with lower priority.Continue?[Y/N]:y 
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

undo poe-power utilization-threshold

Parameters

Parameter

Description

Value

threshold-value

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

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

Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 50790

Downloads: 102

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