< Home

poe power-off time-range

Function

The poe power-off time-range command makes a configured PoE power-off time range effective on an interface.

The undo poe power-off time-range command cancels the configuration.

By default, a device is not configured with PoE power-off time range.

Format

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

undo poe power-off time-range

Parameters

Parameter

Description

Value

time-range-name

Specifies a name for a PoE power-off time range.

The value is a string of 1 to 32 case-sensitive characters and must begin with a letter. In addition, the word all cannot be specified as a time range name.

Views

Interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The poe power-off time-range command makes a PoE power-off time range set in the system view effective on an interface. If the current time is within the specified time range, the PD connected to the interface cannot be powered on.

The undo poe power-off time-range command cancels the configuration. The time range does not take effect on the PD connected to the interface; however, the configuration of the time range is still saved.

Pre-configuration Tasks

Before running the poe power-off time-range command, you must ensure a PoE power-off time range has been configured through running the time-range command in the system view.

Example

# Configure a PoE power-off time range from 10:00 to 11:00 for PDs connected to GigabitEthernet0/0/1.
<HUAWEI> system-view
[HUAWEI] time-range PoE 10:00 to 11:00 daily
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] poe power-off time-range PoE
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >