32-PoE-PoE Profile Command

Download


Chapter 1  PoE Configuration Commands

1.1  PoE Configuration Commands

1.1.1  apply poe-profile

Syntax

apply poe-profile { index index | name profile-name }

undo apply poe-profile { index index | name profile-name }

View

PoE interface view

Parameter

index index: Specifies the index number of the PoE configuration file. The index number ranges from 1 to 100.

name profile-name: Specifies the name of the PoE configuration file. The file name consists of 1 to 15 characters.

Description

Use the apply poe-profile command to apply the PoE configuration file to the current PoE interface.

Use the undo apply poe-profile command to remove the application of the PoE configuration file to the current PoE interface.

Note that the index number, instead of the name, of the PoE configuration file will be displayed when you execute the display this command.

Related command: display poe-profile and apply poe-profile interface.

Example

# Apply the PoE configuration file named A20 to the PoE interface GigabitEthernet1/0/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet1/0/1

[Sysname-GigabitEthernet1/0/1] apply poe-profile name A20

[Sysname-GigabitEthernet1/0/1] display this

#

interface GigabitEthernet1/0/1

 port link-mode route

 apply poe-profile index 1

#

1.1.2  apply poe-profile interface

Syntax

apply poe-profile { index index | name profile-name } interface interface-range

undo apply poe-profile { index index | name profile-name } interface interface-range

View

System view

Parameter

index index: Specifies the index number of the PoE configuration file. The index number ranges from 1 to 100.

name profile-name: Specifies the name of the PoE configuration file. The file name consists of 1 to 15 characters.

interface-range: Range of Ethernet interface numbers, indicating multiple Ethernet interfaces. The expression is interface-range = interface-type interface-number [ to interface-type interface-number ]. Where interface-type interface-number represents the interface type and interface number. The start interface number should be less than the end interface number. Ethernet interface numbers can be in any range. If any interface in the specified range does not support PoE, it will be ignored when the PoE configuration file is applied.

Description

Use the apply poe-profile interface command to apply the PoE configuration file to one or more PoE interfaces.

Use the undo apply poe-profile interface command to remove the application of the PoE configuration file to the specified PoE interface(s).

Related command: display poe-profile interface and apply poe-profile.

Example

# Apply the PoE configuration file named ABC to the PoE interface GigabitEthernet1/0/1.

<Sysname> system-view

[Sysname] apply poe-profile name ABC interface GigabitEthernet1/0/1

# Apply the indexed PoE configuration file to PoE interfaces GigabitEthernet1/0/2 through GigabitEthernet1/0/8.

<Sysname> system-view

[Sysname] apply poe-profile index 5 interface GigabitEthernet1/0/2 to GigabitEthernet1/0/8

1.1.3  display poe device

Syntax

display poe device

View

Any view

Parameter

None

Description

Use the display poe device command to display the mapping between ID, module, and slot of the power sourcing equipment (PSE).

Example

# Display the mapping between ID, module, and slot of each PSE.

<Sysname> display poe device

 PSE ID  SlotNo PortNum  MaxPower(W)  State   Model

 1        0        0       48       370            off     LSP1POEA

Table 1-1 Description on fields of the display poe device command

Field

Description

PSE ID

ID of the PSE

SlotNo

Slot number of the PSE

PortNum

Number of PoE interfaces on the PSE

MaxPower(W)

Maximum power of the PSE (W)

State

PSE state:

on: The PSE is supplying power.

off: The PSE stops supplying power.

faulty: The PSE is faulty

Model

PSE model

 

1.1.4  display poe interface

Syntax

display poe interface [ interface-type interface-number ]

View

Any view

Parameter

interface-type interface-number: Interface type and interface number.

Description

Use the display poe interface command to display the power information of the specified interface.

If no interface is specified, the power information of all PoE interfaces will be displayed.

Example

# Display the state of GigabitEthernet1/0/10.

