雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2040|回复: 5

[学习/资料] 华为HCNA培训—Telnet远程登录配置练习

[复制链接]
发表于 2017-3-19 16:49:04 | 显示全部楼层 |阅读模式
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.
[Huawei]sy
[Huawei]sysname R1
[R1]
[R1]int   
[R1]interface g   
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]ip add
[R1-GigabitEthernet0/0/1]ip address10.1.1.1 24
[R1-GigabitEthernet0/0/1]
[R1-GigabitEthernet0/0/1]un
[R1-GigabitEthernet0/0/1]undo sh   
[R1-GigabitEthernet0/0/1]undoshutdown
Info: Interface GigabitEthernet0/0/1is not shutdown.
[R1-GigabitEthernet0/0/1]q
[R1]
[R1]us
[R1]user-i
[R1]user-interface v
[R1]user-interface vty 0 4
[R1-ui-vty0-4]auth   
[R1-ui-vty0-4]authentication-mode p   
[R1-ui-vty0-4]authentication-mode password
Please configure the login password (maximum length 16):123456
[R1-ui-vty0-4]set auth   
[R1-ui-vty0-4]set authentication p
[R1-ui-vty0-4]set authentication password c   
[R1-ui-vty0-4]set authentication password cipher 123456
[R1-ui-vty0-4]us  
[R1-ui-vty0-4]user pr   
[R1-ui-vty0-4]user privilege l  
[R1-ui-vty0-4]user privilege level 3
[R1-ui-vty0-4]pro
[R1-ui-vty0-4]protocol inb  
[R1-ui-vty0-4]protocol inbound t   
[R1-ui-vty0-4]protocol inbound telnet
[R1-ui-vty0-4]dis
[R1-ui-vty0-4]display this
[V200R003C00]
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
authentication-mode password
user privilege level 3
set authentication password cipher%$%$/e+B,Dj_[9d1=&Cwa#9>,"%n6K#Q3PHX&WQM-[=a
ksv5"%q,%$%$
user-interface vty 16 20
#
return
[R1-ui-vty0-4]
[R1-ui-vty0-4]
[R1-ui-vty0-4]quit
[R1]
[R1]
<R1>save (保存配置 选“Y”)

-------------------------------------------------------------------------
R2(Telnet client)
--------------------------------------------------------------------------

<Huawei>sy
<Huawei>system-view
Enter system view, return user viewwith Ctrl+Z.
[Huawei]
[Huawei]sy
[Huawei]sysname R2
[R2]
[R2]int   
[R2]interface g   
[R2]interface GigabitEthernet0/0/2
[R2-GigabitEthernet0/0/2]ip add
[R2-GigabitEthernet0/0/2]ip address10.1.1.2 24
[R2-GigabitEthernet0/0/2]un
[R2-GigabitEthernet0/0/2]undo sh   
[R2-GigabitEthernet0/0/2]undoshutdown
Info: Interface GigabitEthernet0/0/2is not shutdown.
[R2-GigabitEthernet0/0/2]
[R2-GigabitEthernet0/0/2]quit
[R2]
[R2]quit
<R2>
<R2>tel   
<R2>telnet 10.1.1.1(远程telnet登录telnet_server_R2)
Trying 10.1.1.1...
Press CTRL+K toabort
Connected 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”)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2017-3-19 20:59:37 | 显示全部楼层
感谢楼主分享!
发表于 2017-8-27 13:58:10 | 显示全部楼层
感谢楼主
回复

使用道具 举报

发表于 2017-8-27 13:58:46 | 显示全部楼层
感谢楼主
回复

使用道具 举报

发表于 2018-11-29 22:06:57 | 显示全部楼层
666666666666666
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-11-21 19:38 , Processed in 0.095092 second(s), 22 queries , Gzip On.

快速回复 返回顶部 返回列表