思科和華爲模擬器給console口配置登陸密碼

我們將採用cisco Packet Tracer進行拓撲搭建,如下圖:
在這裏插入圖片描述
然後進入到路由器配置模式,進入到全局模式,然後我們繼續進入到console口的line線路模式,爲之配置密碼,然後login啓用,然後退回到用戶模式。
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#end
我們將看到如圖所示提示即配置成功:
在這裏插入圖片描述
輸入密碼即可登陸使用!!
如果使用的是華爲ENSP模擬器,拓撲圖沒什麼太大區別,命令爲:
system-view
[Huawei]sysname R1
[R1]user-interface console 0
[R1-ui-console0]authentication-mode password
Please configure the login password(maximum length 16):huawei
[R1-ui-console0]quit
[R1]quit
quit
然後也可以進行密碼登陸了

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