Command Line Interface

4-186

4
Command Mode
Interface Configuration (Ethernet, Port Channel)
Example

Power over Ethernet Commands

The commands in this group control the power that can be delivered to attached
PoE devices through the switch ports.
The switch’s power management enables total switch power and individual port
power to be controlled within a configured power budget. Port power can be
automatically turned on and off for connected devices, and a per-port power priority
can be set so that the switch never exceeds its allocated power budget. When a
device is connected to a switch port, its power requirements are detected by the
switch before power is supplied. If the power required by a device exceeds the
power budget of the port or the whole switch, power is not supplied.

power mainpower maximum allocation

This command defines a power budget for the switch (i.e., the power available to all
switch ports). Use the no form to restore the default setting.
Syntax
power mainpower maximum allocation <watts> [unit unit]
watts - The power budget for the switch. (Range: 37 - 375 watts)
unit - Specifies the stack unit. (Range: 1)
Console(config)#interface ethernet 1/1
Console(config-if)#rate-limit input 1000
Console(config-if)#
Table 4-58 PoE Commands
Command Group Function Mode Page
power mainpower
maximum allocation
Sets the maximum power available to all switch ports GC 4-186
power inline compatible Provides power to pre-standard PoE devices GC 4-187
power inline Turns power on and off for specific ports IC 4-188
power inline
maximum allocation
Sets the maximum power available to specific switch ports IC 4-189
power inline priority Sets the priority for power supplied to specific ports IC 4-189
power inline
overload-auto-recover
Sets the overload-auto-recover status of specific ports IC 4-190
show power inline status Displays the current status of power management on specific
ports or all ports
PE 4-191
show power mainpower Displays the current status of power management for switch PE 4-192