交換機(jī)配置命令集錦
1、 進(jìn)入全局配置模式
2、 啟用交換機(jī)的HTTP Server
3、 配置主機(jī)名
4、 配置超級(jí)用戶口令
5、 配置遠(yuǎn)程登錄口令
6、 配置系統(tǒng)時(shí)間
7、 配置設(shè)備管理地址(IP地址及缺省路由)
8、 進(jìn)入端口配置模式
9、 配置端口描述信息
10、配置交換機(jī)端口的關(guān)閉與開啟
11、配置交換機(jī)端口的通信方式
12、配置交換機(jī)端口的傳輸速率
13、配置VTP域名
14、配置VTP工作模式
15、進(jìn)入VLAN配置模式
交換機(jī)配置命令集錦之Catalyst 3548
1、Switch-3548 > enable
Password : ********
Switch-3548 # config t
Switch-3548 (config) #
2、Switch-3548 (config) # ip http server
3、Switch-3548 (config) # hostname Switch-PHY-3548
4、Switch-PHY-3548 (config) # enable secret 5 zzz
Switch-PHY-3548 (config) # enable password zzz
Switch-PHY-3548 (config) #
Switch-PHY-3548 (config) # enable password 7 zzz
Switch-PHY-3548 (config) #
5、Switch-PHY-3548 (config) # line vty 0 4
Switch-PHY-3548 (config-line) # password 7 zzz
Switch-PHY-3548 (config-line) # password 0 zzz
Switch-PHY-3548 (config-line) #
6、Switch-PHY-3548 # clock set 23:00:00 29 March 2009
7、Switch-PHY-3548 (config) # interface VLAN1
Switch-PHY-3548 (config-if) # ip address 203.105.1.62 255.255.255.0
Switch-PHY-3548 (config) # ip default-gateway 203.105.1.1
8、Switch-PHY-3548 (config) # interface f0/24
9、Switch-PHY-3548 (config-if) # description To-lib
10、Switch-PHY-3548 (config-if) # (no) shutdown
11、Switch-PHY-3548 (config-if) # duplex auto/full/half
12、Switch-PHY-3548 (config-if) # speed 10/100/auto
13、Switch-PHY-3548 (config) # vtp domain pku
14、Switch-PHY-3548 (config) # vtp mode server/client/transparent
15、Switch-PHY-3548 # vlan data