Chapter 12
Configuring Interface Characteristics
Command
Step 3
power inline police [action {errdisable
| log}]
Step 4
exit
Step 5
errdisable detect cause inline-power
and
errdisable recovery cause inline-power
and
errdisable recovery interval interval
Step 6
exit
Step 7
show power inline police
show errdisable recovery
Step 8
copy running-config startup-config
To disable policing of the real-time power consumption, use the no power inline police interface
configuration command. To disable error recovery for PoE error-disabled cause, use the no errdisable
recovery cause inline-power global configuration command.
For information about the output from the show power inline police privileged EXEC command, see
the command reference for this release.
Configuring Catalyst PoE and PoE Pass-Through Ports on Compact Switches
You can configure the power management, budgeting, and policing on the Catalyst 2960-C compact
switch PoE ports the same as with any other PoE switch.
The show env power inline privileged EXEC command provides information about powering options
and power backup on your switch:
Switch# show env power
PoE Power - Available:22.4(w)
Power Source
-------------- -------------- --------- ---------
A.C. Input
OL-26520-01
Purpose
If the real-time power consumption exceeds the maximum power
allocation on the port, configure the switch to take one of these actions:
•
Shut down the PoE port, turn off power to it, and put it in the
error-dsabled state—Enter the power inline police command.
You can enable error detection for the PoE error-disabled cause
Note
by using the errdisable detect cause inline-power global
configuration command. You can also enable the timer to recover
from the PoE error-disabled state by using the errdisable
recovery cause inline-power interval interval global
configuration command.
Generate a syslog message while still providing power to the
•
port—Enter the power inline police action log command.
If you do not enter the action keywords, the default action shuts down the
port and puts the port in the error-disabled state.
Return to global configuration mode.
(Optional) Enable error recovery from the PoE error-disabled state, and
configure the PoE recover mechanism variables.
For interval interval, specify the time in seconds to recover from the
error-disabled state. The range is 30 to 86400.
By default, the recovery interval is 300 seconds.
Return to privileged EXEC mode.
Display the power monitoring status, and verify the error recovery
settings.
(Optional) Save your entries in the configuration file.
Backup:0.0(w)
Type
Power(w)
Auxilliary
51(w)
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Mode
Available
Configuring Ethernet Interfaces
12-37