PoE commands -- apply poe-profile

Use apply poe-profile to apply a PoE profile to a power interface (PI).

Use undo apply poe-profile to restore the default.

Syntax

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

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

Default

No PoE profile is applied to PIs.

Views

PI view

Predefined user roles

network-admin

mdc-admin

Parameters

index index: Specifies a PoE profile by its index number in the range of 1 to 100.

name profile-name: Specifies a PoE profile by its name, a case-sensitive string of 1 to 15 characters.

Examples

# Apply the PoE profile named forIPphone to GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

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

Related commands

apply poe-profile interface

display poe-profile

PoE commands -- apply poe-profile interface

Use apply poe-profile interface to apply a PoE profile to PIs.

Use undo apply poe-profile interface to remove the PoE profile application from PIs.

Syntax

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

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

Default

No PoE profile is applied to a PI.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

index index: Specifies a PoE profile by its index number in the range of 1 to 100.

name profile-name: Specifies a PoE profile by its name, a case-sensitive string of 1 to 15 characters.

interface-range: Specifies a range of Ethernet interfaces in the form of 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 must be smaller than the end interface number. If an interface in the specified range does not support PoE, it is ignored when the PoE profile is applied.

Examples

# Apply the PoE profile named forIPphone to GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] apply poe-profile name forIPphone interface gigabitethernet 1/0/1

# Apply the PoE profile with index number 1 to PIs GigabitEthernet 1/0/2 to GigabitEthernet 1/0/6.

<Sysname> system-view

[Sysname] apply poe-profile index 1 interface gigabitethernet 1/0/2 to gigabitethernet 1/0/6

Related commands

apply poe-profile

display poe-profile interface

PoE commands -- display poe device

Use display poe device to display general PSE information.

Syntax

Distributed devices in standalone mode:Centralized devices:

display poe device

Distributed devices in IRF mode:

display poe device [ chassis chassis-number ]

Centralized IRF devices:

