华为认证Datacom-拓扑练习

简介: 华为认证Datacom-拓扑练习

图片.png

AR1

[AR1]bgp 100

[AR1-bgp]di th

[AR1-bgp]undo network 192.168.1.0

[AR1-bgp]import-route direct

[AR1-bgp]undo net 17.1.1.0 2

[AR1-bgp]net 192.168.1.0 24

[AR1-bgp]di th

[V200R003C00]

#

bgp 100

peer 12.1.1.2 as-number 200

peer 17.1.1.2 as-number 200

#

ipv4-family unicast

 undo synchronization

 network 12.1.1.0 255.255.255.0

 import-route direct

 peer 12.1.1.2 enable

 peer 12.1.1.2 next-hop-local

 peer 17.1.1.2 enable

 peer 17.1.1.2 next-hop-local

#

return

[AR1-bgp]

AR2

[AR2]int g0/0/0

[AR2-GigabitEthernet0/0/0]ip ad 12.1.1.2 24

[AR2-GigabitEthernet0/0/0]int g0/0/1

[AR2-GigabitEthernet0/0/1]ip ad 27.1.1.1 24

[AR2-GigabitEthernet0/0/1]ip ad 23.1.1.1 24

[AR2-GigabitEthernet0/0/1]q

[AR2]ospf r 2.2.2.2

[AR2-ospf-1]a 0

[AR2-ospf-1-area-0.0.0.0]net 23.1.1.0 0.0.0.255

[AR2-ospf-1-area-0.0.0.0]q

[AR2-ospf-1]q

[AR2]int lo 1

[AR2-LoopBack1]ip ad 2.2.2.2 32

[AR2-LoopBack1]ospf 1

[AR2-ospf-1]a 0

[AR2-ospf-1-area-0.0.0.0]net 2.2.2.2 0.0.0.0

[AR2-ospf-1-area-0.0.0.0]bgp 200

[AR2-bgp]peer 12.1.1.1 as 100

[AR2-bgp]peer 3.3.3.3 as 200

[AR2-bgp]peer 4.4.4.4 as 200

[AR2-bgp]peer 5.5.5.5 as 200

[AR2-bgp]peer 3.3.3.3 co lo 1

[AR2-bgp]peer 4.4.4.4 co lo 1

[AR2-bgp]peer 5.5.5.5 co lo 1

[AR2-bgp]peer 3.3.3.3 next-hop-invariable

[AR2-bgp]peer 3.3.3.3 next-hop-local

[AR2-bgp]peer 4.4.4.4 ne  

[AR2-bgp]peer 4.4.4.4 next-hop-invariable

[AR2-bgp]peer 4.4.4.4 next-hop-local

[AR2-bgp]peer 5.5.5.5 ne  

[AR2-bgp]peer 5.5.5.5 next-hop-invariable

[AR2-bgp]peer 5.5.5.5 next-hop-local

[AR2-bgp]net 12.1.1.0 24

[AR2-bgp]net 23.1.1.0 24

[AR2-bgp]di th

[V200R003C00]

#

bgp 200

peer 3.3.3.3 as-number 200

peer 3.3.3.3 connect-interface LoopBack1

peer 4.4.4.4 as-number 200

peer 4.4.4.4 connect-interface LoopBack1

peer 5.5.5.5 as-number 200

peer 5.5.5.5 connect-interface LoopBack1

peer 12.1.1.1 as-number 100

#

ipv4-family unicast

 undo synchronization

 network 12.1.1.0 255.255.255.0

 network 23.1.1.0 255.255.255.0

 import-route direct

 peer 3.3.3.3 enable

 peer 3.3.3.3 next-hop-local

 peer 4.4.4.4 enable

 peer 4.4.4.4 next-hop-local

 peer 5.5.5.5 enable

 peer 5.5.5.5 next-hop-local

 peer 12.1.1.1 enable

#

return

[AR2-bgp]

AR3

[AR3]int g0/0/1

[AR3-GigabitEthernet0/0/1]ip ad 34.1.1.1 24

[AR3-GigabitEthernet0/0/1]int g0/0/0

[AR3-GigabitEthernet0/0/0]ip ad 23.1.1.2 24

[AR3-GigabitEthernet0/0/0]int g0/0/2

[AR3-GigabitEthernet0/0/2]ip ad 37.1.1.2 24

[AR3-GigabitEthernet0/0/2]int g2/0/0

[AR3-GigabitEthernet2/0/0]ip ad 192.168.3.254 24

