HCIA综合大实验

[Huawei]sy r1
[r1]int gi 0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.1.1 30
[r1-GigabitEthernet0/0/0]
Dec 30 2020 21:10:39-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-GigabitEthernet0/0/0]q
[r1]int
[r1]interface gi 0/0/1
[r1-GigabitEthernet0/0/1]dot
[r1-GigabitEthernet0/0/1]dot
[r1-GigabitEthernet0/0/1]q
[r1]do
[r1]int gi0/0/1.1
[r1-GigabitEthernet0/0/1.1]do
[r1-GigabitEthernet0/0/1.1]dot1q ter
[r1-GigabitEthernet0/0/1.1]dot1q termination vid 2
[r1-GigabitEthernet0/0/1.1]arp br
[r1-GigabitEthernet0/0/1.1]arp broadcast en
[r1-GigabitEthernet0/0/1.1]arp broadcast enable
[r1-GigabitEthernet0/0/1.1]ip add 192.168.1.129 27
Dec 30 2020 21:11:58-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1.1 has entered the UP state.
[r1-GigabitEthernet0/0/1.1]int gi0/0/1.2
[r1-GigabitEthernet0/0/1.2]do
[r1-GigabitEthernet0/0/1.2]dot1q ter
[r1-GigabitEthernet0/0/1.2]dot1q termination vid 3
[r1-GigabitEthernet0/0/1.2]arp br
[r1-GigabitEthernet0/0/1.2]arp broadcast en
[r1-GigabitEthernet0/0/1.2]arp broadcast enable
[r1-GigabitEthernet0/0/1.2]ip add 192.168.1.161 27
Dec 30 2020 21:13:01-08:00 r1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/1.2 has entered the UP state.
[r1-GigabitEthernet0/0/1.2]q
[r1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r1]ip pool v2
Info: It’s successful to create an IP address pool.
[r1-ip-pool-v2]nr
[r1-ip-pool-v2]ne
[r1-ip-pool-v2]netbios-type
[r1-ip-pool-v2]network 192.168.1.128 mask 27
[r1-ip-pool-v2]ga
[r1-ip-pool-v2]gateway-list 192.168.1.129
[r1-ip-pool-v2]dn
[r1-ip-pool-v2]dns-list 114.114.114.114
[r1-ip-pool-v2]ip pool v3
Info: It’s successful to create an IP address pool.
[r1-ip-pool-v3]net
[r1-ip-pool-v3]netbios-type
[r1-ip-pool-v3]network 192.168.1.160 mask 27
[r1-ip-pool-v3]ga
[r1-ip-pool-v3]gateway-list 192.168.1.161
[r1-ip-pool-v3]dns
[r1-ip-pool-v3]dns-list 114.114.114.114
[r1-ip-pool-v3]q
[r1]int
[r1]interface gi0/0/1
[r1-GigabitEthernet0/0/1]ip add 192.168.1.129 26
Error: The specified address conflicts with another address.
[r1-GigabitEthernet0/0/1]

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

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

sy Enter system view, return user view with Ctrl+Z. [r1]ip route-static 192.168.1.64 26 192.168.1.2 [r1]ip route-static 12.1.1.0 24 192.168.1.2 [r1]ip route-static 1.1.1.0 24 192.168.1.2 [r1]

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

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

sy
Enter system view, return user view with Ctrl+Z.
[r1]int gi0/0/1.1
[r1-GigabitEthernet0/0/1.1]dhcp se
[r1-GigabitEthernet0/0/1.1]dhcp selectgl
[r1-GigabitEthernet0/0/1.1]dhcp select gl
[r1-GigabitEthernet0/0/1.1]dhcp select global
[r1-GigabitEthernet0/0/1.1]int
[r1-GigabitEthernet0/0/1.1]int gi0/0/1.2
[r1-GigabitEthernet0/0/1.2]dhcp select global
[r1-GigabitEthernet0/0/1.2]q
[r1]ospf 1 rou
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]area 0
[r1-ospf-1-area-0.0.0.0]net
[r1-ospf-1-area-0.0.0.0]network 192.168.1.128 0.0.0.255
[r1]aaa
[r1-aaa]loc
[r1-aaa]local-user huawei pr
[r1-aaa]local-user huawei privilege le
[r1-aaa]local-user huawei privilege level 15 pas
[r1-aaa]local-user huawei privilege level 15 password ci
[r1-aaa]local-user huawei privilege level 15 password cipher 123
Info: Add a new user.
[r1-aaa]q
[r1]us
[r1]user-bind
[r1]user-group
[r1]user-interface vty 0 4
[r1-ui-vty0-4]au
[r1-ui-vty0-4]authentication-mode aaa
[r1-ui-vty0-4]

sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sy r2
[r2]int
[r2]interface gi 0/0/0
[r2-GigabitEthernet0/0/0]ip add 192.168.1.2 30
Dec 30 2020 21:19:15-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r2-GigabitEthernet0/0/0]int gi0/0/1
[r2-GigabitEthernet0/0/1]ip add 12.1.1.1 24
Dec 30 2020 21:19:38-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r2-GigabitEthernet0/0/1]q
[r2]int
[r2]interface gi0/0/2.1
[r2-GigabitEthernet0/0/2.1]do
[r2-GigabitEthernet0/0/2.1]dot1q ter
[r2-GigabitEthernet0/0/2.1]dot1q termination vid 2
[r2-GigabitEthernet0/0/2.1]arp br
[r2-GigabitEthernet0/0/2.1]arp broadcast en
[r2-GigabitEthernet0/0/2.1]arp broadcast enable
[r2-GigabitEthernet0/0/2.1]ip add 192.168.1.65 mask 27
^
Error: Wrong parameter found at ‘^’ position.
[r2-GigabitEthernet0/0/2.1]ip add 192.168.1.65 27
Dec 30 2020 21:20:46-08:00 r2 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/2.1 has entered the UP state.
[r2-GigabitEthernet0/0/2.1]int gi0/0/2.2
[r2-GigabitEthernet0/0/2.2]do
[r2-GigabitEthernet0/0/2.2]dot1q ter
[r2-GigabitEthernet0/0/2.2]dot1q termination vid 3
[r2-GigabitEthernet0/0/2.2]arp br
[r2-GigabitEthernet0/0/2.2]arp broadcast en
[r2-GigabitEthernet0/0/2.2]arp broadcast enable
[r2-GigabitEthernet0/0/2.2]ip add 192.168.1.97 27
Dec 30 2020 21:21:28-08:00 r2 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/2.2 has entered the UP state.
[r2-GigabitEthernet0/0/2.2]q
[r2]dhcp en
[r2]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r2]ip pool v2
Info: It’s successful to create an IP address pool.
[r2-ip-pool-v2]net
[r2-ip-pool-v2]netbios-type
[r2-ip-pool-v2]network 192.168.1.64 mask 27
[r2-ip-pool-v2]ga
[r2-ip-pool-v2]gateway-list 192.168.1.65
[r2-ip-pool-v2]dn
[r2-ip-pool-v2]dns-list 114.114.114.114
[r2-ip-pool-v2]ip pool v3
Info: It’s successful to create an IP address pool.
[r2-ip-pool-v3]net
[r2-ip-pool-v3]netbios-type
[r2-ip-pool-v3]network 192.168.1.96 mask 27
[r2-ip-pool-v3]ga
[r2-ip-pool-v3]gateway-list 192.168.1.97
[r2-ip-pool-v3]dn
[r2-ip-pool-v3]dns-list 114.114.114.114
[r2-ip-pool-v3]q
[r2]ip rou
[r2]ip route
[r2]ip route-static 192.168.1.128 26 192.168.1.1
[r2]ip rou
[r2]ip route
[r2]ip route-static 0.0.0.0 0 12.1.1.2
[r2]

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

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

sy
Enter system view, return user view with Ctrl+Z.
[r2]int
[r2]interface gi0/0/2.1
[r2-GigabitEthernet0/0/2.1]dhcp select global
[r2-GigabitEthernet0/0/2.1]int gi0/0/2.2
[r2-GigabitEthernet0/0/2.2]dhcp select global
[r2-GigabitEthernet0/0/2.2]

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

扫描二维码关注公众号,回复: 12241741 查看本文章

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