<Sysname> display poe interface GigabitEthernet1/0/10

 Port Power Enabled                : enable

 Port Power Priority              : critical

 Port Operating Status            : on

 Port IEEE Class                   : 1

 Port Detection Status            : delivering-power

 Port Current Power               : 11592    mW

 Port Average Power               : 11610    mW

 Port Peak Power                   : 11684    mW

 Port Max Power                    : 15400    mW

 Port Current                      : 244      mA

 Port Voltage                      : 51.7     V

 Port PD Description              : IP Phone For Room 101

Table 1-2 Description on fields of the display poe interface ethernet command

Field

Description

Port Power Enabled

PoE enabled/disabled state

l      enable: PoE is enabled.

l      disable: PoE is disabled.

Port Power Priority

Power priority of the PoE interface:

l      critical (highest)

l      high

l      low

Port Operating Status

Operating state of a PoE interface:

l      off: PoE is disabled.

l      on: Power is supplied for a PoE interface normally.

power lack: The guaranteed remaining power of the PSE is not high enough to supply power for a critical PoE interface.

l      power-deny: The PSE refuses to supply power. The power required by the powered device (PD) is higher than the configured power.

l      power-itself: The external equipment is supplying power for itself.

l      power-limit: The PSE is supplying a limited power. The power required by the PD is higher than the configured power and the PSE still supplies the configured power.

l      Different models of device support different operating states.

Port IEEE class

PD power class: 0, 1, 2, 3, 4, and -

The support for the - field depends on the device model.

Port Detection Status

Power detection state of a PoE interface:

l      disabled: The PoE function is disabled.

l      searching: The PoE interface is searching for the PD.

l      delivering-power: The PoE interface is supplying power for the PD.

l      fault: There is a fault defined in 802.3af.

l      test: The PoE interface is under test.

l      other-fault: There is a fault other than defined in 802.3af.

l      pd-disconnect: The PD is disconnected.

Different models of device support different detection states.

Port Power Mode

Power mode of a PoE interface:

l      signal: Power is supplied over signal cables.

The PSE applies power to a PoE interface in two modes. For a device with only signal cables, power is supplied over signal cables. An S5500-SI switch cannot provide power supply through spare cables. So you need to use an intermediate device for an S5500-SI switch to provide power supply to devices that can only be powered by spare cables.

Port Current Power

Current power of a PoE interface, including PD consumption power and transmission loss

The transmission loss usually does not exceed one watt. The specific loss depends on the device model.

Port Average Power

Average power of a PoE interface

Port Peak Power

Peak power of a PoE interface

Port Max Power

Maximum power of a PoE interface

Port Current

Current of a PoE interface

Port Voltage

Voltage of a PoE interface

Port PD Description

Description of the PD connected to the PoE interface, which is used to identify the type and location of the PD.

 

# Display the state of all PoE interfaces.

<Sysname> display poe interface                                                        

 Interface  Enable   Priority  CurPower  Operating     IEEE   Detection    

                               (W)         Status        class  Status

 GE1/0/1    enable   low         4.4        on             1      delivering-power

 GE1/0/2    enable   critical   0     power-lack    -     disabled             

 GE1/0/3    enable   low        0     power-deny    -      disabled            

 GE1/0/4    enable   critical   0        on          -       searching             

 GE1/0/5    enable   low        4.0      power-limit   2     delivering-power

 GE1/0/6    enable   low        0     power-itself  -      disabled             

 GE1/0/7    disable  low        0        off         -      fault            

 GE1/0/8    disable  low        0        off         -      disabled             

 GE1/0/9    disable  low        0        off         -      disabled            

 GE1/0/10   disable  low        0        off         -      disabled             

 GE1/0/11   disable  low        0        off         -      disabled           

 GE1/0/12   disable  low        0        off         -      disabled         

 GE1/0/13   disable  low       0.0       off         -      disabled

 GE1/0/14   disable  low       0.0       off         -      disabled

 GE1/0/15   disable  low       0.0       off         -      disabled

 GE1/0/16   disable  low       0.0       off         -      disabled

 GE1/0/17   disable  low       0.0       off         -      disabled

 GE1/0/18   disable  low       0.0       off         -      disabled

 GE1/0/19   disable  low       0.0       off         -      disabled

 GE1/0/20   disable  low       0.0       off         -      disabled

 GE1/0/21   disable  low       0.0       off         -      disabled

 GE1/0/22   disable  low       0.0       off         -      disabled

 GE1/0/23   disable  low       0.0       off         -      disabled

 GE1/0/24   disable  low       0.0       off         -      disabled

 

  ---  2 port(s) on,    8.4 (W) consumed,   361.6 (W) remaining ---

