华为HCNA培训—Telnet远程登录配置练习
R1(telnet server)----------------SW1------------------------R2(telnet client)R1:123.123.123.123/24 R2:123.123.123.133-----------------------------------------R1(Telnet server)-----------------------------------------<Huawei><Huawei>cl <Huawei>clo <Huawei>clock d <Huawei>clock datetime15:00:00 2017-03-19 (设置时间日期)<Huawei>sy <Huawei>system-view Enter system view, return user viewwith Ctrl+Z.sy sysname R1int interface g interface GigabitEthernet 0/0/1ip add ip address10.1.1.1 24un undo sh undoshutdown Info: Interface GigabitEthernet0/0/1is not shutdown.qus user-i user-interface v user-interface vty 0 4auth authentication-mode p authentication-mode password Please configure the login password (maximum length 16):123456set auth set authentication p set authentication password c set authentication password cipher 123456ususer pr user privilege luser privilege level 3pro protocol inbprotocol inbound t protocol inbound telnet dis display this#user-interface con 0 authentication-mode passworduser-interface vty 0 4 authentication-mode password user privilege level 3 set authentication password cipher%$%$/e+B,Dj_ksv5"%q,%$%$user-interface vty 16 20#returnquit<R1>save (保存配置 选“Y”)
-------------------------------------------------------------------------R2(Telnet client) --------------------------------------------------------------------------
<Huawei>sy <Huawei>system-view Enter system view, return user viewwith Ctrl+Z.sy sysname R2int interface g interface GigabitEthernet0/0/2ip add ip address10.1.1.2 24un undo sh undoshutdown Info: Interface GigabitEthernet0/0/2is not shutdown.quitquit<R2><R2>tel <R2>telnet 10.1.1.1(远程telnet登录telnet_server_R2)Trying 10.1.1.1...Press CTRL+K toabortConnected to10.1.1.1 ... Loginauthentication Password: (此处输入Telnet_Server_R1上设置的远程登录密码123456)<R1>-------此处说明已远程登陆进telnet_Server_R1,可以进行配置)<R1>-------<R1>quit (退出telnet远程登录) Configuration console exit, please retry tolog on Info: Theconnection was closed by the remote host.<R2>此处说明已经返回Telnet_Client_R2<R2>save (保存配置 选“Y”)
感谢楼主分享! 感谢楼主 感谢楼主 666666666666666
页:
[1]