PoE Basic Function Configuration
The PoE function is controlled by configuring global PoE and interface PoE, that is, the PoE function can be used only when the global PoE and interface PoE are both enabled. If you run the command for disabling the global PoE, the PoE functions of all interfaces are disabled. If you run the command for disabling the interface PoE function, you can choose to disable the PoE function of some interface. The interface PoE function is a standard power supply mode, while the interface forced power supply function is a special power supply mode. You can select only one mode at a time. However, both of the two modes are valid only after the global PoE function is enabled.
Configuration Condition
None
Enable the Global PoE Function
Table 12-2 Enabling the Global PoE Function
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enable the global PoE function.
|
power enable
|
Optional.
By default, the global PoE function is enabled.
|
Enable the Interface PoE Function
Table 12-3 Enabling the Interface PoE Function
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enable the global PoE function.
|
power enable
|
Optional.
By default, the global PoE function is enabled.
|
Enter the layer-2 Ethernet interface configuration mode.
|
interface interface-name
|
-
|
Enable the interface PoE function.
|
power enable
|
Optional.
By default, the interface PoE function is enabled.
|
Enable the Forced Power Supply Function of an Interface
Table 12-4 Enabling the Forced Power Supply Function of an Interface
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enable the global PoE function.
|
power enable
|
Optional.
By default, the global PoE function is enabled.
|
Enter the L2 Ethernet interface configuration mode.
|
interface interface-name
|
-
|
Enable the forced power supply function of an interface.
|
power force { always | once }
|
Mandatory.
By default, the forced power supply function of an interface is disabled.
|
-
Forced power supply is a special power supply mode, which does not require enabling the interface PoE function.
Enable Auto Power Supply Function of the Interface
Table 12‑5 Enable the auto power supply function of the interface
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enable the global PoE function.
|
power enable
|
Optional.
By default, the global PoE function is enabled.
|
Enter the L2/L3 Ethernet interface configuration mode
|
interface interface-name
|
-
|
Enable the auto power supply function of the interface
|
power auto-enable
|
Mandatory
By default, the auto power supply function of the interface is not enabled.
|
-
The auto power supply function of the interface can take effect only in the manual power management mode.