Table 1-3 Description on fields of the display poe interface command

Field

Description

Interface

Shortened form of a PoE interface

Enable

PoE enabled/disabled state:

l      enable: PoE is enabled.

l      disable: PoE is disabled.

Priority

Power priority of a PoE interface:

l      critical (highest)

l      high

l      low

CurPower

Current power of a PoE interface

Operating Status

Operating state of a PoE interface

l      off: PoE is disabled.

l      on: Power is supplied for a PoE interface normally.

l      power-lack: The guaranteed remaining power of the PSE is not high enough to supply power for a critical PoE interface.

l      power-deny: The PSE refuses to supply power. The power required by the powered device (PD) is higher than the configured power.

l      power-itself: The external equipment is supplying power for itself.

l      power-limit: The PSE is supplying a limited power. The power required by the PD is higher than the configured power and the PSE still supplies the configured power.

Different models of device support different operating states.

IEEE class

PD power class stipulated by IEEE

Detection Status

Power detection state of a PoE interface:

l      disabled: The PoE function is disabled.

l      searching: The PoE interface is searching for the PD.

l      delivering-power: The PoE interface is supplying power for the PD.

l      fault: There is a fault defined in 802.3af.

l      test: The PoE interface is under test.

l      There is a fault other than defined in 802.3af.

l      pd-disconnect: The PD is disconnected.

Different models of device support different power detection states.

port(s) on

Number of PoE interfaces that are supplying power

consumed

Power consumed by the current PoE interface

Remaining

Total remaining power of the system

 

1.1.5  display poe interface power

Syntax

display poe interface power [ interface-type interface-number ]

View

Any view

Parameter

interface-type interface-number: Interface type and interface number.

Description

Use the display poe interface power command to display the power information of a PoE interface(s).

If no interface is specified, the power information of all PoE interfaces will be displayed.

Example

# Display the power information of GigabitEthernet1/0/1.

<Sysname> display poe interface power

Interface   CurPower  PeakPower   MaxPower  PD Description

             (W)       (W)         (W)

 GE1/0/1     4.4       4.5         4.6      IP Phone on Room 309 for Peter Smith..

 GE1/0/2     4.4       4.5        15.4

 GE1/0/3     15.0     15.3        15.4     Acess Point on Room 509 for Peter

 GE1/0/4     0.0       0.0         15.4    IP Phone on Room 609 for Peter John..

 GE1/0/5     0.0       0.0         15.4

 GE1/0/6     0.0       0.0         15.4

 GE1/0/7     0.0       0.0         15.4

 GE1/0/8     0.0       0.0         15.4

 GE1/0/9     0.0       0.0         15.4

 GE1/0/10    0.0       0.0         15.4

 GE1/0/11    0.0       0.0         15.4

 GE1/0/12    0.0       0.0         15.4

 GE1/0/13    0.0       0.0         15.4

 GE1/0/14    0.0       0.0         15.4

 GE1/0/15    0.0       0.0         15.4

 GE1/0/16    0.0       0.0         15.4

 GE1/0/17    0.0       0.0         15.4

 GE1/0/18    0.0       0.0         15.4

 GE1/0/19    0.0       0.0         15.4

 GE1/0/20    0.0       0.0         15.4

 GE1/0/21    0.0       0.0         15.4

 GE1/0/22    0.0       0.0         15.4

 GE1/0/23    0.0       0.0         15.4

 GE1/0/24    0.0       0.0         15.4

 

  ---  3 port(s) on,    23.8 (W) consumed,   346.2 (W) remaining ---          

