查看当前配置及IP地址:#show running-config
查看交换机端口对应的MAC地址:#show mac-address-table
查看MAC地址表:S2126G#show mac-address-table
查看MAC地址表记录的生存时间:S2126G#show mac-address-table aging-time
扩展资料:
锐捷交换机的其它网络命令
1.配置Port VLAN:
Switch(config-if)#switchport access vlan
2.配置Tag VLAN:
Switch(config-if)#switchport mode trunk
3.配置本地(native)VLAN
Switch(config-if)#switchport trunk native vlan
3.从主干链路中清除VLAN
Switch(config-if)#switchport trunk allowed vlan except
注:VLAN1不可被清除
锐捷交换机VLAN的验证:
1.显示全部的VLAN:Switch#show vlan
2.显示单独的VLAN :Switch#show vlan id
3.将VLAN信息保存到flash中:Switch#write memory
4.从flash中清除VLAN信息:Switch#delete flash:vlan.dat
标签: 锐捷交换机