sy
Enter system view, return user view with Ctrl+Z.
[r2]ospf 1 rou
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]area 0
[r2-ospf-1-area-0.0.0.0]net
[r2-ospf-1-area-0.0.0.0]network 192.168.1.64 0.0.0.255
[r2-ospf-1-area-0.0.0.0]
Dec 30 2020 21:42:21-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r2-ospf-1-area-0.0.0.0]
Dec 30 2020 21:42:21-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[r2-ospf-1-area-0.0.0.0]
Dec 30 2020 21:42:21-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[r2-ospf-1-area-0.0.0.0]
Dec 30 2020 21:42:21-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange)
[r2-ospf-1-area-0.0.0.0]
Dec 30 2020 21:42:21-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng)
[r2-ospf-1-area-0.0.0.0]
Dec 30 2020 21:42:21-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r2-ospf-1-area-0.0.0.0]q
[r2-ospf-1]q
[r2]aaa
[r2-aaa]lo
[r2-aaa]local-user cisco pr
[r2-aaa]local-user cisco privilege le
[r2-aaa]local-user cisco privilege level 15 pa
[r2-aaa]local-user cisco privilege level 15 password ci
[r2-aaa]local-user cisco privilege level 15 password cipher 456
Info: Add a new user.
[r2-aaa]user
[r2-aaa]q
[r2]us
[r2]user-bind
[r2]user-group
[r2]user-interface vty 0 4
[r2-ui-vty0-4]au
[r2-ui-vty0-4]authentication-mode aaa
[r2-ui-vty0-4]q
[r2]

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

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

sy
Enter system view, return user view with Ctrl+Z.
[r2]
[r2]

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

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

sy Enter system view, return user view with Ctrl+Z. [r2]acl 2000 [r2-acl-basic-2000]rule per [r2-acl-basic-2000]rule permit sou [r2-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255 [r2-acl-basic-2000]int gi0/0/1 [r2-GigabitEthernet0/0/1]nat out [r2-GigabitEthernet0/0/1]nat outbound 2000 [r2-GigabitEthernet0/0/1]

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

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

sy
Enter system view, return user view with Ctrl+Z.
[r2]nat
[r2]nat st
[r2]nat static glo
[r2]nat static global 12.1.1.3 in
[r2]nat static global 12.1.1.3 inside 192.168.1.60
[r2]
sy
Enter system view, return user view with Ctrl+Z.
[r2]int
[r2]interface gi0/0/1
[r2-GigabitEthernet0/0/1]nat st
[r2-GigabitEthernet0/0/1]nat static pro
[r2-GigabitEthernet0/0/1]nat static protocol tcp gl
[r2-GigabitEthernet0/0/1]nat static protocol tcp global curr
[r2-GigabitEthernet0/0/1]nat static protocol tcp global current-interface 80 ins
ide 192.168.1.1 80
Warning:The port 80 is well-known port. If you continue it may cause function fa
ilure.
Are you sure to continue?[Y/N]:y

sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sy isp
[isp]int
[isp]interface gi 0/0/0
[isp-GigabitEthernet0/0/0]ip add 12.1.1.2 24
Dec 30 2020 21:24:20-08:00 isp %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[isp-GigabitEthernet0/0/0]int gi0/0/0
[isp-GigabitEthernet0/0/0]ip add 1.1.1.1 24

telnet 192.168.1.129
Press CTRL_] to quit telnet mode
Trying 192.168.1.129 …
Connected to 192.168.1.129 …

Login authentication

Username:huawei
Password:
rule
rule de
sy
system-view
Enter system view, return user view with Ctrl+Z.
[r1]acl 3000
[r1-acl-adv-3000]ru
[r1-acl-adv-3000]rule de
[r1-acl-adv-3000]rule deny tcp 192.168.1.157 0de
[r1-acl-adv-3000]rule deny tcp 192.168.1.157 0 de
[r1-acl-adv-3000]rule deny tcp 192.168.1.157 0 de
[r1-acl-adv-3000]rule deny tcp sou
[r1-acl-adv-3000]rule deny tcp source 192.168.1.57 0 de
[r1-acl-adv-3000]rule deny tcp source 192.168.1.57 0 destination-port
[r1-acl-adv-3000]rule deny tcp source 192.168.1.57 0 destination 192.168.1.129 0
de
[r1-acl-adv-3000]rule deny tcp source 192.168.1.57 0 destination 192.168.1.129 0
destination-port eq 23
[r1-acl-adv-3000]q
[r1]
[r1]q

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

猜你喜欢

转载自blog.csdn.net/W981113/article/details/111999661
今日推荐