< Home

set device dc-output enable

Function

The set device dc-output enable command enables the DC output function on the switch.

The undo set device dc-output enable command disables the DC output function on the switch.

By default, the DC output function is enabled on a switch.

Only the S5720I-10X-PWH-SI-AC supports this command.

Format

set device dc-output [ 12V [ line1 | line2 ] | 24V ] enable

undo set device dc-output [ 12V [ line1 | line2 ] | 24V ] enable

Parameters

Parameter Description Value
12V Specifies the DC output voltage as 12 V. -
line1 Configures DC output of 12 V line 1. -
line2 Configures DC output of 12 V line 2. -
24V Specifies the DC output voltage as 24 V. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If PDs require DC power supply, enable DC output on the switch.

Precautions

If you run the set device dc-output 12V [ line1 | line2 ] enable command to enable the 12 V DC output function of the switch, and then run the set device dc-output 24V enable command to enable the 24 V DC output function of the switch, both the 12 V and 24 V DC output functions have been enabled on the switch. To determine the state of each DC output line, run the display device dc-output states command.

Example

# Enable DC output of 12 V line 1 and set the DC output voltage to 12 V.

<HUAWEI> system-view
[HUAWEI] set device dc-output 12V line1 enable
Warning: The total PoE power and DC output power is 0mW, and the remaining power is 175000mW. Continue? [Y/N]:Y
Warning: After the 12V line1 DC output is enabled, PoE power and DC output power may be disabled if the total PoE power and DC output power exceeds 175000mW. Continue? [Y/N]:Y

# Enable DC output of all lines.

<HUAWEI> system-view
[HUAWEI] set device dc-output enable
Warning: The total PoE power and DC output power is 731mW, and the remaining power is 174269mW. Continue? [Y/N]:Y
Warning: After all DC output is enabled, PoE power and DC output power may be disabled if the total PoE power and DC output power exceeds 175000mW. Continue? [Y/N]:Y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >