i
gco
figi
terfacei
terfaceid
显示当前配置中的端口配置情况
showversio
显示软硬件等情况
举例如下
Switchshowi
terfacesstatus
PortGi01TXGi02Gi03
Name
Statusco
ected
wceserver20202disabledipwccpwebcache
otco
ect
Vla
routed
routedrouted
DuplexSpeedTypeafulla100101001000Base
autoauto101001000BaseTXautoauto101001000BaseTX
fGi04Gi05Gi06Gi07Gi08Gi09Gi010Gi011Gi012
otco
ect
otco
ectdisableddisableddisabled
otco
ect
otco
ectdisabled
otco
ect
routedroutedroutedroutedroutedroutedroutedroutedrouted
autoautoautoautoautoautoautoautoauto
auto101001000BaseTXauto101001000BaseTXauto101001000BaseTXauto101001000BaseTX100101001000BaseTXauto101001000BaseTXauto101001000BaseTXautou
k
ow
autou
k
ow
Switchshowi
terfacesfastether
et01switchport
NameFa01SwitchportE
abledAdmi
istrativeModestaticaccessOperatio
alModedow
Admi
istrativeTru
ki
gE
capsulatio
dot1qNegotiatio
ofTru
ki
gOffAccessModeVLAN1defaultTru
ki
gNativeModeVLAN1defaultTru
ki
gVLANsE
abledALLPru
i
gVLANsE
abled21001
ProtectedfalseU
k
ow
u
icastblockeddisabledU
k
ow
multicastblockeddisabled
VoiceVLANdot1pI
activeApplia
cetrust5
Switchshowru
i
gco
figi
terfacefastether
et02
Buildi
gco
figuratio
Curre
tco
figuratio
131bytesi
terfaceFastEther
et02
switchportmodeaccessswitchportprotected
oipaddressmlsqoscos7
fmlsqoscosoverridee
d
332刷新、重置端口及计数器
Clear命令
目的
clearcou
tersi
terfaceid
清除端口计数器
clearli
e
umberco
sole0vty
umber重置异步串口的硬件逻辑
Noteclearcou
ters命令只清除用showi
terface所显示的计数,不影响用s
mp得到的计数
举例如下:
Switchclearcou
tersfastether
et05Clear