HCIA 综合测试

2023-10-16 06:50
文章标签 hcia 综合测试

本文主要是介绍HCIA 综合测试,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

1.使用172.16.0.0/16划分网络

共用五个网段,借三位

172.16.0.0/19

172.16.0.32/19

172.16.0.64/19

172.16.0.96/19

172.16.0.128/19

2.使用ospf协议合理规划区域保证更新安全

实验过程

[r6]ospf 1 router-id 1.1.1.1 
[r6-ospf-1]area 1

ospf-1-area-0.0.0.1]network 0.0.0.0 255.255.255.255

[r1]ospf 1 router-id 2.2.2.2
[r1-ospf-1]area 1

【ospf-1-area-0.0.0.1]network 0.0.0.0 255.255.255.255

实验结果

Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r1-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r1-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r1-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge) 
[r1-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
 
[r1-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r6-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r6-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r6-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge) 
[r6-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
 
[r6-ospf-1-area-0.0.0.1]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

实验过程area 0

[r1]ospf 1 router-id 2.2.2.2
[r1-ospf-1]area 0

[ospf-1-area-0.0.0.0]network 0.0.0.0 255.255.255.255

[r2]ospf 1 router-id 3.3.3.3
[r2-ospf-1]area 0

【ospf-1-area-0.0.0.0]network 0.0.0.0 255.255.255.255

[r3]ospf 1 router-id 4.4.4.4
[r3-ospf-1]area 0

[ospf-1-area-0.0.0.0]network 0.0.0.0 255.255.255.255

实验结果

Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=33.0.16.172, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r2-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=33.0.16.172, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r2-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=33.0.16.172, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r2-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=33.0.16.172, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge) 
[r2-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=33.0.16.172, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
 
[r2-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=33.0.16.172, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=34.0.16.172, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=34.0.16.172, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=34.0.16.172, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=34.0.16.172, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge) 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=34.0.16.172, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=34.0.16.172, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=35.0.16.172, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=35.0.16.172, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=35.0.16.172, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=35.0.16.172, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge) 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=35.0.16.172, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
 
[r1-ospf-1-area-0.0.0.0]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=35.0.16.172, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

实验过程 area 2

[r2]ospf 1 router-id 3.3.3.3
[r2-ospf-1]area 2

[ospf-1-area-0.0.0.2]network 0.0.0.0 255.255.255.255

[r8]ospf 1 router-id 5.5.5.5
[r8-ospf-1]area 2

[ospf-1-area-0.0.0.2]network 0.0.0.0 255.255.255.255

实验结果

Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=66.0.16.172, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=66.0.16.172, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=66.0.16.172, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=66.0.16.172, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge) 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=66.0.16.172, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=66.0.16.172, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=67.0.16.172, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=67.0.16.172, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=67.0.16.172, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=67.0.16.172, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge) 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=67.0.16.172, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
 
[r8-ospf-1-area-0.0.0.2]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=67.0.16.172, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

实验过程 area 3

[r4]ospf 1 router-id6.6.6.6
[r4-ospf-1]area 3

[ospf-1-area-0.0.0.3]network 0.0.0.0 255.255.255.255

[r3]ospf 1 router-id 4.4.4.4
[r3-ospf-1]area 3

[ospf-1-area-0.0.0.3]network 0.0.0.0 255.255.255.255