[AR3-GigabitEthernet2/0/0]int lo 1

[AR3-LoopBack1]ip ad 3.3.3.3 32

[AR3-LoopBack1]q

[AR3]ospf r 3.3.3.3

[AR3-ospf-1]a 0

[AR3-ospf-1-area-0.0.0.0]net 23.1.1.0 0.0.0.255

[AR3-ospf-1-area-0.0.0.0]net 37.1.1.0 0.0.0.255

[AR3-ospf-1-area-0.0.0.0]net 34.1.1.0 0.0.0.255

[AR3-ospf-1-area-0.0.0.0]net 192.168.3.0 0.0.0.255

[AR3-ospf-1-area-0.0.0.0]net 3.3.3.3 0.0.0.0

[AR3]bgp 200

[AR3-bgp]peer 2.2.2.2 as 200

[AR3-bgp]peer 2.2.2.2 co lo 1

[AR3-bgp]peer 7.7.7.7 as 200

[AR3-bgp]peer 7.7.7.7 co lo 1

[AR3-bgp]peer 4.4.4.4 as 200

[AR3-bgp]peer 4.4.4.4 co lo 1

[AR3-bgp]peer 5.5.5.5 as 200

[AR3-bgp]peer 5.5.5.5 co lo 1

[AR3-bgp]peer 2.2.2.2 next-hop-local

[AR3-bgp]peer 7.7.7.7 next-hop-local

[AR3-bgp]peer 4.4.4.4 next-hop-local

[AR3-bgp]peer 5.5.5.5 next-hop-local

[AR3-bgp]net 23.1.1.0 24

[AR3-bgp]net 37.1.1.0 24

[AR3-bgp]net 34.1.1.0 24

[AR3]ospf 1

[AR3-ospf-1]a 0

[AR3-bgp]import-route direct

[AR3-bgp]dis th

[V200R003C00]

#

bgp 200

peer 2.2.2.2 as-number 200

peer 2.2.2.2 connect-interface LoopBack1

peer 4.4.4.4 as-number 200

peer 4.4.4.4 connect-interface LoopBack1

peer 5.5.5.5 as-number 200

peer 5.5.5.5 connect-interface LoopBack1

peer 7.7.7.7 as-number 200

peer 7.7.7.7 connect-interface LoopBack1

#

ipv4-family unicast

 undo synchronization

 network 23.1.1.0 255.255.255.0

 network 34.1.1.0 255.255.255.0

 network 37.1.1.0 255.255.255.0

 import-route direct

 peer 2.2.2.2 enable

 peer 2.2.2.2 next-hop-local

 peer 4.4.4.4 enable

 peer 4.4.4.4 next-hop-local

 peer 5.5.5.5 enable

 peer 5.5.5.5 next-hop-local

 peer 7.7.7.7 enable

 peer 7.7.7.7 next-hop-local

#

return

[AR3-bgp]

AR4

[AR4]int g0/0/0

[AR4-GigabitEthernet0/0/0]ip ad 34.1.1.2 24

[AR4-GigabitEthernet0/0/0]int g0/0/1

[AR4-GigabitEthernet0/0/1]ip ad 45.1.1.1 24

[AR4-GigabitEthernet0/0/1]int lo 1

[AR4-LoopBack1]ip ad 4.4.4.4 32

[AR4-LoopBack1]q

[AR4]ospf r 4.4.4.4

[AR4-ospf-1]a 0

[AR4-ospf-1-area-0.0.0.0]net 34.1.1.0 0.0.0.255

[AR4-ospf-1-area-0.0.0.0]net 45.1.1.0 0.0.0.255

[AR4-ospf-1-area-0.0.0.0]net 4.4.4.4 0.0.0.0

[AR4]bgp 200

[AR4-bgp]peer 3.3.3.3 as 200

[AR4-bgp]peer 3.3.3.3 co lo 1

[AR4-bgp]peer 3.3.3.3 next-hop-local

[AR4-bgp]peer 5.5.5.5 as 200

[AR4-bgp]peer 5.5.5.5 co lo 1

[AR4-bgp]peer 5.5.5.5 next-hop-local

[AR4-bgp]net 34.1.1.0 24

[AR4-bgp]net 45.1.1.0 24

[AR4-bgp]net 4.4.4.4 32

[AR4-bgp]di th

[V200R003C00]

#

bgp 200

peer 3.3.3.3 as-number 200

peer 3.3.3.3 connect-interface LoopBack1

