交換機的密碼配置

遠程登錄交換機:
有點式交換機在機房中,機房不能隨便進入,所以需要遠程登錄交換機。
步驟:
配置交換機:設置交換機的IP地址和VTY密碼
switch>en
switch#conf t
switch(config)#int vlan 1
switch(config-if)#ip address 192.168.1.1 255.255.255.0
switch(config-if)#no shutdown
switch(config-if)#exit
switch(config)#line vty 0 4
switch(config-line)#password 123(密碼)
switch(config-line)#login
在全局模式下給特權模型配置密碼
switch(config)#enable password 123(密碼)













交換機的密碼配置
交換機的密碼配置

PC通過console接口給虛擬機設置console密碼
switch(config)#line console 0
switch(config-line)#password 密碼
switch(config-line)#login
交換機的密碼配置
交換機的密碼配置
交換機的密碼配置
交換機的密碼配置






計算機設置IP地址和遠程登錄,ping交換機,
ping 192.168.1.1
telnet 192.168.1.1
交換機的密碼配置


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章