銳捷交換機配置命令總結中篇
銳捷交換機顯示命令:
顯示交換機硬件及軟件的信息 Switch#show version
顯示當前運行的配置參數(shù) Switch#show running-config
顯示保存的配置參數(shù) Switch#show configure
常用銳捷交換機EXEC命令
將當前運行的配置參數(shù)復制到flash:Switch#write memory
Building configuration...
[OK]
Switch#
清空flash中的配置參數(shù):Switch#delete flash:config.text
Switch#
交換機重新啟動:Switch#reload
System configuration has been modified. Save? [yes/no]:n
Proceed with reload? [confirm]
配置交換機主機名:Switch(config)#hostname S2126G
S2126G(config)#
配置銳捷交換機口令:
1、 配置交換機的登陸密碼
S2126G(config)#enable secret level 1 0 star
“0”表示輸入的是明文形式的口令
2、 配置交換機的特權密碼
S2126G(config)#enable secret level 15 0 Star
“0”表示輸入的是明文形式的口令
常用銳捷交換機配置命令:
1、為交換機分配管理IP地址
S2126G(config)#interface vlan 1
S2126G(config-if)#ip address {IP address} {IP subnetmask}[secondary]
2、將接口啟用
S2126G(config-if)#no shutdown
3、將接口關閉
S2126G(config-if)#shutdown
4、配置接口速率
S2126G(config-if)#speed [10|100|auto]
5、配置接口雙工模式
S2126G(config-if)#duplex [auto|full|half
顯示接口狀態(tài):S2126G#show interfaces
測定目的端的可達性:S2126G>ping {IP address}
從TFTP服務器下載配置參數(shù):S2126G#copy tftp startup-config
【編輯推薦】