peer 5.5.5.5 as-number 200

peer 5.5.5.5 connect-interface LoopBack1

peer 7.7.7.7 as-number 200

peer 7.7.7.7 connect-interface LoopBack1

#

ipv4-family unicast

 undo synchronization

 network 4.4.4.4 255.255.255.255

 network 34.1.1.0 255.255.255.0

 network 45.1.1.0 255.255.255.0

 peer 3.3.3.3 enable

 peer 3.3.3.3 next-hop-local

 peer 5.5.5.5 enable

 peer 5.5.5.5 next-hop-local

 peer 7.7.7.7 enable

 peer 7.7.7.7 next-hop-local

#

return

[AR4-bgp]

AR5

[AR5]int g0/0/0

[AR5-GigabitEthernet0/0/0]ip ad 45.1.1.2 24

[AR5-GigabitEthernet0/0/0]int g0/0/1

[AR5-GigabitEthernet0/0/1]ip ad 56.1.1.1 24

[AR5-GigabitEthernet0/0/1]int lo 1

[AR5-LoopBack1]ip ad 5.5.5.5 32

[AR5-LoopBack1]q

[AR5]ospf r 5.5.5.5

[AR5-ospf-1]a 0

[AR5-ospf-1-area-0.0.0.0]net 45.1.1.0 0.0.0.255

[AR5-ospf-1-area-0.0.0.0]net 56.1.1.0 0.0.0.255

[AR5-ospf-1-area-0.0.0.0]net 5.5.5.5 0.0.0.0

[AR5]bgp 200

[AR5-bgp]peer 2.2.2.2 as 200

[AR5-bgp]peer 2.2.2.2 co lo 1

[AR5-bgp]peer 2.2.2.2 next-hop-local

[AR5-bgp]peer 7.7.7.7 as 200

[AR5-bgp]peer 7.7.7.7 co lo 1

[AR5-bgp]peer 7.7.7.7 next-hop-local

[AR5-bgp]peer 3.3.3.3 as 200

[AR5-bgp]peer 3.3.3.3 co lo 1

[AR5-bgp]peer 3.3.3.3 next-hop-local

[AR5-bgp]peer 4.4.4.4 as 200

[AR5-bgp]peer 4.4.4.4 co lo 1

[AR5-bgp]peer 4.4.4.4 next-hop-local

[AR5-bgp]peer 56.1.1.2 as 300

[AR5-bgp]peer 56.1.1.2 next-hop-local

[AR5-bgp]net 56.1.1.0 24

[AR5-bgp]net 45.1.1.0 24

[AR5-bgp]net 5.5.5.5 32

[AR5-bgp]dis th

[V200R003C00]

#

bgp 200

peer 2.2.2.2 as-number 200

peer 2.2.2.2 connect-interface LoopBack1

peer 3.3.3.3 as-number 200

peer 3.3.3.3 connect-interface LoopBack1

peer 4.4.4.4 as-number 200

peer 4.4.4.4 connect-interface LoopBack1

peer 7.7.7.7 as-number 200

peer 7.7.7.7 connect-interface LoopBack1

peer 56.1.1.2 as-number 300

#

ipv4-family unicast

 undo synchronization

 network 5.5.5.5 255.255.255.255

 network 45.1.1.0 255.255.255.0

 network 56.1.1.0 255.255.255.0

 import-route static

 peer 2.2.2.2 enable

 peer 2.2.2.2 next-hop-local

 peer 3.3.3.3 enable

 peer 3.3.3.3 next-hop-local

 peer 4.4.4.4 enable

 peer 4.4.4.4 next-hop-local

 peer 7.7.7.7 enable

 peer 7.7.7.7 next-hop-local

 peer 56.1.1.2 enable

 peer 56.1.1.2 next-hop-local

#

return

[AR5-bgp]

AR6

[AR6]int g0/0/0

[AR6-GigabitEthernet0/0/0]ip ad 56.1.1.2 24

[AR6-GigabitEthernet0/0/0]int g0/0/1

[AR6-GigabitEthernet0/0/1]ip ad 192.168.2.254 24

[AR6-GigabitEthernet0/0/1]int lo 1

[AR6-LoopBack1]ip ad 6.6.6.6 32

[AR6-LoopBack1]q

[AR6]ospf r 6.6.6.6

[AR6-ospf-1]a 0

[AR6-ospf-1-area-0.0.0.0]net 6.6.6.6 0.0.0.0