Table 1-4 Description on fields of the display poe interface power command

Field

Description

Interface

Shortened form of a PoE interface

CurPower

Current power of a PoE interface

PeakPower

Peak power of a PoE interface

MaxPower

Maximum power of a PoE interface

PD Description

Description of the PD connected with a PoE interface When the description contains more than 34 characters, the first 30 characters followed by four dots will be displayed.

port(s) on

Number of PoE interfaces that are supplying power

consumed

Power currently consumed by all PoE interfaces

Remaining

Total remaining power of the system

 

1.1.6  display poe pse

Syntax

display poe pse

View

Any view

Parameter

None

Description

Use the display poe pse command to display the information of the PSE.

Example

# Display the information of PSE.

<Sysname> display poe pse

 PSE ID                           : 1

 PSE Slot No                      : 0

 PSE SubSlot No                   : 0

 PSE Model                        : LSP1POEA

 PSE Current Power                : 0      W

 PSE Average Power                : 0       W

 PSE Peak Power                   : 0      W

 PSE Max Power                    : 370      W

 PSE Remaining Guaranteed         : 370      W

 PSE CPLD Version                 : -

 PSE Software Version             : 501

 PSE Hardware Version             : 1

 PSE Legacy Detection             : disable

 PSE Utilization-threshold        : 80

 PSE Pd-policy Mode               : disable

 PSE PD Disconnect Detect Mode    : AC 

Table 1-5 Description on fields of the display poe pse command

Field

Description

PSE ID

ID of the PSE

PSE Slot No

Slot number of the PSE

PSE Model

Model of the PSE module

PSE Power Enabled

PoE is enabled for the PSE

PSE Power Preempted

PSE power preempted state

l      no: The power of the PSE is not preempted.

l      yes: The power of the PSE is preempted so that it can supply power, although PoE is enabled for the PSE

PSE Power Priority

Power priority of the PSE

PSE Current Power

Current power of the PSE

PSE Average Power

Average power of the PSE

PSE Peak Power

Peak power of the PSE

PSE Max Power

Maximum power of the PSE

PSE Remaining Guaranteed

Guaranteed remaining power of the PSE = Maximum power of the PSE– the sum of the maximum power of the critical PoE interfaces of the PSE

PSE CPLD Version

PSE CPLD version

PSE Software Version

PSE software version number

PSE Hardware Version

PSE hardware version number

PSE Legacy Detection

Nonstandard PD detection by the PSE:

l      enable: Enabled

l      disable: Disabled

PSE Utilization-threshold

PSE power alarm threshold

PSE Pse-policy Mode

PSE power management policy mode

PSE Pd-policy Mode

PD power management policy mode

PSE PD Disconnect Detect Mode

PD disconnection detection mode

 

1.1.7  display poe-profile

Syntax

display poe-profile [ index index | name profile-name ]

View

Any view

Parameter

index index: Specifies the index number of the PoE configuration file. The index number ranges from 1 to 100.

name profile-name: Specifies the name of the PoE configuration file. The file name consists of 1 to 15 characters.

Description

Use the display poe-profile command to display all information of the configurations and applications of the PoE configuration file.

If no argument is specified, all information of the configurations and applications of existing PoE configuration files will be displayed.

Example

# Display all information of the configurations and applications of the current PoE configuration file.

<Sysname> display poe-profile 

Poe-profile      Index  ApplyNum  Interface   Configuration

 AA3456789012345  1      3         GE1/0/1     poe enable

                                   GE1/0/2     poe priority critical

                                   GE1/0/3

                                  

 poe-profileAA    2      1         GE1/0/24    poe enable           

                                               poe max-power 12300  

                                              

 poe-profileBB    3      0                       poe enable          

                                                 poe priority critical

                                              

 ---  3 poe-profile(s) created, 4 port(s) applied  --- 

