15-13
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 15 Configuring Power over Ethernet
PoE Policing and Monitoring
Configuring Power Policing on an Interface
The default policing levels are determined by the discovery and power allocation methods (listed in order
of priority):
•
Configured consumption values, in case any exist
•
CDP allocated values (for Cisco devices using CDP)
•
Allocated power from IEEE discovery (for devices using this mechanism)
To activate default PoE policing, enter the following:
Switch#
conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
int g2/1
Switch(config-if)#
power inline police
Switch(config-if)#
end
Switch#
show power inline police g2/1
Available:800(w) Used:32(w) Remaining:768(w)
Interface Admin Oper Admin Oper Cutoff Oper
State State Police Police Power Power
--------- ------ ---------- ---------- ---------- ------ -----
Gi2/1 auto on errdisable ok 17.2 16.7
The default action for power policing is to set the port to errdisable; the
power inline police
command
is equivalent to the
power inline police action errdisable
command, as the above example illustrates.
The following example illustrates how to configure the logging policing action:
Switch#
conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
int g2/1
Switch(config-if)#
power inline police action log
Switch(config-if)#
end
Switch#
show power inline police g2/1
Available:800(w) Used:32(w) Remaining:768(w)
Interface Admin Oper Admin Oper Cutoff Oper
State State Police Police Power Power
--------- ------ ---------- ---------- ---------- ------ -----
Gi2/1 auto on log ok 17.2 16.7
When a PD consumes more than its allocated power, the port shuts down and a warning message similar
to the following appears on the console.
For the WS-X4648-GB-RJ45V and WS-X4648-GB-RJ45V+:
*Sep 12 09:15:28.583: %C4K_ETHPORTMAN-3-INLINEPOWEROVERDRAWN: Inline powered device
connected on port Gi3/25 exceeded its policed threshold.
For the WS-X4548-RJ45V+:
*Sep 26 09:23:21.355: %C4K_SWITCHMANAGER-3-INLINEPOWEROVERDRAWN: Inline powered device
connected on port Gi2/1 exceeded its policed threshold.
For actions of Log type, the port restarts itself and the device reboots. In contrast, when the action is to
set the port in an errdisable state, a log message similar to the following appears:
*Sep 26 09:30:20.463: %PM-4-ERR_DISABLE: inline-power error detected on Gi2/1, putting
Gi2/1 in err-disable state
Switch#
show power inline police g2/1
Available:800(w) Used:16(w) Remaining:784(w)
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...