1、拓扑图

说明:通过配置最终能通过R5 用telnet协议登陆到R4上并将R4改名为R44

2、R4配置

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R4
[R4]user-in
[R4]user-interface vty
[R4]user-interface vty
[R4-ui-vty0-]au
[R4-ui-vty0-]authentication-mode aaa
[R4-ui-vty0-]q
[R4]aaa
[R4-aaa]lo
[R4-aaa]local-user user
[R4-aaa]local-user user-telnet pass
[R4-aaa]local-user user-telnet password ci
[R4-aaa]local-user user-telnet password cipher huawei
Info: Add a new user.
[R4-aaa]lo
[R4-aaa]local-user pri
[R4-aaa]local-user user
[R4-aaa]local-user user-telnet pri
[R4-aaa]local-user user-telnet privilege le
[R4-aaa]local-user user-telnet privilege level
[R4-aaa]loc
[R4-aaa]local-user user
[R4-aaa]local-user user-telnet serv
[R4-aaa]local-user user-telnet service-type tel
[R4-aaa]local-user user-telnet service-type telnet
[R4-aaa]
[R4-aaa]
[R4-aaa]q
[R4]int
[R4]interface g
[R4]interface GigabitEthernet //
[R4-GigabitEthernet0//]ip add
[R4-GigabitEthernet0//]ip address 192.168.1.10
Dec ::-: R4 %%01IFNET//LINK_STATE(l)[]:The line protocol IP
on the interface GigabitEthernet0// has entered the UP state.
[R4-GigabitEthernet0//]q
[R4]dis ip int
[R4]dis ip interface bre
[R4]dis ip interface bre
^
Error: Wrong parameter found at '^' position.
[R4]dis ip interface bri
[R4]dis ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is
The number of interface that is DOWN in Physical is
The number of interface that is UP in Protocol is
The number of interface that is DOWN in Protocol is Interface IP Address/Mask Physical Protocol
GigabitEthernet0// 192.168.1.10/ up up
GigabitEthernet0// unassigned down down
GigabitEthernet0// unassigned down down
NULL0 unassigned up up(s)
[R4]
[R44]

3、R5配置并进行测试

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R5
[R5]int
[R5]interface g
[R5]interface GigabitEthernet //
[R5-GigabitEthernet0//]ip add
[R5-GigabitEthernet0//]ip address 192.168.1.20
Dec ::-: R5 %%01IFNET//LINK_STATE(l)[]:The line protocol IP
on the interface GigabitEthernet0// has entered the UP state.
[R5-GigabitEthernet0//]q
[R5]dis ip in
[R5]dis ip interface bri
[R5]dis ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is
The number of interface that is DOWN in Physical is
The number of interface that is UP in Protocol is
The number of interface that is DOWN in Protocol is Interface IP Address/Mask Physical Protocol
GigabitEthernet0// 192.168.1.20/ up up
GigabitEthernet0// unassigned down down
GigabitEthernet0// unassigned down down
NULL0 unassigned up up(s)
[R5]ping 192.168.1.10
PING 192.168.1.10: data bytes, press CTRL_C to break
Reply from 192.168.1.10: bytes= Sequence= ttl= time= ms
Reply from 192.168.1.10: bytes= Sequence= ttl= time= ms
Reply from 192.168.1.10: bytes= Sequence= ttl= time= ms
Reply from 192.168.1.10: bytes= Sequence= ttl= time= ms
Reply from 192.168.1.10: bytes= Sequence= ttl= time= ms --- 192.168.1.10 ping statistics ---
packet(s) transmitted
packet(s) received
0.00% packet loss
round-trip min/avg/max = // ms [R5]telnet 192.168.1.10
^
Error: Unrecognized command found at '^' position.
[R5]tel
[R5]telnet 192.168.1.10
^
Error: Unrecognized command found at '^' position.
[R5]q
<R5>tel
<R5>telnet 192.168.1.10
Press CTRL_] to quit telnet mode
Trying 192.168.1.10 ...
Connected to 192.168.1.10 ... Login authentication Username:user-telnet
Password:
<R4>dis ip in
<R4>dis ip interface br
<R4>dis ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is
The number of interface that is DOWN in Physical is
The number of interface that is UP in Protocol is
The number of interface that is DOWN in Protocol is Interface IP Address/Mask Physical Protocol
GigabitEthernet0// 192.168.1.10/ up up
GigabitEthernet0// unassigned down down
GigabitEthernet0// unassigned down down
NULL0 unassigned up up(s)
<R4>sysname R44
^
Error: Unrecognized command found at '^' position.
<R4>sys
Enter system view, return user view with Ctrl+Z.
[R4]sysname R44
[R44]

注意:telnet只能在用户模式上用

创建用户步骤

1、system-view进入系统模式

2、user-interface vty  0 4 进入vty视图

3 、允许AAA授权,退出vty

4、进入AAA模式 进入AAA视图

5、添加用户 local-user user-telnet password ciper huawei

6、授权用户级别2+ local-user user-telnet privileges level 2

7、授权用户可用协议  local-user user-telnet  service-type telnet

8、退出

9、从另外一台路由器登陆测试,前提是IP配置好互相能ping 通

HCNA配置telnet远程管理的更多相关文章

  1. Network基础(六):telnet远程管理

    一.telnet远程管理 目标: 在企业中为方便网络管理员对Cisco设备的配置,一般需事先在Cisco交换机及路由器上开启远程管理的服务,借助网络通过telnet方式远程访问. 方案: 网络管理员通 ...

  2. 如何在思科交换机上配置Telnet远程登录

    本地用户认证登录 如果配置本地用户认证,则需要开启本地数据库认证,这时就不需要配置相应虚拟终端认证密码了,但要至少配置一个本地用户并设置用户密码用来进行登录认证,具体配置如下: C2960#conf ...

  3. HCNA配置ssh远程登陆

    1.拓扑图 最终实现通过AR1 来SSH登陆到AR2 上 2.配置AR2为开启SSH服务 Please press enter to start cmd line! ############## &l ...

  4. 【Linux远程管理】Telnet远程连接管理

    Telnet,命令行界面下的远程管理工具,因为其历史非常悠久,几乎所有的操作系统都有该工具, 但是,Telnet在传输数据是是通过明文传输的,没有加密,所以现在几乎不会使用Telnet进行管理了. ( ...

  5. 华为S5700交换机初始化和配置SSH和TELNET远程登录方法

    基础设置: 配置登陆IP地址<Quidway> system-view                                                            ...

  6. 锐捷交换机如何配置远程管理地址(telnet)

    基本命令如下: hostname(config)#username admin password 123456  ------>telnet 登录账号为admin密码为123456 hostna ...

  7. h3c 交换机配置VLAN和远程管理

    一.基本设置 1. console线连接成功 2. 进入系统模式 <H3C>system-view //提示符由<H3C> 变为 [H3C] 3. 更改设备名称 [H3C]sy ...

  8. H3C S3100交换机配置VLAN和远程管理

    一.基本设置 1. console线连接成功 2. 进入系统模式 <H3C>system-view //提示符由<H3C> 变为 [H3C] 3. 更改设备名称 [H3C]sy ...

  9. 配置ASA防火墙 远程管理方式

          受不了,asa和思科路由器 系统命令不一致,这一篇专门来写asa.      先看下版本 asa825# show version      Cisco Adaptive Security ...

随机推荐

  1. [转载]np.where()使用说明

    转载自https://www.cnblogs.com/massquantity/p/8908859.html#4072620 numpy.where() 有两种用法: 1. np.where(cond ...

  2. Python的Profilers性能分析器

    关于Python Profilers性能分析器 关于性能分析,python有专门的文档,可查看:http://docs.python.org/library/profile.html?highligh ...

  3. Forbidden You don't have permission to access XXX on this server

    Forbidden You don't have permission to access / on this server. 找到 apache 配置文件 httpd.conf 把里面的 <D ...

  4. 爬虫(GET)——爬baidu.com主页

    工具:python3 目标:www.baidu.com 工作流程: 1)反爬虫第一步:抓包工具fiddler抓取页面请求信息,得到User-Agent的值,用于重构urllib.request.Req ...

  5. win10电脑的USB接口插上U盘以后不能使用?

    今天刚遇到的问题 解决方法如下: 右击“我的电脑”选“属性”,打开“设备管理器”,双击“通用串行总线控制器”,双击任意一个,打开属性对话框,切换到“电源管理”选项卡,去除“允许计算机关闭这个设备以节约 ...

  6. SQL datetime和smalldatetime区别

    datetime 存储大小8个字节,精确到分后的3为小数,日期范围从1753 年 1 月 1 日到 9999 年 12 月 31 日:而 smalldatetime存储大小为4个字节,精确到分,日期范 ...

  7. 服务间调用--feign跟ribbon

    微服务一般来说当然是多服务多实例的,那么这些服务之间如何相互调用呢?spring cloud之前我们用dubbo,把服务开放出来,在xml配好后就可以像调用本地service一样调用其它模块的服务了: ...

  8. 关于Yahoo十四条军规与前端性能优化

    关于Yahoo十四条军规与前端性能优化 热度 4已有 223 次阅读2014-8-3 15:01 |个人分类:前端相关|系统分类:前端优化| 前端优化, yahoo, 性能优化 启用Gzip压缩.Gz ...

  9. HDU 5412——CRB and Queries——————【线段树套Treap(并没有AC)】

    CRB and Queries Time Limit: 12000/6000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Other ...

  10. C#中事件的一些总结

    事件中  sender和e  事件中不同的对象 object  sender  是事件的对象 eventages e   是事件对象传递过来的参数对象 如 private button_click(O ...