Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-455
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2      Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
power inline police
power inline police
To enable policing of real-time power consumption on a powered device, use the power inline police 
interface configuration command. To disable this feature, use the no form of this command 
power inline police [action {errdisable | log}] 
no power inline police
Syntax Description
Defaults
Policing of the real-time power consumption of the powered device is disabled. 
Command Modes
Interface configuration
Command History
Usage Guidelines
This command is supported only on Power over Ethernet (PoE)-capable ports. If you enter this command 
on a switch or port that does not support PoE, an error message appears.
In a switch stack, this command is supported on all switches or ports in the stack that support PoE and 
real-time power-consumption monitoring.
When policing of the real-time power consumption is enabled, the switch takes action when a powered 
device consumes more power than the allocated maximum amount. 
When PoE is enabled, the switch senses the real-time power consumption of the powered device. This 
feature is called power monitoring or power sensing. The switch also polices the power usage with the 
power policing feature.
When power policing is enabled, the switch uses one of the these values as the cutoff power on the PoE 
port in this order:
1.
The user-defined power level that the switch budgets for the port when you enter the power inline 
consumption default
 wattage global configuration command or the power inline consumption 
wattage interface configuration command.
2.
The user-defined power level that limits the power allowed on the port when you enter the power 
inline auto max 
max-wattage or the power inline static max max-wattage interface configuration 
command
action errdisable
(Optional) If the real-time power consumption exceeds the maximum 
power allocation on the port, configures the switch to turn off power to 
the port. This is the default action. 
action log
(Optional) If the real-time power consumption exceeds the maximum 
power allocation on the port, configures the switch to generate a syslog 
message while the switch still provides power to the connected device.
Release
Modification
12.2(53)SE2
This command was introduced.