当前位置:文档之家› CISCO交换机常用命令

CISCO交换机常用命令

1、进入特权模式
switch>enable
switch#

2、查看端口状态
switch#show interface t1/0/1 status

3、查看码信息,A0_Low和A2_High
switch#show idprom interface t1/0/1

4、查看DDM信息
switch#show interface t1/0/1 transceiver (detail)

5、查看物理接口信息,主要是A0的SN和A2_High的部分信息
switch#show inventory

6、重启端口
switch#config terminal
switch#interface t1/0/1
switch#shutdown
switch#no shutdown
switch#end (exit)

7、端口err-disable后,自动恢复
switch#show interface t1/0/1 status err-disable
switch#config terminal
switch(config)#errdisable recovery cause loopback (第一步可以查到是什么原因导致的err-disable)
switch(config)#exit
switch#show errdisable recovery

8、重启交换机
switch#reload

9、使用第三方光模块接入CISCO交换机
switch#config terminal
switch(config)#service unsupported-transceiver
switch(config)#noerrdisable detect cause gbic-invalid
switch(int-conf)#speed nonegotiate
保存配置,然后接入光模块


相关主题
文本预览
相关文档 最新文档