inline power

Configures inline power on Power over Ethernet (PoE) ports in interface configuration mode and link aggregation group (LAG) secondary ports in global configuration mode.
Syntax
inline power ethernet interface [ power-by-class | power-class | power-limit power-limit | priority priority -value ]
inline power ethernet interface [ power-by-class | power-class | power-limit power-limit | priority priority -value ]
Note: The ethernetinterface pair of parameters is required only if you want to configure inline power on secondary ports (you must use global configuration mode to do this).
Command Default

PoE is enabled by default and power is automatically allocated to all PoE-capable ports on bootup.

Parameters
ethernet
Specifies an ethernet interface. You can configure the ethernet keyword only in global configuration mode.
interface
Specifies the number of the ethernet interface. This is used only with the ethernet keyword.
power-by-class
Specifies the power limit based on class value. The range is 0-4. The default is 0. The power limit that gets applied for class 4 PD on PoH port will be 60W when overdrive is not enabled and 95W in overdrive mode.
power-limit
Specifies the power limit based on actual power value in mW. The range is 1000-15400|30000mW. The default is 15400|30000mW.
For PoH ports, the range is 1000-95000mW. By default maximum range is 60000mW and in PoE overdrive mode up to 95000mW is supported.
priority
Specifies the priority for power management. The range is 1 (highest) to 3 (lowest). The default is 3.
Modes

Global configuration mode

Interface configuration mode

Usage Guidelines

As the 'inline power' configuration is applied on all PoE-capable ports by default, PD is powered up as soon as it is connected to the port. If the PoE power allocation needs to be disabled on bootup, use the no inline power command and do write memory. Upon reboot, all the saved PoE configurations would get applied and PoE will not be enabled.

Data link operation is decoupled with inline power by default and this behavior cannot be altered through user configuration.

You cannot configure inline power on PoE LAG ports in interface configuration mode because the interface-level configuration is not available in the CLI for LAG secondary ports. The inline power ethernet command enables you to configure inline power on secondary ports in global configuration mode.

The no form of the command disables PoE.

Examples

The following example configures inline power on LAG ports.

Device(config)# lag "mylag" static id 5
Device(config-lag-mylag)# ports ethernet 1/1/1 to 1/1/4 
Device(config)#inline power ethernet 1/1/1 power-by-class 3                                     
Device(config)#inline power ethernet 1/1/3 priority 2
Device(config)#inline power ethernet 1/1/4 power-limit 12000
History
Release Command History

08.0.01

This command was modified to run in global configuration mode using the ethernet keyword. The decouple-datalink keyword was also introduced.

08.0.20 This command was modified to allow requisite PoH power limits.
08.0.70 This command was modified to change the default behavior to keep the PoE enabled. It was also modified to remove the decouple-datalink keyword.
08.0.90 This command was modified to change the default value of power-class and power-limit of PoH ports in non-overdrive mode.