您好,登錄后才能下訂單哦!
1.console登錄配置
cisco(config)#username cisco private 0 password cisco
cisco(config)#enable password cisco
cisco(config)#enable secret cisco
cisco(config)#service password-encryption
cisco(config)#line console 0
cisco(config-line)#exec-timeout 5 0
cisco(config-line)#logging synchronous
cisco(config-line)#login local
2.Telnet登錄
cisco(config)#username ciscoprivate 0 password cisco
cisco(config)#enable password cisco
cisco(config)#enable secret cisco
cisco(config)#service password-encryption
cisco(config)#interface FastEthernet0/0
cisco(config-if)#ip address 192.168.1.1 255.255.255.0
cisco(config)#line vty 0 4
cisco(config-line)#exec-timeout 5 0
cisco(config-line)#logging synchronous
cisco(config-line)#login local
3.SSH登錄
cisco(config)#ip domainname cisco.com //配置域名
cisco(config)#username cisco privilege 0 password 0 cisco //創建用戶和密碼,配置登陸級別
cisco(config)#enable password cisco //enable特權密碼
cisco(config)#enable secret cisco //enable特權密碼password/secret同時配置將使用sectet的密碼
cisco(config)#service password-encryption //加密所有明文密碼
cisco(config)#crypto keygenerate rsa //啟用ssh使用rsa加密算法512(越高資源消耗越大)
cisco(config)#banner login ^C //登陸警告
******************** Warning *****************
Without authorization, pleasedo not log in, such as forced illegal intrusion,
The resulting consequences wewill reserve the right above the law. !!!^C
cisco(config)#interface FastEthernet0/0
cisco(config-if)#ip address 192.168.1.1255.255.255.0
cisco(config)##line vty 0 4
cisco(config-line)#exec-timeout 5 0 //5分鐘超時
cisco(config-line)#logging synchronous //光標同步
cisco(config-line)#login local //使用本地驗證
cisco(config-line)#transportinput ssh //僅允許登入的方式
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。