软考中级网络工程师--ensp 实验(一)

3A实现telnet远程连接认证配置

在这里插入图片描述

AR1配置

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ip address 192.168.100.1 24
Aug 10 2024 15:41:10-08:00 AR1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
 on the interface GigabitEthernet0/0/0 has entered the UP state. 
[AR1-GigabitEthernet0/0/0]quit

aaa 用户管理

[AR1]aaa
[AR1-aaa]local-user admin password cipher 123456  #创建用户设置密码  cipher表示密码经过加密
[AR1-aaa]local-user admin privilege level 15      #用户级别为15,最高级别
[AR1-aaa]local-user admin service-type telnet     #用户通过 telnet 服务类型进行登录
[AR1-aaa]quit

VTY用户配置

[AR1]user-interface vty 0 4                      #VTY用户界面的配置模式,并指定了终端线路范围从0[AR1-ui-vty0-4]authenttication-mode aaa          #VTY终端线路的身份验证模式设置为AAA

AR2配置

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR2
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]ip address 192.168.100.2 24
[AR2-GigabitEthernet0/0/0]quit



telnet 服务链接

<AR2>telnet 192.168.100.1  
  Press CTRL_] to quit telnet mode
  Trying 192.168.100.1 ...
  Connected to 192.168.100.1 ...

Login authentication


Username:admin
Password:
<AR1>

静态路由

在这里插入图片描述
AR1

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ip address 10.0.0.1 24
[AR1-GigabitEthernet0/0/0]int g0/0/1
[AR1-GigabitEthernet0/0/1]ip address 192.168.1.1 24
[AR1-GigabitEthernet0/0/1]ip route-static 192.168.2.0 24 10.0.0.2
[AR1]q
<AR1>q

  Configuration console exit, please press any key to log on

<AR1>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR1>

AR2

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR2
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]ip address 10.0.0.2 24
[AR2-GigabitEthernet0/0/0]int g0/0/1
[AR2-GigabitEthernet0/0/1]ip address 192.168.2.10 24
[AR2-GigabitEthernet0/0/1]ip route-static 192.168.10.0 24 10.0.0.1
[AR2]q
<AR2>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR2>

RIP动态路由

在这里插入图片描述

