1、查看思科交换机是否具有POE功能:
通常情况下带P字的表示具有POE功能,一般在2960,3560.3550,4507等都具有支持的板卡或者主机:
XiAn_3560POE#shversion
SwitchPortsModelSWVersionSWImage
------------------------------------
*126WS-C3560-24PS12.2(25)SED1C3560-ADVIPSERVICESK
2、思科交换机查看POE供电情况:
XiAn_3560POE#shpowerinline?
FastEthernetFastEthernetIEEE802.3
GigabitEthernetGigabitEthernetIEEE802.3z
consumptionShowinlinepowerconsumptiondefault
|Outputmodifiers
XiAn_3560POE#shpowerinline
Available:370.0(w)Used:84.9(w)Remaining:285.1(w)
InterfaceAdminOperPowerDeviceClassMax
(Watts)
------------------------------------------------------------
Fa0/1autoon12.0IPPhone7945315.4
Fa0/2autoon10.5IPPhone7937315.4
Fa0/3autoon6.3IPPhone7961215.4
Fa0/4autooff0.0n/an/a15.4
Fa0/5autoon6.3IPPhone7912n/a15.4
Fa0/6autooff0.0n/an/a15.4
Fa0/7autoon6.3IPPhone7941215.4
Fa0/8autoon6.3IPPhone7941215.4
Fa0/9autoon6.3IPPhone7961215.4
Fa0/10autoon6.3IPPhone7961215.4
Fa0/11autoon6.3IPPhone7961215.4
Fa0/12autooff0.0n/an/a15.4
Fa0/13autoon6.3IPPhone7960n/a15.4
Fa0/14autoon12.0IPPhone7965315.4
Fa0/15autooff0.0n/an/a15.4
Fa0/16autooff0.0n/an/a15.4
Fa0/17autooff0.0n/an/a15.4
Fa0/18autooff0.0n/an/a15.4
Fa0/19autooff0.0n/an/a15.4
Fa0/20autooff0.0n/an/a15.4
其中Oper表示用没有用POE功能,power:表示用了实际多少瓦,Max表示最大每个端口可供多少瓦。
3、端口配置POE供电大小如下,同时可调整供电的大小:
XiAn_3560POE(config)#intfa0/20
XiAn_3560POE(config-if)#powerinlineconsump
XiAn_3560POE(config-if)#powerinlineconsumption?
<4000-15400>milli-watts
XiAn_3560POE(config-if)#powerinlineconsumption
XiAn_3560POE#