display poe device [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays general PSE information about all PSEs in the IRF fabric. (Distributed devices in IRF mode.)

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays general PSE information about all PSEs in the IRF fabric. (Centralized IRF devices.)

Usage guidelines

Only the default MDC supports this command.

Examples

# Display general PSE information.

<Sysname> display poe device

PSE ID Slot No. SSlot No. PortNum MaxPower(W) State Model

1 0 0 48 0 Off LSP1POEA

Table 1 Command output

Field | Description
Slot | IRF member device ID.
PSE ID | ID of the PSE.
Slot No. | Slot number of the PSE.
SSlot No. | Sub-slot number of the PSE.
PortNum | Number of PIs on the PSE.
MaxPower(W) | Maximum power of the PSE.
State | PSE status: · On—The PSE is supplying power. · Off—The PSE is not supplying power. · Faulty—The PSE has failed.
Model | PSE model.

‌

PoE commands -- display poe interface

Use display poe interface to display power supplying information for PIs.

Syntax

display poe interface [ interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays power supplying information for all PIs.

Usage guidelines

Only the default MDC supports this command.

Examples

# Display power supplying information for GigabitEthernet 1/0/1.

<Sysname> display poe interface gigabitethernet 1/0/1

PoE Status : Enabled

Power Priority : Critical

Oper : On

IEEE Class : 1

Detection Status : Delivering power

Power Mode : Signal

Current Power : 11592 mW

Average Power : 11610 mW

Peak Power : 11684 mW

Max Power : 15400 mW

Electric Current : 244 mA

Voltage : 51.7 V

PD Description : IP Phone For Room 101

Table 2 Command output

Field | Description
PoE Status | PoE status: · Enabled. · Disabled.
Power Priority | Power supply priority of the PI: · Critical (highest). · High. · Low.
Oper | Operating status of a PI: · Off—PoE is disabled. · On—Power is being supplied to the PI correctly. · Power-lack—Remaining guaranteed power is insufficient for a critical PI. · Power-deny—The PSE refuses to supply power. The power required by the PD is higher than the configured power. · Power-itself—The PD is using another power supply. · Power-limit—The PSE is supplying power to the PD based on the configured power though the PD requires more power than the configured power.
IEEE Class | PD power class: 0, 1, 2, 3, or 4. If the PSE does not support PD classification, this field displays a hyphen (-).
Detection Status | Power detection status of a PI: · Disabled—The PoE function is disabled. · Searching—The PI is searching for the PD. · Delivering power—The PI is supplying power to the PD. · Fault—A fault occurred during the test. · Test—The PI is undergoing a test. · Other fault—A fault has caused the PSE to enter the idle status. · PD disconnected—The PD is disconnected.
Power Mode | Power transmission mode of a PI: · Signal—Power is being supplied over signal cables. · Spare—Power is being supplied over spare cables.
Current Power | Current power of a PI, including PD consumption power and transmission loss.
Average Power | Average power of a PI.
Peak Power | Peak power of a PI.
Max Power | Maximum power of a PI.
Electric Current | Current of a PI.
Voltage | Voltage of a PI.
PD Description | Type and location description for the PD connected to the PI.

‌

# Display power supplying information for all PIs.

<Sysname> display poe interface

Interface PoE Priority CurPower Oper IEEE Detection

(W) Class Status

GE1/0/1 Enabled Low 4.4 On 1 Delivering Power

GE1/0/2 Enabled Critical 0.0 On - Disabled

GE1/0/3 Enabled Low 0.0 On - Disabled

GE1/0/4 Enabled Critical 0.0 On - Searching

GE1/0/5 Enabled Low 4.0 On 2 Delivering Power

GE1/0/6 Enabled Low 0.0 On - Disabled

GE1/0/7 Disabled Low 0.0 Off - Fault

--- On State Ports: 2; Used: 8.4(W); Remaining: 171.6(W) ---

Table 3 Command output

Field | Description
Interface | Interface name of a PI.
PoE | PoE status: · Enabled. · Disabled.
Priority | Power priority of a PI: · Critical (highest). · High. · Low.
CurPower | Current power of a PI.
Oper | Operating status of a PI: · Off—PoE is disabled. · On—Power is being supplied to the PI correctly. · Power-lack—Remaining guaranteed power is insufficient for a critical PI. · Power-deny—The PSE refuses to supply power. The power required by the PD is higher than the configured power. · Power-itself—The PD is using another power supply. · Power-limit—The PSE is supplying power to the PD based on the configured power though the PD requires more power than the configured power.
IEEE Class | PD power class: 0, 1, 2, 3, or 4. If the PSE does not support PD classification, this field displays a hyphen (-).
Detection Status | Power detection status of a PI: · Disabled—PoE function is disabled. · Searching—The PI is searching for the PD. · Delivering Power—The PI is supplying power for the PD. · Fault—A fault occurred during the test. · Test—The PI is undergoing a test. · Other fault—A fault has caused the PSE to enter the idle status. · PD disconnected—The PD is disconnected.
On State Ports | Number of PIs that are supplying power.
Used | Power consumed by the current PI.
Remaining | Total remaining power of the system.

‌

PoE commands -- display poe interface power

Use display poe interface power to display power information for PIs.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays power information for all PIs.

Usage guidelines

Only the default MDC supports this command.

Examples

# Display power information for GigabitEthernet 1/0/1.

<Sysname> display poe interface power gigabitethernet 1/0/1

Interface Current Peak Max PD Description

(W) (W) (W)

GE1/0/1 15.0 15.3 30.0 Access Point on Room 509 for Peter

# Display power information for all PIs.

<Sysname> display poe interface power

Interface Current Peak Max PD Description

(W) (W) (W)

GE1/0/1 4.4 4.5 30.0 IP Phone in Room 309 for Peter Smith

GE1/0/2 4.4 4.5 30.0 IP Phone in Room 409 for Peter Pan

GE1/0/3 15.0 15.3 30.0 Access Point in Room 509 for Peter

GE1/0/4 0.0 0.0 30.0 IP Phone in Room 609 for Peter John

GE1/0/5 0.0 0.0 30.0 IP Phone in Room 709 for Jack

GE1/0/6 0.0 0.0 30.0 IP Phone in Room 809 for Alien

--- On State Ports: 3; Used: 23.8(W); Remaining: 776.2(W) ---

Table 4 Command output

Field | Description
Interface | Interface name of a PI.
CurPower | Current power of a PI.
PeakPower | Peak power of a PI.
MaxPower | Maximum power of a PI.
PD Description | Type and location description for the PD connected to a PI.
Ports On | Number of PIs that are supplying power.
Used | Power consumed by all PIs.
Remaining | Total remaining power of the system.

‌

PoE commands -- display poe power-usage

Use display poe power-usage to display power usage statistics for PoE power supplies and PSEs.

Syntax

Distributed devices in standalone mode:Centralized devices:

display poe power-usage

Distributed devices in IRF mode:

display poe power-usage [ chassis chassis-number ]

Centralized IRF devices:

display poe power-usage [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays information about all PoE power supplies and PSEs in the IRF fabric. (Distributed devices in IRF mode.)

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays information about all PSEs in the IRF fabric. (Centralized IRF devices.)

Usage guidelines

Only the default MDC supports this command.

Examples

# Display power usage statistics for the PoE power supply and all PSEs.

<Sysname> dis poe power-usage

PoE Current Power : 12 W

PoE Max Power : 2000 W

PoE Max Guaranteed Power : 2000 W

PoE Remaining Allocable Power : 1800 W

PoE Remaining Guaranteed Power : 2000 W

Powered PoE Ports : 1

Statistics by PSE:

PSE ID Max Current Peak Average Remaining Powered

(W) (W) (W) (W) Guaranteed(W) Ports

5 200 12 12 6 200 1

Table 5 Command output

Field | Description
PoE Current Power | Total power that has been consumed by PSEs.
PoE Max Power | Maximum PoE power.
PoE Max Guaranteed Power | Maximum power that can be supplied to critical PSEs.
PoE Remaining Allocable Power | Remaining allocable PoE power = Maximum PoE power – Total maximum power of all PoE-enabled PSEs.
PoE Remaining Guaranteed Power | Remaining guaranteed PoE power = Maximum guaranteed PoE power – Total maximum power of all critical PSEs. Typically, the maximum guaranteed PoE power is equal to the maximum PoE power.
Powered PoE Ports | Number of PIs that are supplying power.
PSE ID | ID of the PSE.
Max | Maximum power of the PSE.
Current | Current power of the PSE.
Peak | Peak power of the PSE.
Average | Average power of the PSE.
Remaining Guaranteed | Remaining guaranteed power of the PSE = Maximum guaranteed power of the PSE – Total maximum power of all critical PIs of the PSE Typically, the maximum guaranteed PSE power is equal to the maximum PSE power.
Powered Ports | Number of PIs that are receiving power from the PSE.

‌

PoE commands -- display poe pse

Use display poe pse to display detailed PSE information.

Syntax

Single-PSE device:

display poe pse

Multi-PSE device:

display poe pse [ pse-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

pse-id: Specifies a PSE by its ID. If you do not specify a PSE, this command displays detailed PSE information about all PSEs.

Usage guidelines

Only the default MDC supports this command.

Examples

# Display detailed PSE information.

<Sysname> display poe pse

PSE ID : 1

Slot NO. : 0

PSE Model : LSBMPOEGV48TP

PSE Status : Enabled

PSE Preempted : No

Power Priority : Low

Current Power : 130 W

Average Power : 20 W

Peak Power : 240 W

Max Power : 200 W

Remaining Guaranteed Power : 120 W

PSE CPLD Version : 100

PSE Software Version : 200

PSE Hardware Version : 100

Legacy PD Detection : Disabled

Power Utilization Threshold : 80

PSE Power Policy : Disabled

PD Power Policy : Disabled

PD Disconnect-Detection Mode : DC

Table 6 Command output

Field | Description
PSE ID | ID of the PSE.
Slot No. | Slot number of the PSE.
SSlot No. | Sublsot number of the PSE.
PSE Status | PoE status of the PSE: · Enabled. · Disabled.
Preempted | Power preemption status for the PSE: · No—The system has sufficient power for the PSE. · Yes—The system has supplied power to other PSEs and does not have sufficient power for this PSE.
Power Priority | Power priority of the PSE.
Current Power | Current power of the PSE.
Average Power | Average power of the PSE.
Peak Power | Peak power of the PSE.
Max Power | Maximum power of the PSE.
Remaining Guaranteed Power | Remaining guaranteed power of the PSE = Maximum guaranteed power of the PSE – Total maximum power of all critical PIs of the PSE.
PSE CPLD Version | PSE CPLD version number.
PSE Software Version | PSE software version number.
PSE Hardware Version | PSE hardware version number.
Legacy PD Detection | Nonstandard PD detection status: · Enabled. · Disabled.
Power Utilization Threshold | PSE power alarm threshold.
PSE Power Policy | PSE power management policy mode.
PD Power Policy | PD power management policy mode.
PD Disconnect-Detection Mode | PD disconnection detection mode.

‌

PoE commands -- display poe pse interface

Use display poe pse interface to display the PoE status of all PIs on a PSE.

Syntax

display poe pse pse-id interface

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

pse pse-id: Specifies a PSE ID. To display PSE ID and slot mappings, use the display poe device command.

Usage guidelines

Only the default MDC supports this command.

Examples

# Display the status of all PIs on PSE 4.

<Sysname> display poe pse 4 interface

Interface PoE Priority CurPower Oper IEEE Detection

(W) Class Status

GE1/0/1 Enabled Low 4.4 On 1 Delivering Power

GE1/0/2 Enabled Critical 0.0 Power-lack - Disabled

GE1/0/3 Enabled Low 0.0 Power-deny - Disabled

GE1/0/4 Enabled Critical 0.0 On - Searching

GE1/0/5 Enabled Low 4.0 Power-limit 2 Delivering Power

GE1/0/6 Enabled Low 0.0 Power-itself - Disabled

GE1/0/7 Disabled Low 0.0 Off - Fault

--- On State Ports: 2; Used: 8.4(W); Remaining: 171.6 (W) ---

Table 7 Command output

Field | Description
Interface | Interface name of a PI.
PoE | PoE status of a PI: · Enabled. · Disabled.
Priority | Priority of a PI: · Critical (highest). · High. · Low.
CurPower | Current power of a PI.
Oper | Operating status of a PI: · Off—PoE is disabled. · On—Power is being supplied to the PI correctly. · Power-lack—Remaining guaranteed power is insufficient for a critical PI. · Power-deny—The PSE refuses to supply power. The power required by the PD is higher than the configured power. · Power-itself—The PD is using another power supply. · Power-limit—The PSE is supplying power to the PD based on the configured power though the PD requires more power than the configured power.
IEEE Class | PD power class: 0, 1, 2, 3, or 4. If the PSE does not support PD classification, this field displays a hyphen (-).
Detection Status | Power detection status of a PI: · Disabled—PoE function is disabled. · Searching—The PI is searching for the PD. · Delivering Power—The PI is supplying power to the PD. · Fault—A fault occurred during the test. · Test—The PI is undergoing a test. · Other Fault—A fault has caused the PSE to enter the idle status. · PD Disconnected—The PD is disconnected.
On State Ports | Number of PIs that are supplying power.
Used | Power consumed by PIs on the PSE.
Remaining | Remaining power on the PSE.

‌

PoE commands -- display poe pse interface power

Use display poe pse interface power to display power information for PIs on a PSE.

Syntax

display poe pse pse-id interface power

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

pse pse-id: Specifies a PSE by its ID. To display PSE ID and slot mappings, use the display poe device command.

Usage guidelines

Only the default MDC supports this command.

Examples

# Display power information for PIs on PSE 4.

<Sysname> display poe pse 4 interface power

Interface Current Peak Max PD Description

(W) (W) (W)

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

GE1/0/26 4.4 4.5 15.4 IP Phone on Room 409 for Peter Pan

GE1/0/27 15.0 15.3 15.4 Access Point on Room 509 for Peter

GE1/0/28 0.0 0.0 5.0 IP Phone on Room 609 for Peter John

GE1/0/29 0.0 0.0 4.0 IP Phone on Room 709 for Jack

GE1/0/30 0.0 0.0 5.0 IP Phone on Room 809 for Alien

--- On State Ports: 3; Used: 23.8(W); Remaining: 776.2(W) ---

Table 8 Command output

Field | Description
Interface | Interface name of a PI.
Current | Current power of a PI.
Peak | Peak power of a PI.
Max | Maximum power of a PI.
PD Description | Type and location description for the PD connected with a PI.
Ports On | Number of PIs that are supplying power.
Used | Power consumed by all PIs.
Remaining | Remaining power on the PSE.

‌

PoE commands -- display poe-power

Use display poe-power to display PoE power information.

Syntax

Distributed devices in standalone mode:Centralized devices:

display poe-power

Distributed devices in IRF mode:

display poe-power [ chassis chassis-number ]

Centralized IRF devices:

display poe-power [ slot slot-numbe r ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays information about all PoE power supplies and PSEs in the IRF fabric. (Distributed devices in IRF mode.)

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays information about all PSEs in the IRF fabric. (Centralized IRF devices.)

Usage guidelines

Only the default MDC supports this command.

Examples

# Display PoE power information.

<Sysname> display poe-power

PoE Current Power : 1870 W

PoE Average Power : 2100 W

PoE Peak Power : 2350 W

PoE Max Power : 2000 W

PoE Nominal Power : 2500 W

PoE Current Electric Current : 3.00 A

PoE Current Voltage : 55.00 V

PoE Lower Input Threshold : 111.22 V

PoE Upper Input Threshold : 131.00 V

PoE Lower Output Threshold : 45.00 V

PoE Upper Output Threshold : 57.00 V

PoE Hardware Version : 0002

PoE Software Version : 0001

PoE Power Supplies : 2

PoE Power Supply 1:

Manufacturer : Tyco Electronics Com

Type : PSE2500-A

Status : Normal

PoE Power Supply 2:

Manufacturer : Tyco Electronics Com

Type : PSE2500-B

Status : Normal

Table 9 Command output

Field | Description
PoE Current Power | Current PoE power.
PoE Average Power | Average PoE power.
PoE Peak Power | Peak PoE power.
PoE Max Power | Maximum PoE power.
PoE Nominal Power | Nominal PoE power.
PoE Current Electric Current | Current PoE current.
PoE Current Voltage | Current PoE voltage.
PoE Lower Input Threshold | AC input under-voltage threshold.
PoE Upper Input Threshold | AC input over-voltage threshold.
PoE Lower Output Threshold | DC output under-voltage threshold.
PoE Upper Output Threshold | DC output over-voltage threshold.
PoE Hardware Version | PoE hardware version number.
PoE Software Version | PoE software version number.
PoE Power Supplies | Number of PoE power supply units.
Manufacturer | Manufacturer of the PoE power. This field displays NONE if the device cannot obtain manufacturer information.
Type | Type of the PoE power. This field displays NONE if the device cannot obtain type information.
Status | PoE power status: · Normal—The PoE power supply is operating correctly. · Absent—The PoE power supply is not present. · Off—The PoE power is turned off. · Active—The active PoE power supply is operating correctly. · Standby—The standby PoE power supply is operating correctly. · Balanced—The PoE power supply is operating in load balancing mode. · Redundant—The PoE power supply is operating in redundancy mode. · Alarm—An alarm was triggered. · Faulty—A fault occurred.

‌

PoE commands -- display poe-profile

Use display poe-profile to display information about the PoE profile.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

index index: Specifies a PoE profile by its index number in the range of 1 to 100.

name profile-name: Specifies a PoE profile by its name, a case-sensitive string of 1 to 15 characters.

Usage guidelines

Only the default MDC supports this command.

If you do not specify a profile, the command displays information about all PoE profiles.

Examples

# Display information about all PoE profiles.

<Sysname> display poe-profile

PoE Profile Index ApplyNum Interfaces Configuration

forIPphone 1 4 GE1/0/1 poe enable

GE1/0/2 poe priority critical

GE1/0/3

GE1/0/4

forAP 2 2 GE1/0/5 poe enable

GE1/0/6 poe max-power 14000

--- Total PoE profiles: 2, total ports: 6 ---

# Display information about the PoE profile with index number 1.

<Sysname> display poe-profile index 1

PoE Profile Index ApplyNum Interfaces Configuration

forIPphone 1 6 GE1/0/1 poe enable

GE1/0/2 poe priority critical

GE1/0/3

GE1/0/4

GE1/0/5

GE1/0/6

--- Total ports: 6 ---

Table 10 Command output

Field | Description
PoE Profile | Name of the PoE profile.
Index | Index number of the PoE profile.
ApplyNum | Number of PIs to which the PoE profile is applied.
Interfaces | Interface name of the PI to which the PoE configuration is applied.
Configuration | Configurations of the PoE profile.
Total PoE profiles | Number of PoE profiles.
Total ports | Number of PIs to which all PoE profiles are applied.

‌

PoE commands -- display poe-profile interface

Use display poe-profile interface to display information about the PoE profile on a PI.

Syntax

display poe-profile interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface-type interface-number: Specifies an interface by its type and number.

Usage guidelines

Only the default MDC supports this command.

Examples

# Display information about the PoE profile on GigabitEthernet 1/0/1.

<Sysname> display poe-profile interface gigabitethernet 1/0/1

PoEProfile Index ApplyNum Interface Effective configuration

forIPphone 1 6 GE1/0/1 poe enable

poe priority critical

The Effective configuration field displays the configurations that have taken effect. For the descriptions of other fields, see Table 10.

PoE commands -- poe detection-mode

Use poe detection-mode to configure the PD detection mode.

Use undo poe detection-mode to restore the default.

Syntax

poe detection-mode { none | simple | strict }

undo poe detection-mode

Default

The PD detection mode is strict.

Views

PI view

Predefined user roles

network-admin

mdc-admin

Parameters

none: Enables the device to supply power to PDs that are correctly connected to the device without causing short circuit.

simple: Enables the device to supply power to PDs that comply with basic requirements of 802.af or 802.at.

strict: Enables the device to supply power to PDs that comply with all requirements of 802.af or 802.at.

Usage guidelines

To configure the detection mode for nonstandard PDs, first execute the poe legacy enable command to enable detection for nonstandard PDs.

Examples

# Configure the simple detection mode for GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] poe detection-mode simple

Related commands

poe legacy enable

PoE commands -- poe disconnect

Use poe disconnect to configure a PD disconnection detection mode.

Use undo poe disconnect to restore the default.

Syntax

poe disconnect { ac | dc }

undo poe disconnect

Default

The default PD disconnection detection mode varies by device model.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ac: Specifies the PD disconnection detection mode as ac.

dc: Specifies the PD disconnection detection mode as dc.

Usage guidelines

Only the default MDC supports this command.

If you change the PD disconnection detection mode while the device is running, the connected PDs are powered off.

Examples

# Set the PD disconnection detection mode to dc.

<Sysname> system-view

[Sysname] poe disconnect dc

Related commands

display poe pse

PoE commands -- poe enable

Use poe enable to enable PoE on a PI.

Use undo poe enable to disable PoE on a PI.

Syntax

poe enable

undo poe enable

Default

PoE is disabled on a PI.

Views

PI view

PoE profile view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

If a PoE profile has been applied to a PI, remove the application before configuring the PI in PoE profile view.

If a PI has been configured, remove the configuration before configuring the PI in PI view.

Examples

# Enable PoE on a PI in PI view.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] poe enable

# Enable PoE on a PI in PoE profile view.

<Sysname> system-view

[Sysname] poe-profile abc

[Sysname-poe-profile-abc-1] poe enable

Related commands

display poe interface

poe-profile

PoE commands -- poe enable pse

Use poe enable pse to enable PoE for a PSE.

Use undo poe enable pse to disable PoE for the PSE.

Syntax

poe enable pse pse-id

undo poe enable pse pse-id

Default

PoE is disabled on PSEs.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

pse-id: Specifies a PSE by its ID.

Usage guidelines

Only the default MDC supports this command.

Examples

# Enable PoE for PSE 4.

<Sysname> system-view

[Sysname] poe enable pse 4

Related commands

display poe pse

PoE commands -- poe legacy enable

Use poe legacy enable to enable the PSE to detect nonstandard PDs.

Use undo poe legacy enable to disable the PSE from detecting nonstandard PDs.

Syntax

Single-PSE device:

poe legacy enable

undo poe legacy enable

Multi-PSE device:

poe legacy enable pse pse-id

undo poe legacy enable pse pse-id

Default

Nonstandard PD detection is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

pse pse-id: Specifies a PSE by its ID.

Usage guidelines

Only the default MDC supports this command.

Examples

# Enable the PSE to detect nonstandard PDs. (Single-PSE device)

<Sysname> system-view

[Sysname] poe legacy enable

# Enable PSE 4 to detect nonstandard PDs. (Multi-PSE device)

<Sysname> system-view

[Sysname] poe legacy enable pse 4

Related commands

display poe pse

PoE commands -- poe max-power

Use poe max-power to set the maximum PI power.

Use undo poe max-power to restore the default.

Syntax

poe max-power max-power

undo poe max-power

Default

The maximum PI power varies by device model.

Views

PI view

PoE profile view

Predefined user roles

network-admin

mdc-admin

Parameters

max-power: Sets the maximum PI power in milliwatts. The value range and increment vary by device model.

Examples

# Set the maximum PI power to 12000 milliwatts in PI view.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] poe max-power 12000

# Set the maximum PI power to 12000 milliwatts in PoE profile view.

<Sysname> system-view

[Sysname] poe-profile abc

[Sysname-poe-profile-abc-1] poe max-power 12000

Related commands

poe max-power (system view)

poe power max-value

PoE commands -- poe max-power (system view)

Use poe max-power to set the maximum PSE power.

Use undo poe max-power to restore the default.

Syntax

Single-PSE device:

poe max-power max-power

undo poe max-power

Multi-PSE device:

poe pse pse-id max-power max-power

undo poe pse pse-id max-power

Default

The default maximum PSE power varies by device model.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

max-power: Sets the maximum PSE power in watts. The value range and increment vary by device model.

pse pse-id: Specifies a PSE by its ID.

Usage guidelines

Only the default MDC supports this command.

To avoid the PSE power overload situation, make sure the total power of all PSEs is less than the maximum PoE power.

The maximum power of the PSE must be greater than or equal to the total maximum power of all its critical PIs on the PSE to guarantee these PIs power.

Examples

# Set the maximum PSE power to 150 watts. (Single-PSE device)

<Sysname> system-view

[Sysname] poe max-power 150

# Set the maximum PSE power of PSE 4 to 150 watts. (Multi-PSE device)

<Sysname> system-view

[Sysname] poe pse 4 max-power 150

Related commands

poe priority pse

PoE commands -- poe mode

Use poe mode to configure a PoE power transmission mode.

Use undo poe mode to restore the default.

Syntax

poe mode { signal | spare }

undo poe mode

Default

The PoE power transmission mode is signal (power over signal cables).

Views

PI view

PoE profile view

Predefined user roles

network-admin

mdc-admin

Parameters

signal: Specifies the PoE power transmission mode as power over signal cables. The system uses pairs 1, 2, 3, and 6 in the Category 3 or Category 5 twisted pair cable to supply DC power.

spare: Specifies the PoE power transmission mode as power over spare cables. The system uses pairs 4, 5, 7, and 8 in the Category 3 or Category 5 twisted pair cable to supply DC power.

Examples

# Set the PoE power transmission mode to power over signal cables in PI view.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] poe mode signal

# Set the PoE power transmission mode to power over signal cables in PoE profile view.

<Sysname> system-view

[Sysname] poe-profile abc

[Sysname-poe-profile-abc-1] poe mode signal

Related commands

poe-profile

PoE commands -- poe pd-description

Use poe pd-description to configure a description for the PD that connects to a PI.

Use undo poe pd-description to restore the default.

Syntax

poe pd-description text

undo poe pd-description

Default

No description is configured for the PD that connects to a PI.

Views

PI view

Predefined user roles

network-admin

mdc-admin

Parameters

text: Configures a description for the PD connected to the PI, a case-sensitive string of 1 to 80 characters.

Examples

# Configure the description for the PD as IP Phone for Room 101.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] poe pd-description IP Phone For Room 101

PoE commands -- poe pd-policy priority

Use poe pd-policy priority to enable PI power management.

Use undo poe pd-policy priority to restore the default.

Syntax

poe pd-policy priority

undo poe pd-policy priority

Default

PI power management is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Only the default MDC supports this command.

If PI power management is disabled, the PSE does not supply power to new PDs when PSE power overload occurs.

If PI power management is enabled, when a PSE is overloaded, the PSE allocates power to PDs based on the priority of their PIs.

Examples

# Enable PI power management.

<Sysname> system-view

[Sysname] poe pd-policy priority

Related commands

poe priority

PoE commands -- poe power max-value

Use poe power max-value to configure the maximum PoE power.

Use undo poe power max-value to restore the default.

Syntax

Distributed devices in standalone mode:Centralized devices:

poe power max-value max-power

undo poe power max-value

Distributed devices in IRF mode:

poe power chassis chassis-number max-value max-power

undo poe power chassis chassis-number max-value

Centralized IRF devices:

poe power slot slot-number max-value max-power

undo poe power slot slot-number max-value

Default

The default maximum PoE power varies by device model.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

max-power: Sets the maximum PoE power in watts. The value range and increment vary by device model. To accommodate transient peak power surges, the actual maximum power available is 5% higher than the configured maximum power.

chassis chassis-number: Specifies an IRF member by its ID. (Distributed devices in IRF mode.)

slot slot-number: Specifies an IRF member device by its member ID. (Centralized IRF devices.)

Usage guidelines

Only the default MDC supports this command.

The configured maximum PoE power must be smaller than the rated PoE power.

Examples

# Set the maximum PoE power to 2000 watts.

<Sysname> system-view

[Sysname] poe power max-value 2000

Related commands

poe max-power

poe max-power (system view)

PoE commands -- poe priority

Use poe priority to set the power supply priority for a PI.

Use undo poe priority to restore the default.

Syntax

poe priority { critical | high | low }

undo poe priority

Default

The power supply priority of a PI is low.

Views

PI view

PoE profile view

Predefined user roles

network-admin

mdc-admin

Parameters

critical: Sets the power supply priority to critical. The PI with critical power priority operates in guaranteed mode. Power is first supplied to the PD connected to the critical PI.

high: Sets the power supply priority to high.

low: Sets the power supply priority to low.

Usage guidelines

When the PoE power is insufficient, power is first supplied to PIs with higher priority.

For PIs with same power supply priority, the PI with the smallest ID is allocated with power first.

If a PoE profile has been applied to a PI, remove the application before configuring the PI in PoE profile view.

If a PI has been configured, remove the configuration before configuring the PI in PI view.

Examples

# Set the power supply priority of the PI to critical in PI view.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] poe priority critical

# Set the power supply priority of the PI to critical in PoE profile view.

<Sysname> system-view

[Sysname] poe-profile abc

[Sysname-poe-profile-abc-1] poe priority critical

[Sysname-poe-profile-abc-1] quit

[Sysname] interface gigabitethernet 1/0/1

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

Related commands

poe pd-policy priority

PoE commands -- poe priority (system view)

Use poe priority to set the power supply priority for a PSE.

Use undo poe priority to restore the default.

Syntax

poe priority { critical | high | low } pse pse-id

undo poe priority pse pse-id

Default

The power supply priority of a PSE is low.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

critical: Sets the power supply priority to critical. The PSE with critical power priority operates in guaranteed mode, and power is supplied to it first.

high: Sets the power supply priority to high.

low: Sets the power supply priority to low.

pse pse-id: Specifies a PSE by its ID.

Usage guidelines

Only the default MDC supports this command.

If PSE power management is disabled, the system does not supply power to new PSEs when PoE power overload occurs.

If PSE power management is enabled, when PSE power overload occurs, the system supplies power to a PSE with higher priority. For multiple PSEs with the same priority, the PSE with a smaller ID gets power supplied first.

For example, if PoE is enabled for a PSE, and the PSE has higher priority, the system performs the following operations:

· Stops supplying power to a PSE with lower priority.

· Supplies power to the PSE that has higher priority.

Examples

# Set the power supply priority of PSE 4 to critical.

<Sysname> system-view

[Sysname] poe priority critical pse 4

Related commands

poe pse-policy priority

PoE commands -- poe pse-policy priority

Use poe pse-policy priority to enable PSE power management.

Use undo poe pse-policy priority to disable PSE power management.

Syntax

poe pse-policy priority

undo poe pse-policy priority

Default

PSE power management is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Only the default MDC supports this command.

If PSE power management is disabled, the system does not supply power to new PSEs when PoE power overload occurs.

If PSE power management is enabled, the system supplies power based on the PSE priority and PSE ID when a new PSE causes PoE power overload.

Examples

# Enable PSE power management.

<Sysname> system-view

[Sysname] poe pse-policy priority

Related commands

poe priority (system view)

PoE commands -- poe reset enable

Use poe reset enable to enable PI power cycling upon a system warm reboot.

Use undo poe pse-policy priority to disable PI power cycling upon a system warm reboot.

Syntax

poe reset enable

undo poe reset enable

Default

PI power cycling upon a system warm reboot is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

During the system warm reboot process (upon execution of the reboot command), the PIs continue supplying power to the PDs but data connections between the PDs and the device are interrupted. After the system reboots, PDs might not re-initiate data connections with the device. Power cycling PIs upon a system warm reboot allows the PDs to re-establish data connections with the device.

Examples

# Enable PI power cycling upon a system warm reboot.

<Sysname> system-view

[Sysname] poe reset enable

PoE commands -- poe temperature-protection

Use poe temperature-protection enable to enable PoE over-temperature protection.

Use undo poe temperature-protection enable to disable the feature.

Syntax

poe temperature-protection enable

undo poe temperature-protection enable

Default

PoE over-temperature protection is enabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Only the default MDC supports this command.

If PoE over-temperature protection is enabled, the device performs the following operations:

· Disables PoE on all ports when the temperature exceeds the upper limit.

· Enables PoE on all ports when the temperature drops below the lower limit.

Examples

# Disable PoE over-temperature protection.

<Sysname> system-view

[Sysname] undo poe temperature-protection enable

PoE commands -- poe update

Use poe update to upgrade the PSE firmware when the device is operating.

Syntax

Single-PSE device:

poe update { full | refresh } filename

Multi-PSE device:

poe update { full | refresh } filename [ pse pse-id ]

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

full: Upgrades the PSE firmware in full mode.

refresh: Upgrades the PSE firmware in refresh mode.

filename: Specifies the name of the upgrade file, a case-insensitive string of 1 to 64 characters. The specified file must be in the root directory of the file system of the device.

pse pse-id: Specifies a PSE by its ID. If you do not specify a PSE, all PSEs are upgraded.

Usage guidelines

Only the default MDC supports this command.

You can upgrade the PSE firmware in service in either of the following modes:

· Refresh mode—Updates the PSE firmware without deleting it. You can use the refresh mode in most cases.

· Full mode—Deletes the current PSE firmware and reloads a new one. Use the full mode if the PSE firmware is damaged and you cannot execute any PoE commands.

Examples

# Upgrade the PSE firmware in service. (Single-PSE device)

<Sysname> system-view

[Sysname] poe update refresh POE-168.bin

# Upgrade the firmware of PSE 4 in service. (Multi-PSE device)

<Sysname> system-view

[Sysname] poe update refresh POE-168.bin pse 4

PoE commands -- poe utilization-threshold

Use poe utilization-threshold to configure a power alarm threshold for the PSE.

Use undo poe utilization-threshold to restore the default power alarm threshold of the PSE.

Syntax

Single-PSE device:

poe utilization-threshold value

undo poe utilization-threshold

Multi-PSE device:

poe utilization-threshold value pse pse-id

undo poe utilization-threshold pse pse-id

Default

The power alarm threshold for the PSE is 80%.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

value: Specifies alarm threshold as a percentage of 1 to 99.

pse pse-id: Specifies a PSE by its ID.

Usage guidelines

Only the default MDC supports this command.

If PSE power usage crosses the threshold multiple times in succession, the system sends notification messages only for the first crossing. For more information, see "Configuring SNMP."

Examples

# Set the power alarm threshold of the PSE to 90%. (Single-PSE device)

<Sysname> system-view

[Sysname] poe utilization-threshold 90

# Set the power alarm threshold of PSE 4 to 90%. (Multi-PSE device)

<Sysname> system-view

[Sysname] poe utilization-threshold 90 pse 4

PoE commands -- poe-profile

Use poe-profile to create a PoE profile and enter its view, or enter the view of an existing PoE profile.

Use undo poe-profile to delete a PoE profile.

Syntax

poe-profile profile-name [ index ]

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

Default

No PoE profiles exist.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

profile-name: Specifies a PoE profile name, a case-sensitive string of 1 to 15 characters. A PoE configuration file name begins with a letter and must not contain reserved keywords including undo, all, name, interface, user, poe, disable, max-power, mode, priority, or enable.

index: Specifies the index number of a PoE profile, in the range of 1 to 100.

Usage guidelines

To configure PIs in batches, use the PoE profile.

If you do not specify a profile index, the system automatically assigns an index (starting from 1) to the PoE profile.

If a PoE profile is applied, use the undo apply poe-profile command to remove the application before deleting the PoE profile.

Examples

# Create a PoE profile, name it abc, and specify the index number as 3.

<Sysname> system-view

[Sysname] poe-profile abc 3

[Sysname-poe-profile-abc-3]

# Create a PoE profile and name it def. Do not specify the index number.

<Sysname> system-view

[Sysname] poe-profile def

[Sysname-poe-profile-def-1]

Related commands

apply poe-profile

poe enable

poe max-power

poe mode

poe priority