Secret和password区别
Password密码以明文保存,secret密码以密文保存。同时设置了enable password和enable secret时 enable secret 生效 enable password 无效。
特权模式下的命令
1、查看机MAC地址:Switch#show mac-address-table
查看设备当前运行配置:Switch#show running-config
查看设备IOS的版本号:Switch#show version
2、发现(CDP):
Switch#show cdp
Switch#show cdp interface fastethernet0/1
Switch#show cdp neighbors
Switch#show cdp neighbors detail
Switch#show cdp entry
3、保存机配置:
Switch#copy running-config startup-config或者Switch#write
4、恢复交换机出厂值:
Switch#erase startup-config
Switch#reload