AR1配置`

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]int g0/0/1
[AR1-GigabitEthernet0/0/1]ip add 192.168.1.1 24
[AR1-GigabitEthernet0/0/1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ip add 10.0.0.1 24
[AR1-GigabitEthernet0/0/0]q
[AR1]q
<AR1>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR1>sys
Enter system view, return user view with Ctrl+Z.


[AR1]rip 1
[AR1-rip-1]version 2
[AR1-rip-1]network 10.0.0.0
[AR1-rip-1]network 192.168.1.0
[AR1-rip-1]q
[AR1]q
<AR1>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR1>


AR2配置

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR2
[AR2]int g0/0/1
[AR2-GigabitEthernet0/0/1]ip add 192.168.2.1 24
[AR2-GigabitEthernet0/0/1]int g0/0/0
[AR2-GigabitEthernet0/0/0]ip add 10.0.0.2 24
[AR2-GigabitEthernet0/0/0]q
[AR2]q
<AR2>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR2>sys
Enter system view, return user view with Ctrl+Z.


[AR2]rip 1
[AR2-rip-1]version 2
[AR2-rip-1]network 10.0.0.0
[AR2-rip-1]network 192.168.2.0
[AR2-rip-1]q
[AR2]q
<AR2>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR2>

ping
在这里插入图片描述
在这里插入图片描述

OSPF单区域

在这里插入图片描述
AR1

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ip address 10.0.0.1 24
[AR1-GigabitEthernet0/0/0]int g0/0/1
[AR1-GigabitEthernet0/0/1]ip address 192.168.100.254 24
[AR1-GigabitEthernet0/0/1]q
[AR1]q
<AR1>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR1>ospf 1
     ^
Error: Unrecognized command found at '^' position.
<AR1>sys
Enter system view, return user view with Ctrl+Z.
[AR1]ospf 1
[AR1-ospf-1]area 0
[AR1-ospf-1-area-0.0.0.0]network 192.168.100.0 0.0.0.255  #network 网段 网段的反子网掩码
[AR1-ospf-1-area-0.0.0.0]network 10.0.0.0 0.0.0.255  #network 网段 网段的反子网掩码
[AR1-ospf-1-area-0.0.0.0]q
[AR1-ospf-1]q
[AR1]q
<AR1>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR1>

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

AR2

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR2
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]ip address 10.0.0.2 24
[AR2-GigabitEthernet0/0/0]int g0/0/1
[AR2-GigabitEthernet0/0/1]ip address 20.0.0.1 24
[AR2-GigabitEthernet0/0/1]q
[AR2]
[AR2]q
<AR2>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR2>sys
Enter system view, return user view with Ctrl+Z.
[AR2]ospf 1
[AR2-ospf-1]area 0
[AR2-ospf-1-area-0.0.0.0]network 10.0.0.0 0.0.0.255  #network 网段 网段的反子网掩码
[AR2-ospf-1-area-0.0.0.0]network 20.0.0.0 0.0.0.255  #network 网段 网段的反子网掩码
[AR2-ospf-1-area-0.0.0.0]q
[AR2-ospf-1]q
[AR2]save
     ^
Error: Unrecognized command found at '^' position.
[AR2]q
<AR2>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR2>

AR3

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR3
[AR3]int g0/0/0
[AR3-GigabitEthernet0/0/0]ip address 20.0.0.2 24
[AR3-GigabitEthernet0/0/0]int g0/0/1
[AR3-GigabitEthernet0/0/1]ip address 192.168.110.254 24
[AR3-GigabitEthernet0/0/1]q
[AR3]q
<AR3>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR3>ospf 1
     ^
Error: Unrecognized command found at '^' position.
<AR3>sys
Enter system view, return user view with Ctrl+Z.
[AR3]ospf 1
[AR3-ospf-1]area 0
[AR3-ospf-1-area-0.0.0.0]network 192.168.110.0 0.0.0.255  #network 网段 网段的反子网掩码
[AR3-ospf-1-area-0.0.0.0]network 20.0.0.0 0.0.0.255       #network 网段 网段的反子网掩码
[AR3-ospf-1-area-0.0.0.0]q
[AR3-ospf-1]q
[AR3]q
<AR3>q

  Configuration console exit, please press any key to log on

<AR3>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR3>

OSPF多区域

在这里插入图片描述

AR1

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ip address 10.0.0.1 24
[AR1-GigabitEthernet0/0/0]int g0/0/1
[AR1-GigabitEthernet0/0/1]ip address 192.168.100.254 24
[AR1-GigabitEthernet0/0/1]q
[AR1]ospf 1 router-id 1.1.1.1
[AR1-ospf-1]area 1
[AR1-ospf-1-area-0.0.0.1]network 10.0.0.0 0.0.0.255
[AR1-ospf-1-area-0.0.0.1]q
[AR1-ospf-1]area 0
[AR1-ospf-1-area-0.0.0.0]network 192.168.100.0 0.0.0.255
[AR1-ospf-1-area-0.0.0.0]q
[AR1-ospf-1]q
[AR1]q
<AR1>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR1>

AR2

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname Ar2
[Ar2]sysname AR2
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]ip address 10.0.0.2 24
[AR2-GigabitEthernet0/0/0]int g0/0/1
[AR2-GigabitEthernet0/0/1]ip address 20.0.0.1 24
[AR2-GigabitEthernet0/0/1]q
[AR2]ospf 1 router-id 2.2.2.2
[AR2-ospf-1]area 1
[AR2-ospf-1-area-0.0.0.1]network 10.0.0.0 0.0.0.255
[AR2-ospf-1-area-0.0.0.1]network 20.0.0.0 0.0.0.255
[AR2-ospf-1-area-0.0.0.1]q
[AR2-ospf-1]q
[AR2]q
<AR2>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR2>

AR3

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR3
[AR3]int g0/0/0
[AR3-GigabitEthernet0/0/0]ip address 20.0.0.2 24
[AR3-GigabitEthernet0/0/0]int g0/0/1
[AR3-GigabitEthernet0/0/1]ip address 192.168.110.10 24
[AR3-GigabitEthernet0/0/1]q
[AR3]ospf 1 router-id 3.3.3.3
[AR3-ospf-1]area 1
[AR3-ospf-1-area-0.0.0.1]network 20.0.0.0 0.0.0.255
[AR3-ospf-1-area-0.0.0.1]q
[AR3-ospf-1]area 2
[AR3-ospf-1-area-0.0.0.2]network 192.168.110.0 0.0.0.255
[AR3-ospf-1-area-0.0.0.2]q
[AR3-ospf-1]q
[AR3]q
<AR3>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<AR3>

BGP

在这里插入图片描述

AR1

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ip address 10.0.0.1 24
Aug 11 2024 16:36:54-08:00 AR1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
 on the interface GigabitEthernet0/0/0 has entered the UP state. 
[AR1-GigabitEthernet0/0/0]int g0/0/1
[AR1-GigabitEthernet0/0/1]ip address 192.168.10.254 24
Aug 11 2024 16:37:21-08:00 AR1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
 on the interface GigabitEthernet0/0/1 has entered the UP state. 
[AR1-GigabitEthernet0/0/1]q
[AR1]bgp 100
[AR1-bgp]peer 10.0.0.2 as-number 200
[AR1-bgp]network 192.168.10.0 24
[AR1-bgp]

AR2

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR2
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]ip address 10.0.0.2 24
Aug 11 2024 16:45:42-08:00 AR2 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
 on the interface GigabitEthernet0/0/0 has entered the UP state. 
[AR2-GigabitEthernet0/0/0]int g0/0/1
[AR2-GigabitEthernet0/0/1]ip address 192.168.20.254 24
Aug 11 2024 16:46:02-08:00 AR2 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
 on the interface GigabitEthernet0/0/1 has entered the UP state. 
[AR2-GigabitEthernet0/0/1]q
[AR2]bgp 200
[AR2-bgp]peer 10.0.0.1 as-number 100
[AR2-bgp]network 192.168.20.0 24
[AR2-bgp]

ISIS实验

在这里插入图片描述
AR1

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]
[AR1-GigabitEthernet0/0/0]ip address 10.0.0.1 24
Aug 11 2024 18:34:17-08:00 AR1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
 on the interface GigabitEthernet0/0/0 has entered the UP state. 
[AR1-GigabitEthernet0/0/0]int g0/0/1
[AR1-GigabitEthernet0/0/1]ip address 192.168.10.254 24
Aug 11 2024 18:34:40-08:00 AR1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
 on the interface GigabitEthernet0/0/1 has entered the UP state. 
[AR1-GigabitEthernet0/0/1]q
[AR1]isis
[AR1-isis-1]network-entity 10.0000.0000.0001.00
Aug 11 2024 18:37:33-08:00 AR1 %%01ISIS/4/START_ENABLE_ISIS(l)[2]:ISIS 256 enabl
ed all ISIS modules. 
[AR1-isis-1]q
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]isis enable
[AR1-GigabitEthernet0/0/0]int g0/0/01
[AR1-GigabitEthernet0/0/1]isis enable
[AR1-GigabitEthernet0/0/1]

AR2

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR2
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]ip address 10.0.0.2 24
Aug 11 2024 18:38:58-08:00 AR2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
 on the interface GigabitEthernet0/0/0 has entered the UP state. 
[AR2-GigabitEthernet0/0/0]int g0/0/1
[AR2-GigabitEthernet0/0/1]ip address 20.0.0.2 24
Aug 11 2024 18:39:16-08:00 AR2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
 on the interface GigabitEthernet0/0/1 has entered the UP state. 
[AR2-GigabitEthernet0/0/1]q
[AR2]isis
[AR2-isis-1]network-entity 10.0000.0000.0002.00
Aug 11 2024 18:39:29-08:00 AR2 %%01ISIS/4/START_ENABLE_ISIS(l)[2]:ISIS 256 enabl
ed all ISIS modules. 
[AR2-isis-1]q
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]isis enable
Aug 11 2024 18:39:44-08:00 AR2 %%01ISIS/4/ADJ_CHANGE_LEVEL(l)[3]:The neighbor of
 ISIS was changed. (IsisProcessId=256, Neighbor=0000.0000.0001, InterfaceName=GE
0/0/0, CurrentState=up, ChangeType=NEW_L1_ADJ, Level=Level-1) 
[AR2-GigabitEthernet0/0/0]
Aug 11 2024 18:39:44-08:00 AR2 %%01ISIS/4/ADJ_CHANGE_LEVEL(l)[4]:The neighbor of
 ISIS was changed. (IsisProcessId=256, Neighbor=0000.0000.0001, InterfaceName=GE
0/0/0, CurrentState=up, ChangeType=NEW_L2_ADJ, Level=Level-2) 
[AR2-GigabitEthernet0/0/0]int g0/0/1
[AR2-GigabitEthernet0/0/1]isis enable

AR3

[Huawei]sysname AR3
[AR3]int g0/0/0
[AR3-GigabitEthernet0/0/0]ip address 20.0.0.1 24
Aug 11 2024 18:40:38-08:00 AR3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
 on the interface GigabitEthernet0/0/0 has entered the UP state. 
[AR3-GigabitEthernet0/0/0]int g0/0/1
[AR3-GigabitEthernet0/0/1]ip address 192.168.20.254 24
Aug 11 2024 18:40:54-08:00 AR3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
 on the interface GigabitEthernet0/0/1 has entered the UP state. 
[AR3-GigabitEthernet0/0/1]
Aug 11 2024 18:40:54-08:00 AR3 ARP/4/ARP_IPCONFLICT_TRAP:OID 16777216.50331648.1
00663296.16777216.67108864.16777216.3674669056.83886080.419430400.2063597568.335
54432.100663296 ARP detects IP conflict. (IP address=10.20.168.192, Local interf
ace=GigabitEthernet0/0/1, Local MAC=00e0-fc47-4e1a, Local vlan=0, Local CE vlan=
0, Receive interface=GigabitEthernet0/0/1, Receive MAC=5489-98cf-1bc4, Receive v
lan=0, Receive CE vlan=0, IP conflict type=Local IP conflict). 
[AR3-GigabitEthernet0/0/1]
Aug 11 2024 18:40:54-08:00 AR3 %%01ARP/4/ARP_DUPLICATE_IPADDR(l)[2]:Received an 
ARP packet with a duplicate IP address from the interface. (IpAddress=10.20.168.
192, InterfaceName=GigabitEthernet0/0/1, MacAddress=5489-98cf-1bc4) 
[AR3-GigabitEthernet0/0/1]q
[AR3]isis
[AR3-isis-1]network-entity 10.0000.0000.0003.00
Aug 11 2024 18:41:09-08:00 AR3 %%01ISIS/4/START_ENABLE_ISIS(l)[3]:ISIS 256 enabl
ed all ISIS modules. 
[AR3-isis-1]
[AR3-isis-1]int g0/0/0
[AR3-GigabitEthernet0/0/0]is enable
[AR3-GigabitEthernet0/0/0]
Aug 11 2024 18:41:24-08:00 AR3 %%01ISIS/4/ADJ_CHANGE_LEVEL(l)[4]:The neighbor of
 ISIS was changed. (IsisProcessId=256, Neighbor=0000.0000.0002, InterfaceName=GE
0/0/0, CurrentState=up, ChangeType=NEW_L1_ADJ, Level=Level-1) 
[AR3-GigabitEthernet0/0/0]
Aug 11 2024 18:41:24-08:00 AR3 %%01ISIS/4/ADJ_CHANGE_LEVEL(l)[5]:The neighbor of
 ISIS was changed. (IsisProcessId=256, Neighbor=0000.0000.0002, InterfaceName=GE
0/0/0, CurrentState=up, ChangeType=NEW_L2_ADJ, Level=Level-2) 
[AR3-GigabitEthernet0/0/0]int g0/0/1
[AR3-GigabitEthernet0/0/1]isis enable
[AR3-GigabitEthernet0/0/1]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值