< Home

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.

Among PoE models, the S5720-16X-PWH-LI-AC, S5720-28X-PWH-LI-AC, S5720I-SI, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, S5730-HI, S5730-SI, S5730S-EI, S5731-H, S5731-S, S5731S-S, S5732-H, and S6720-SI do not support this command.

Format

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

Parameters

Parameter

Description

Value

power-off

Powers off an interface.

-

power-on

Powers on an interface.

-

interface-type interface-number

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

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

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

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

Precautions

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

Pre-configuration Tasks

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

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

  • PDs have been connected to the interface.

  • The PoE function of the interface has been enabled.

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

Example

# Manually power on PDs connected to GigabitEthernet 0/0/1.
<HUAWEI> system-view
[HUAWEI] poe power-management manual 
[HUAWEI] poe power-on interface gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >