CCNP-33 BGP 3
实验拓扑:
实验要求:按照拓扑图将三台路由器分别放置在AS 100/200/300中,首先配置R1与R2 R3成为EBGP PEER,观察BGP路由表中的AS PATH属性,然后再将R2与R3也配置为EBGP PEER,再观察BGP路由表中的AS PATH属性,看看有什么变化。
试验目的:掌握AS PATH属性在BGP路由选择中的作用。
试验配置:
R1:
R1(config)#int f0/0
R1(config-if)#ip add 192.1.1.1 255.255.255.0
R1(config-if)#no shu
R1(config-if)#exit
R1(config)#int loop0
R1(config-if)#ip add
1.1.1.1 255.255.255.0
R1(config-if)#exit
R1(config-if)#ip add
10.1.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#router bgp 100
R1(config-router)#nei
R1(config-router)#neighbor 192.1.1.2 remote-as 200
R1(config-router)#network
10.1.1.0 mask 255.255.255.0
R1(config-router)#exit
R2:
R2(config-if)#no shu
R2(config-if)#exit
R2(config)#int f1/0
R2(config-if)#ip add 193.1.1.1 255.255.255.0
R2(config-if)#no shu
R2(config-if)#exit
R2(config)#int loop0
R2(config-if)#ip add
2.2.2.2 255.255.255.0
R2(config-if)#exit
R2(config)#router bgp 200
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>