< Home

poe power-off time-range

Function

The poe power-off time-range command applies a power-off period to an interface.

The undo poe power-off time-range command cancels the power-off period applies to an interface.

Format

poe power-off time-range time-range-name

undo poe power-off time-range

Parameters

Parameter

Description

Value

time-range-name

Specifies the name of a power-off period.

The value is a string of 1 to 32 characters starting with a letter. To prevent confusion, the name cannot be all.

Views

GE interface view

Default Level

2: Configuration level

Usage Guidelines

By default, there is no power-off period set for any interface.

Application Scenario

Run the poe power-off time-range command to apply a power-off period set in the system view to an interface. If the current time is within the power-off period, no power is supplied to the PD connected to the interface.

Pre-Configuration Task

Run the time-range and period-range commands in the system view to set a power-off period.

Precautions

If you switch the power supply management mode during the power-off period, the system determines the power supply according to the new mode. For example, if the manual mode is switched to the automatic mode during the power-off period, the interface is automatically powered on.

Example

# Apply the power-off period 18:00-23:00 to GigabitEthernet 0/0/1.
<sysname> system-view
[sysname] time-range PoE
[sysname-time-range-poe] period-range 18:00:00 to 23:00:00 working-day
[sysname-time-range-poe] quit
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] poe power-off time-range PoE
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >