HCNA配置telnet远程管理
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远程管理的更多相关文章
- Network基础(六):telnet远程管理
一.telnet远程管理 目标: 在企业中为方便网络管理员对Cisco设备的配置,一般需事先在Cisco交换机及路由器上开启远程管理的服务,借助网络通过telnet方式远程访问. 方案: 网络管理员通 ...
- 如何在思科交换机上配置Telnet远程登录
本地用户认证登录 如果配置本地用户认证,则需要开启本地数据库认证,这时就不需要配置相应虚拟终端认证密码了,但要至少配置一个本地用户并设置用户密码用来进行登录认证,具体配置如下: C2960#conf ...
- HCNA配置ssh远程登陆
1.拓扑图 最终实现通过AR1 来SSH登陆到AR2 上 2.配置AR2为开启SSH服务 Please press enter to start cmd line! ############## &l ...
- 【Linux远程管理】Telnet远程连接管理
Telnet,命令行界面下的远程管理工具,因为其历史非常悠久,几乎所有的操作系统都有该工具, 但是,Telnet在传输数据是是通过明文传输的,没有加密,所以现在几乎不会使用Telnet进行管理了. ( ...
- 华为S5700交换机初始化和配置SSH和TELNET远程登录方法
基础设置: 配置登陆IP地址<Quidway> system-view ...
- 锐捷交换机如何配置远程管理地址(telnet)
基本命令如下: hostname(config)#username admin password 123456 ------>telnet 登录账号为admin密码为123456 hostna ...
- h3c 交换机配置VLAN和远程管理
一.基本设置 1. console线连接成功 2. 进入系统模式 <H3C>system-view //提示符由<H3C> 变为 [H3C] 3. 更改设备名称 [H3C]sy ...
- H3C S3100交换机配置VLAN和远程管理
一.基本设置 1. console线连接成功 2. 进入系统模式 <H3C>system-view //提示符由<H3C> 变为 [H3C] 3. 更改设备名称 [H3C]sy ...
- 配置ASA防火墙 远程管理方式
受不了,asa和思科路由器 系统命令不一致,这一篇专门来写asa. 先看下版本 asa825# show version Cisco Adaptive Security ...
随机推荐
- javascript 中function(){}(),new function(),new Function(),Function
和java比起来,javascript真的是松散的无以复加,不过这也让我们在无聊之余,有精力去探讨一些复杂的应用,从而在开发之路上,获得一些新的想法. javascript中的类的构造 javascr ...
- spring boot +Thymeleaf+mybatis 集成通用PageHelper,做分页
controller: /** * 分页查询用户 * @param request * @param response * @return * @throws Exception */ @ ...
- 根据map中某一字段排序
以上是从小到大的排序...要注意.! 需要jdk8...
- 2015苏州大学ACM-ICPC集训队选拔赛(1) 1007
连通图 Time Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other) Total Submissio ...
- php中静态绑定
自 PHP 5.3.0 起,PHP 增加了一个叫做后期静态绑定的功能,用于在继承范围内引用静态调用的类. 虽然也可以调用非静态方法,但是不会在运行时绑定. static 不再只是简单的静态修饰关键字. ...
- dedecms中模板函数
下面来解说下DEDECMS织梦CMS模板里面的函数说明 在文件include/inc_function.php里面 1 2 GetCurUrl() 获贴切前的脚本的URL 1 2 GetAlabNum ...
- Windows 常见DOS命令
1. 查看网络连接及路由状况 netstat -a 查看开启了哪些端口,常用netstat -an netstat -n 查看端口的网 ...
- sqlserver 索引进阶(下)
参考原文 http://www.cnblogs.com/tjy9999/p/4494799.html 第十级, 索引内部结构 建立索引的目的是加快对表中记录的查找或排序.为表设置索引要付出代价的:一是 ...
- 搭建一个wordpress网站需要做哪些工作
今天做了自己的个人网站:二飞日志 之前因为服务器的问题,因为备案的原因辛辛苦苦做的站点数据没了.还好的是没有多少数据.没关系,重新来.有了上一次的经验,这次搭建起来比较顺手.但是也出现了几个问题.下面 ...
- hive表多种存储格式的文件大小差异,无重复数据
-- 重点,目标表无重复数据 -- dbName.num_result 无重复记录 -- 插入数据 CREATE TABLE dbName.test_textfile( `key` string, ` ...