![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 439](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462439.webp)
28-19
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 28 Power Management
Configuring Inline Power
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 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 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 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 supported by your configuration (setting this 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]]