Table 1-6 Description on fields of the display poe-profile command

Field

Description

Poe-profile

Name of the PoE configuration file

Index

Index number of the PoE configuration file

ApplyNum

Number of PoE interfaces to which a PoE configuration file is applied

Interface

Shortened form of the PoE interface to which the PoE configuration is applied

Configuration

Configurations of the PoE configuration file

poe-profile(s) created

Number of PoE configuration files

port(s) applied

Sum of the number of PoE interfaces to which all PoE configuration files are respectively applied

 

# Display all information of the configurations and applications of the PoE configuration file whose index number is 1.

<Sysname> display poe-profile name  AA

 Poe-profile      Index  ApplyNum  Interface  Configuration

 AA               1      2           GE1/0/2    poe enable

                                         GE1/0/24   poe priority critical

                                              poe max-power 12300

                                          

 ---  2 port(s) applied  ---

Table 1-7 Description on fields of the display poe-profile index command

Field

Description

Poe-profile

Name of the PoE configuration file

Index

Index number of the PoE configuration file

ApplyNum

Number of PoE interfaces to which a PoE configuration file is applied

Interface

Shortened form of the PoE interface to which the PoE configuration is applied

Configuration

Configurations of the PoE configuration file

port(s) applied

Sum of the number of PoE interfaces to which all PoE configuration files are respectively applied

 

# Display all information of the configurations and applications of the PoE configuration file named AA.

<Sysname> display poe-profile name AA

 Poe-profile      Index  ApplyNum  Interface  Configuration

 AA                 1       2           GE1/0      poe enable

                                        GE1/       poe priority critical

                                                   poe max-power 12300

---  2 port(s) applied  ---

Table 1-8 Description on fields of the display poe-profile name command

Field

Description

Poe-profile

Name of the PoE configuration file

Index

Index number of the PoE configuration file

ApplyNum

Number of PoE interfaces to which a PoE configuration file is applied

Interface

Shortened form of the PoE interface to which the PoE configuration is applied

Configuration

Configurations of the PoE configuration file

port(s) applied

Sum of the number of PoE interfaces to which all PoE configuration files are respectively applied

 

1.1.8  display poe-profile interface

Syntax

display poe-profile interface interface-type interface-number

View

Any view

Parameter

interface-type interface-number: Interface type and interface number.

Description

Use the display poe-profile interface command to display all information of the configurations and applications of the PoE configuration file that currently take effect on the specified PoE interface.

Example

# Display all information of the configurations and applications of the current PoE configuration file applied to GigabitEthernet1/0/2.

<Sysname> display poe-profile interface GigabitEthernet1/0/2

Poe-profile      Index  ApplyNum  Interface  Current Configuration

AA3456789012345  1      2          GE1/0/2      poe enable

                                                    poe priority critical

Table 1-9 Description on fields of the display poe-profile interface command

Field

Description

Poe-profile

Name of the PoE configuration file

Index

Index number of the PoE configuration file

ApplyNum

Number of PoE interfaces to which the PoE configuration file is applied

Interface

Shortened form of the PoE interface to which the PoE configuration is applied

Current Configuration

Configurations of the PoE configuration file that currently take effect on a PoE interface

 

&  Note:

Because not all the configurations of a PoE configuration file are applied successfully, only the configurations that currently take effect on the interface are displayed.

 

1.1.9  poe disconnect

Syntax

poe disconnect { ac | dc }

undo poe disconnect

View

System view

Parameter

ac: Specifies the PD disconnection detection mode as ac mode.

dc: Specifies the PD disconnection detection mode as dc mode.

Description

Use the poe disconnect command to configure a PD disconnection detection mode.

Use the undo poe disconnect command to restore the default PD disconnection detection mode.

The default PD disconnection detection mode depends on the device model.