Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
12-34
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 12 Configuring Interface Characteristics
Configuring Ethernet Interfaces
Beginning in privileged EXEC mode, follow these steps to enable policing of the real-time power
consumption of a powered device connected to a PoE port:
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.
Adding a Description for an Interface
You can add a description about an interface to help you remember its function. The description appears
in the output of these privileged EXEC commands: show configuration
, show running-config, and
show interfaces.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the physical port to be configured, and enter interface
configuration mode.
Step 3
power inline police [action log] 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.
Note You can enable error detection for the PoE error-disabled cause
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 log keywords, the default action shuts down
the port and puts the port in the error-disabled state.
Step 4
exit Return to global configuration mode.
Step 5
errdisable detect cause inline-power
and
errdisable recovery cause inline-power
and
errdisable recovery interval interval
(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.
Step 6
exit Return to privileged EXEC mode.
Step 7
show power inline police
show errdisable recovery
Display the power monitoring status, and verify the error recovery
settings.
Step 8
copy running-config startup-config (Optional) Save your entries in the configuration file.