思科常用命令
划分vlan
cs-1-100#conf t
Enter configuration commands, one per line. End with CNTL/Z.
cs-1-100(config)#int
cs-1-100(config)#interface gi
cs-1-100(config)#interface gigabitEthernet 1/0/1
cs-1-100(config-if)#sw
cs-1-100(config-if)#switchport acc
cs-1-100(config-if)#switchport access vlan 103
cs-1-100(config-if)#ex
cs-1-100(config)#
show running-config 查看全部端口的配置信息
show running-config
1、查看所有端口的详细状态信息
show interfaces
show interfaces status 查看端口的基本状态信息
show ip interfaces brief 查看包括IP信息在内的端口简要状态信息
1、简单地回顾一下上边几条命令
l 查看当前所有配置:
show running-config
l 查看指定端口配置:
show running-config in3terfaces <int-type int-number>
l 查看所有端口详细信息:
show interfaces
l 查看指定端口详细信息:
show interfaces <interface-type interface-number>
l 查看所有端口简要信息:
show interfaces status
l 查看3层端口简要信息:
show ip interfaces brief
l 查看指定端口简要信息
show interfaces <interface-type interface-number> status
l 查看聚合端口的状态信息
查看每个聚合组内包含哪些端口
show etherchannel summary
查看所有聚合组信息及其所含端口的简要状态信息
show etherchannel detail
查看所有聚合组的简要信息及其包含哪些端口
show etherchannel port-channel
查看指定聚合组的端口信息
show interfaces port-channel <group-number>
查看光纤端口的状态信息
查看所有光纤口的详细状态信息
show interfaces transceiver detail
查看指定光口的详细状态信息
show interfaces <int-type int-number> transceiver detail
查看所有光纤口的简要状态信息
show interfaces transceiver
查看指定光纤口的简要状态信息
show interfaces <int-type int-number> transceiver
本文链接:https://www.ywjdlhs.xyz/?id=8 欢迎转载 转载请注明出处。

