28-19
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 28      Power Management
Configuring PoE
Note If you configure the max-wattage values that are multiples of 420 on a Catalyst 4500 series switch with 
the set port inlinepower mod/port static |  auto max-wattage command, the power drawn from the 
global allocation is possibliy slightly smaller than the power that is reported in the Total PWR Allocated 
to Module field of the show environment power command. This discrepancy is due to the internal 
conversion of units from Watts to cAmps and back to Watts. The difference between the total allocated 
power and the total power that is drawn from the system is no more than +/- 0.5 Watts. 
This example shows how to set the power mode of a port or group of ports:
Console> (enable) set port inlinepower 2/5 off
Inline power for port 2/5 set to off.
This example shows how to set the maximum wattage that is allowed for ports 2/3-9 to not exceed 800 
mW:
Console> (enable) set port inlinepower 2/3-9 800
Inline power for ports 2/3-9 set to auto and max-wattage to 800 mWatt.
Console> (enable)
Setting the Default Power Allocation for a Port
By default, the switch allocates 7 W to a port when it discovers a powered device on the port. This 
number automatically adjusts downward to the amount that the powered device actually requires when 
the switch receives a CDP packet from the powered device. Normally, this automatic method works very 
well, and no further configuration is required. However, if CDP is disabled, or if you are attempting to 
power up the maximum number of powered devices that are supported by your configuration (this setting  
may allow you to get one last  powered device powered up), you can set the default power allocation for 
each port. To set the default power allocation for a port,  perform this task in privileged mode:
This example shows how to set the default power allocation for a port:
Console> (enable) set inlinepower defaultallocation 9500
Default inline power allocation set to 9500 mWatt per applicable port.
Console> (enable)
Displaying the Power Status for Modules and Individual Ports
To display the power status for modules and individual ports, perform this task in normal mode:
Task Command
Set the default power allocation for each port. set inlinepower defaultallocation value
Task Command
Display the power status for individual ports. show port inlinepower [mod[/port]]