实验结果

Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r4-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r4-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r4-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge) 
[r4-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
 
[r4-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r3-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r3-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r3-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge) 
[r3-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
 
[r3-ospf-1-area-0.0.0.3]
Nov 28 2022 18:47:53-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

3.加快收敛速度

[r6]interface g0/0/0
[r6-GigabitEthernet0/0/0]ospf timer hello 5
[r6-GigabitEthernet0/0/0]ospf timer dead 20
[r7]interface g0/0/0
[r7-GigabitEthernet0/0/0]ospf timer hello 5
[r7-GigabitEthernet0/0/0]ospf timer dead 20


[r6]interface g0/0/1
[r6-GigabitEthernet0/0/1]ospf timer hello 5
[r6-GigabitEthernet0/0/1]ospf timer dead 20
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ospf timer hello 5
[r1-GigabitEthernet0/0/0]ospf timer dead 20

[r1]interface g0/0/1
[r1-GigabitEthernet0/0/1]ospf timer hello 5
[r1-GigabitEthernet0/0/1]ospf timer dead 20
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ospf timer hello 5
[r2-GigabitEthernet0/0/0]ospf timer dead 20

[r1]interface g0/0/1
[r1-GigabitEthernet0/0/1]ospf timer hello 5
[r1-GigabitEthernet0/0/1]ospf timer dead 20
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]ospf timer hello 5
[r3-GigabitEthernet0/0/0]ospf timer dead 20

[r2]interface g0/0/1
[r2-GigabitEthernet0/0/1]ospf timer hello 5
[r2-GigabitEthernet0/0/1]ospf timer dead 20
[r8]interface g0/0/0
[r8-GigabitEthernet0/0/0]ospf timer hello 5
[r8-GigabitEthernet0/0/0]ospf timer dead 20

[r3]interface g0/0/1
[r3-GigabitEthernet0/0/1]ospf timer hello 5
[r3-GigabitEthernet0/0/1]ospf timer dead 20
[r4]interface g0/0/0
[r4-GigabitEthernet0/0/0]ospf timer hello 5
[r4-GigabitEthernet0/0/0]ospf timer dead 20

4.router1为dr没有bdr

[r2]interface g0/0/0

[r2-GigabitEthernet0/0/0]ospf dr-priority 0

[r3]interface g0/0/0

[r3-GigabitEthernet0/0/0]ospf dr-priority 0

[r8]interface g0/0/0

[r8-GigabitEthernet0/0/0]ospf dr-priority 0

[r4]interface g0/0/0

[r4-GigabitEthernet0/0/0]ospf dr-priority 0

[r1]display ospf peer 

     OSPF Process 1 with Router ID 1.1.1.1
         Neighbors 

 Area 0.0.0.1 interface 172.16.0.(GigabitEthernet0/0/1)'s neighbors
 Router ID: 2.2.2.2 Address: 172.16.0.2
   State: Full  Mode:Nbr is  Master  Priority: 1
   DR:172.16.1.2 BDR: None   MTU: 0    
   Dead timer due in 31  sec 
   Retrans timer interval: 0 
   Neighbor is up for 00:04:04     
   Authentication Sequence: [ 0 ] 

5.pc2345自动获取ip地址

[Huawei]vlan batch 2 3
[Huawei-Ethernet0/0/2]port link-type access 
[Huawei-Ethernet0/0/2]port default vlan 2
[Huawei-Ethernet0/0/3]port link-type access 
[Huawei-Ethernet0/0/3]port default vlan 3
[Huawei-Ethernet0/0/1]port link-type trunk 
[Huawei-Ethernet0/0/1]port trunk allow-pass vlan 2 3
[r8]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[r8]ip p    
[r8]ip policy-based-route
[r8]ip pool 1
Info: It's successful to create an IP address pool.
[r8-ip-pool-1]n    
[r8-ip-pool-1]nbns-list
[r8-ip-pool-1]netbios-type
[r8-ip-pool-1]network 192.168.1.0 ma    
[r8-ip-pool-1]network 192.168.1.0 mask 24
[r8-ip-pool-1]g    
[r8-ip-pool-1]gateway-list 
[r8-ip-pool-1]gateway-list 192.168.1.1
[r8-ip-pool-1]dn    
[r8-ip-pool-1]dns-list 8.8.8.8
[r8]dhcp enable 
[r8]ip p    
[r8]ip policy-based-route
[r8]ip pool 2
Info: It's successful to create an IP address pool.
[r8-ip-pool-2]ne    
[r8-ip-pool-2]netbios-type
[r8-ip-pool-2]network 192.168.2.0 ma    
[r8-ip-pool-2]network 192.168.2.0 mask 24
[r8-ip-pool-2]g
[r8-ip-pool-2]gateway-list 192.168.2.1
[r8-ip-pool-2]dn    
[r8-ip-pool-2]dns-list 8.8.8.8
[r8-GigabitEthernet0/0/1.1]dot1q termination vid 2
[r8-GigabitEthernet0/0/1.1]ip ad    
[r8-GigabitEthernet0/0/1.1]ip address 192.168.1.1 24

[r8-GigabitEthernet0/0/1.2]dot1q termination vid 3
[r8-GigabitEthernet0/0/1.2]
[r8-GigabitEthernet0/0/1.2]
[r8-GigabitEthernet0/0/1.2]ip ad    
[r8-GigabitEthernet0/0/1.2]ip address 192.168.2.1 24
[r8-GigabitEthernet0/0/1.1]dhcp select global 
[r8-GigabitEthernet0/0/1.2]dhcp select global 

[Huawei]vlan batch 20 30
[Huawei-Ethernet0/0/2]port link-type access 
[Huawei-Ethernet0/0/2]port default vlan 20
[Huawei-Ethernet0/0/3]port link-type access 
[Huawei-Ethernet0/0/3]port default vlan 30
[Huawei-Ethernet0/0/1]port link-type trunk 
[Huawei-Ethernet0/0/1]port trunk allow-pass vlan 20  30
[r1]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[r4]ip p    
[r4]ip policy-based-route
[r4]ip pool 3
Info: It's successful to create an IP address pool.
[r4-ip-pool-3]n    
[r4-ip-pool-3]nbns-list
[r4-ip-pool-3]netbios-type
[r4-ip-pool-3]network 192.168.3.0 ma    
[r4-ip-pool-3]network 192.168.3.0 mask 24
[r4-ip-pool-3]g    
[r4-ip-pool-3]gateway-list 
[r4-ip-pool-3]gateway-list 192.168.3.1
[r4-ip-pool-3]dn    
[r4-ip-pool-3]dns-list 8.8.8.8
[r4]dhcp enable 
[r4]ip p    
[r4]ip policy-based-route
[r4]ip pool 4
Info: It's successful to create an IP address pool.
[r4-ip-pool-4]ne    
[r4-ip-pool-4]netbios-type
[r4-ip-pool-4]network 192.168.4.0 ma    
[r4-ip-pool-4]network 192.168.4.0 mask 24
[r4-ip-pool-4]g
[r4-ip-pool-4]gateway-list 192.168.4.1
[r4-ip-pool-4]dn    
[r4-ip-pool-4]dns-list 8.8.8.8

[r4-GigabitEthernet0/0/1.1]dot1q termination vid 20
[r4-GigabitEthernet0/0/1.1]ip ad    
[r4-GigabitEthernet0/0/1.1]ip address 192.168.3.1 24

[r4-GigabitEthernet0/0/1.2]dot1q termination vid 30
[r4-GigabitEthernet0/0/1.2]
[r4-GigabitEthernet0/0/1.2]
[r4-GigabitEthernet0/0/1.2]ip ad    
[r4-GigabitEthernet0/0/1.2]ip address 192.168.4.1 24

[r4-GigabitEthernet0/0/1.1]dhcp select global 
[r4-GigabitEthernet0/0/1.2]dhcp select global 

实验结果


 

 

 

 

 

6.router7为运营商只能配置ip地址

[r7-GigabitEthernet0/0/0]ip address 10.1.1.1 24

[r7]ospf 1

[r7-ospf-1]default-route-advertise always

7.pc4可以ping通router6但不能登录router6

实验过程

[r6]acl 3000

[r6-acl-adv-3000]rule deny tcp source192.168.3.2 0.0.0.0 destination

172.16.1.1 0.0.0.0 destination-port eq 172

[r6]interface g0/0/1

[r6-GigabitEthernet0/0/1]traffic-filter inbound acl 3000

实验结果

 

 

8.pc3可以ping通pc5但pc5不能ping通pc3

实验过程

[r4-acl-adv-3000]rule deny icmp source 192.168.4.2 0.0.0.0 destination 192.168.2
.2 0.0.0.0 icmp-type echo
[r4-GigabitEthernet0/0/0]traffic-filter outbound acl 3000

实验结果


 

 

 

这篇关于HCIA 综合测试的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/219785

相关文章

HCIA--实验十:路由的递归特性

递归路由的理解 一、实验内容 1.需求/要求: 使用4台路由器,在AR1和AR4上分别配置一个LOOPBACK接口,根据路由的递归特性,写一系列的静态路由实现让1.1.1.1和4.4.4.4的双向通信。 二、实验过程 1.拓扑图: 2.步骤: (下列命令行可以直接复制在ensp) 1.如拓扑图所示,配置各路由器的基本信息: 各接口的ip地址及子网掩码,给AR1和AR4分别配置

龙芯L2K0300开发板综合测试

CPU 查看cpu版本信息 cat /proc/cpuinfo 可以看到cpu是64位的LoongsonArch架构 stress压力测试结果 RAM 久久派板载512MB DDR4-2666内存,查看内存信息 cat /proc/meminfo 可以用memtester进行内存性能测试 memtester <size> <times> memtester测试结果

华为HCIA考试大纲

数据通信与网络基础    ●  数据通信网络基础            ■ 数据通信基础概念            ■ 信息传递的过程            ■ 网络设备及基本功能            ■ 网络类型及拓扑类型            ■ 网络工程            ■ 网络工程师    ●  网络参考模型            ■ 数据及数据的传递            ■ 常

华为认证题库:HCIA-Datacom易错题(17)(含答案解析)

华为认证HCIA-Datacom易错题举例和答案分析。  需要更多题库资料,可以在文末领取 1、IPV6基本报头长度为多少个Byte? A.64 B.40 C.32 D.48 Answer:B * 答案解析.IPV6报文头部包括.version 4bit ,traffic class 8bit,flow label 20bit, payload length 16bit

一文掌握 Web 测试:功能、界面、兼容与安全的综合测试指南!

随着Web技术的不断演进,测试除了对应用的功能性、界面美观性、跨平台兼容性的基本要求外、安全性和性能的要求也逐步增高。因此,全面、系统的测试思维和策略成为了保证Web应用高质量的关键因素。本篇文章将从功能测试、界面测试、兼容性测试和安全测试四个方面,深入梳理测试要点,确保Web应用在各个层面上都能满足用户和业务的需求。通过这篇文章,希望对于构建全面测试思维,提供一些帮助。 前言 一、功能测试

HCIA云计算实验-2-网络基础实验

HCIA云计算-02-网络基础实验 实验内容: 交换机视图介绍交换机基础配置VLAN原理实验路由原理实验 vlan 介绍 VLAN(Virtual Local Area Network)即虚拟局域网,是将一个物理的 LAN 在逻辑上划分成多个广播域的通信技术。每个 VLAN 是一个广播域,VLAN 内的主机间通信就和在一个 LAN 内一样,而 VLAN 间则不能直接互通,这样,广播报文就被

HCIA云计算实验-1-存储实验

一、存储基础配置实验 参考: VMware_OceanStor_eStor V100R001C00 仿真器用户使用手册 v1.0 软件: VMware Workstation 17 ProHCIA-V3-Vmware_OceanStor_eStor_V1R1C00T10_single_controller 实验目的 了解华为存储设备硬盘域、存储池的概念;熟悉华为存储设备硬盘域、存储

HCIA 19 结束 企业总部-分支综合实验(下)

3.6出口NAT配置可以访问互联网 配置NAT使内网可以访问公网8.8.8.8,当前总部PC1 PING不通公网地址8.8.8.8。 3.6.1总部配置NAT访问互联网 步骤1:配置NAT acl number 2000    rule 5 permit source 192.168.0.0 0.0.255.255 # interface GigabitEthernet0/0/2

HCIA-速查-ENSP模拟器2步清空配置

需求:清空模拟器配置 清空当前图中配置 步骤1:reset saved-configuration 后输入y确认 步骤2:reboot后输入n否认再输入y确认 验证已经清空配置

【华为HCIA数通网络工程师真题-构建互联互通的IP网络】

文章目录 一、选择题 一、选择题 1、缺省情况下,广播网络上OSPF协议RouterDeadInterval是? 40s (ospf 的 RouterDeadInterval 为四倍 hello time 时间,hello time 周期默认为10s,所以 RouterDeadInterval 默认为 40s ,当设备 40s 内没有收到邻居发送的hello报文,则认为邻居失效)