< Home

poe { power-off | power-on } interface

Function

The poe { power-off | power-on } interface command starts or cuts off the power supply to the PD connected to an interface.

Format

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

Parameters

Parameter

Description

Value

power-off

Cuts off the power supply to the PD connected to an interface.

-

power-on

Starts the power supply to the PD connected to an interface.

-

interface-type interface-number

Specifies an interface.

The interface type must be GE; the interface number can be GE0/0/0, GE0/0/1, GE0/0/2, or GE0/0/3.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In manual power supply management mode, the poe { power-off | power-on } interface command determines the power supply to an interface. You can run the display poe power-state command to check whether the operation succeeds.

Precautions

When the available power of the device is insufficient and the device cannot supply power to more PDs, the poe power-on interface command does not take effect.

Pre-Configuration Task

Before running the poe { power-off | power-on } interface command, ensure that:

  • The power supply management mode is set to manual using the poe power-management command.

  • The interface has a PD connected.

  • PoE is enabled on the interface.

  • Detection and classification on the PD have completed, and power supply can be provided for the PD.

Example

# Manually start power supply to the PD connected to GigabitEthernet 0/0/1.
<sysname> system-view
[sysname] poe power-on interface GigabitEthernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >