前言:
当前咱们对“ensp远程telnet实验”大体比较注重,你们都想要学习一些“ensp远程telnet实验”的相关知识。那么小编也在网络上汇集了一些有关“ensp远程telnet实验””的相关内容,希望同学们能喜欢,姐妹们快快来了解一下吧!根据上图完成配置,使用ping命令来测试pc1与pc2连通性,2 》可以用R2/R3 telent到R1 并将vty权限设置为3
R2配置如下;
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip ADD 10.1.1.1 24
May 3 2018 14:54:04-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]
[Huawei-GigabitEthernet0/0/0]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add
^
Error:Incomplete command found at '^' position.
[Huawei-GigabitEthernet0/0/1]ip add 192.168.2.254 24
May 3 2018 14:55:35-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
IP on the interface GigabitEthernet0/0/1 has entered the UP state.
[Huawei-GigabitEthernet0/0/1]q
[Huawei]vlan 2 <因为pc2链接R2的是e0/0/0口 为以太网口属于二层 要创建vlan 才能配置》
[Huawei-vlan2]q
[Huawei]int e0/0/0
[Huawei-Ethernet0/0/0]port link-t
[Huawei-Ethernet0/0/0]port link-type access
[Huawei-Ethernet0/0/0]port defa vlan 2
[Huawei-Ethernet0/0/0]port defa vlan 2
[Huawei-Ethernet0/0/0]
[Huawei-Ethernet0/0/0]q
[Huawei]int vlan 2
May 3 2018 14:56:48-08:00 Huawei %%01IFNET/4/IF_STATE(l)[2]:Interface Vlanif2 h
as turned into UP state.
[Huawei-Vlanif2]ip add 192.168.1.254 244
^
Error: Wrong parameter found at '^' position.
[Huawei-Vlanif2]ip add 192.168.1.254 24
设备R3配置如上的g口配置方法
设备R1配置如下:
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]10.1.1.254 24
^
Error: Unrecognized command found at '^' position.
[Huawei-GigabitEthernet0/0/0]ip add 10.1.1.254 24
May 3 2018 14:51:08-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]q
[Huawei]aaa
[Huawei-aaa]lo
[Huawei-aaa]local-user admin pass
[Huawei-aaa]local-user admin password cip
[Huawei-aaa]local-user admin password cipher hello pri
[Huawei-aaa]local-user admin(admin是用户名) password cipher hello(hello是密码) privilege lev
[Huawei-aaa]local-user admin password cipher hello privilege level 3(vty级别) ps:用户名和密码是创建新的
[Huawei-aaa]loc
[Huawei-aaa]local-user admin ser
[Huawei-aaa]local-user admin service-type tel
[Huawei-aaa]local-user admin service-type telnet
[Huawei-aaa]q
[Huawei]user
[Huawei]user-group
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]auth
[Huawei-ui-vty0-4]authentication-mode aaa(将telnet的认证变为aaa)
[Huawei-ui-vty0-4]q
[Huawei]
设置好之后我们来测试pc1与pc2是否能ping通
再用R2 telnet R1 看是否可以进入系统视图
[Huawei]sysname R2
[R2]
[R2]
<R2>telnet 10.1.1.254
Press CTRL_] to quit telnet mode
Trying 10.1.1.254 ...
Connected to 10.1.1.254 ...
Login authentication
Username:admin
Password:
-----------------------------------------------------------------------------
User last login information:
-----------------------------------------------------------------------------
Access Type: Telnet
IP-Address : 10.1.1.2
Time : 2018-05-03 14:59:54-08:00
-----------------------------------------------------------------------------
<R1>sy
Enter system view, return user view with Ctrl+Z.
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]dis this
[V200R003C00]
#
interface GigabitEthernet0/0/0
ip address 10.1.1.254 255.255.255.0
#
return
[R1-GigabitEthernet0/0/0]
可以进入并查看配置 实验结束
标签: #ensp远程telnet实验