This section describes the CLI to use for configuring and displaying PoE.
To configure auto or off:
power inline auto | never
Configuration example:
Router#config terminal
Router#interface g0/1/<0,1,2,3>
Router(config-if)#power inline {auto|never}
To Verify your configuration:
Router#show power inline
Available:30.0(w) Used:22.5(w) Remaining:7.5(w)
Interface Admin Oper Power Device Class Max
(Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Gi0/1/0 auto on 15.4 Ieee PD 4 30.0
Gi0/1/1 auto off 0.0 n/a n/a 30.0
Gi0/1/2 auto off 0.0 n/a n/a 30.0
Gi0/1/3 auto on 7.1 IP Phone 8845 2 30.0
Router#
To show power on a particular interface:
Router#show power inline {interface-id}
Displays PoE status for a router for the specified interface.
show power inline interface-id detail
To show power consumption:
Router#show power
Main PSU :
Total Power Consumed: 20.99 Watts
Configured Mode : N/A
Current runtime state same : N/A
PowerSupplySource : External PS
POE Module :
Configured Mode : N/A
Current runtime state same : N/A
Total power available : 30 Watts
Router#
The list of commands for debugging PoE follows:
Command
|
Description
|
Debug ilpower controller
|
Display PoE controller debug messages
|
Debug ilpower event
|
Display PoE event debug messages
|
Debug ilpower port
|
Display PoE port manager debug messages
|
Debug ilpower powerman
|
Display PoE power management debug messages
|
Debug ilpower cdp
|
Display PoE CDP debug messages
|
Debug ilpower registries
|
Display PoE registries debug messages
|
Debug ilpower scp
|
Display PoE scp debug messages
|