[AR6-ospf-1-area-0.0.0.0]undo net 6.6.6.6 0.0.0.0

[AR6]bgp 300

[AR6-bgp]peer 56.1.1.1 as 200

[AR6-bgp]peer 56.1.1.1 next-hop-local

[AR6-bgp]import-route direct

[AR6-bgp]net 192.168.2.0 24

[AR6-bgp]net 56.1.1.0 24

[AR6-bgp]di th

[V200R003C00]

#

bgp 300

peer 56.1.1.1 as-number 200

#

ipv4-family unicast

 undo synchronization

 network 56.1.1.0 255.255.255.0

 import-route direct

 peer 56.1.1.1 enable

 peer 56.1.1.1 next-hop-local

#

return

[AR6-bgp]

 

AR7

[AR7]int g0/0/0

[AR7-GigabitEthernet0/0/0]ip ad 17.1.1.2 24

[AR7-GigabitEthernet0/0/0]int g0/0/1

[AR7-GigabitEthernet0/0/1]ip ad 37.1.1.1 24

[AR7-GigabitEthernet0/0/1]int lo 1

[AR7-LoopBack1]ip ad 7.7.7.7 32

[AR7-LoopBack1]q

[AR7]ospf r 7.7.7.7

[AR7-ospf-1]a 0

[AR7-ospf-1-area-0.0.0.0]net 37.1.1.0 0.0.0.255

[AR7-ospf-1-area-0.0.0.0]net 7.7.7.7 0.0.0.0

[AR7]bgp 200

[AR7-bgp]peer 3.3.3.3 as-number 200

[AR7-bgp] peer 3.3.3.3 connect-interface LoopBack1

[AR7-bgp] peer 4.4.4.4 as-number 200

[AR7-bgp] peer 4.4.4.4 connect-interface LoopBack1

[AR7-bgp] peer 5.5.5.5 as-number 200

[AR7-bgp] peer 5.5.5.5 connect-interface LoopBack1

[AR7-bgp]peer 17.1.1.1 as 100

[AR7-bgp]peer 3.3.3.3 next-hop-invariable

[AR7-bgp]peer 3.3.3.3 next-hop-local

[AR7-bgp]peer 4.4.4.4 next-hop-local

[AR7-bgp]peer 5.5.5.5 next-hop-local

[AR7-bgp]di th

[V200R003C00]

#

bgp 200

peer 3.3.3.3 as-number 200

peer 3.3.3.3 connect-interface LoopBack1

peer 4.4.4.4 as-number 200

peer 4.4.4.4 connect-interface LoopBack1

peer 5.5.5.5 as-number 200

peer 5.5.5.5 connect-interface LoopBack1

peer 17.1.1.1 as-number 100

#

ipv4-family unicast

 undo synchronization

 network 17.1.1.0 255.255.255.0

 network 37.1.1.0 255.255.255.0

 import-route direct

 peer 3.3.3.3 enable

 peer 3.3.3.3 next-hop-local

 peer 4.4.4.4 enable

 peer 4.4.4.4 next-hop-local

 peer 5.5.5.5 enable

 peer 5.5.5.5 next-hop-local

 peer 17.1.1.1 enable

#

return

[AR7-bgp]

 

图片.png

图片.png

图片.png

图片.png

图片.png






相关文章
|
iOS开发
华为认证Datacom-拓扑练习05
华为认证Datacom-拓扑练习05
华为认证Datacom-拓扑练习05
|
网络协议 iOS开发
华为认证Datacom-拓扑练习06
华为认证Datacom-拓扑练习06
华为认证Datacom-拓扑练习06
|
iOS开发
华为认证Datacom-拓扑练习02
华为认证Datacom-拓扑练习
华为认证Datacom-拓扑练习02
|
网络架构
华为认证Datacom-拓扑练习
华为认证Datacom-拓扑练习
华为认证Datacom-拓扑练习
|
网络协议 iOS开发
华为认证Datacom-拓扑练习07
华为认证Datacom-拓扑练习07
华为认证Datacom-拓扑练习07
|
网络虚拟化
华为认证Datacom-拓扑练习08
华为认证Datacom-拓扑练习08
华为认证Datacom-拓扑练习08
|
程序员 C++
【C++进阶学习】C++中的继承(1)
【C++进阶学习】C++中的继承(1)
【C++进阶学习】C++中的继承(1)
|
API 开发工具
Webpack 学习心得
Webpack 学习心得
133 0
|
网络协议 网络虚拟化 负载均衡