1)
Configure OSPF Area-0 on AS 65415
R1,
R2, R3, R4
int
lo 0
ip
os 1 a 0
int
range f0/0 - 4
ip
os 1 a 0
R5
int
lo 0
ip
os 1 a 0
int
f0/0
ip
os 1 a 0
int
f0/1
ip
os 1 a 0
int
f0/4
ip
os 1 a 0
int
f0/5
ip
os 1 a 0
R6,
R7
int
lo 0
ip
os 1 a 0
int
range f0/0 - 3
R8
int
lo 0
ip
os 1 a 0
int
f0/0
ip
os 1 a 0
int
f0/3
ip
os 1 a 0
int
f0/4
ip
os 1 a 0
int
f0/5
ip
os 1 a 0
R9,
R10, R11, R12
int
lo 0
ip
os 1 a 0
int
range f0/0 - 1
ip
os 1 a 0
2)
Define OSPF router-id within AS 65315
R1
router
ospf 1
router-id 1.1.1.1
R2
router
ospf 1
router-id 2.2.2.2
R3
router
ospf 1
router-id 3.3.3.3
R4
router
ospf 1
router-id 4.4.4.4
R5
router
ospf 1
router-id 5.5.5.5
R6
router
ospf 1
router-id 6.6.6.6
R7
router
ospf 1
router-id 7.7.7.7
R8
router
ospf 1
router-id 8.8.8.8
R9
router
ospf 1
router-id 9.9.9.9
R10
router
ospf 1
router-id 10.10.10.10
R11
router
ospf 1
router-id 11.11.11.11
R12
router
ospf 1
router-id 12.12.12.12
3)
Configure BGP for all Area
R1
router
bgp 65415
network 200.1.1.1 mask 255.255.255.255
neighbor 2.2.2.2 remote-as 65415
neighbor 2.2.2.2 update-source Loopback0
neighbor 3.3.3.3 remote-as 65415
neighbor 3.3.3.3 update-source Loopback0
neighbor 4.4.4.4 remote-as 65415
neighbor 4.4.4.4 update-source Loopback0
neighbor 5.5.5.5 remote-as 65415
neighbor 5.5.5.5 update-source Loopback0
neighbor 5.5.5.5 route-reflector-client
neighbor 6.6.6.6 remote-as 65415
neighbor 6.6.6.6 update-source Loopback0
neighbor 6.6.6.6 route-reflector-client
R2
router
bgp 65415
network 200.2.2.2 mask 255.255.255.255
neighbor 1.1.1.1 remote-as 65415
neighbor 1.1.1.1 update-source Loopback0
neighbor 3.3.3.3 remote-as 65415
neighbor 3.3.3.3 update-source Loopback0
neighbor 4.4.4.4 remote-as 65415
neighbor 4.4.4.4 update-source Loopback0
neighbor 7.7.7.7 remote-as 65415
neighbor 7.7.7.7 update-source Loopback0
neighbor 7.7.7.7 route-reflector-client
neighbor 8.8.8.8 remote-as 65415
neighbor 8.8.8.8 update-source Loopback0
neighbor 8.8.8.8 route-reflector-client
R3
router
bgp 65415
network 200.3.3.3 mask 255.255.255.255
neighbor 1.1.1.1 remote-as 65415
neighbor 1.1.1.1 update-source Loopback0
neighbor 2.2.2.2 remote-as 65415
neighbor 2.2.2.2 update-source Loopback0
neighbor 4.4.4.4 remote-as 65415
neighbor 4.4.4.4 update-source Loopback0
neighbor 5.5.5.5 remote-as 65415
neighbor 5.5.5.5 update-source Loopback0
neighbor 5.5.5.5 route-reflector-client
neighbor 6.6.6.6 remote-as 65415
neighbor 6.6.6.6 update-source Loopback0
neighbor 6.6.6.6 route-reflector-client
R4
router
bgp 65415
network 200.4.4.4 mask 255.255.255.255
neighbor 1.1.1.1 remote-as 65415
neighbor 1.1.1.1 update-source Loopback0
neighbor 2.2.2.2 remote-as 65415
neighbor 2.2.2.2 update-source Loopback0
neighbor 3.3.3.3 remote-as 65415
neighbor 3.3.3.3 update-source Loopback0
neighbor 7.7.7.7 remote-as 65415
neighbor 7.7.7.7 update-source Loopback0
neighbor 7.7.7.7 route-reflector-client
neighbor 8.8.8.8 remote-as 65415
neighbor 8.8.8.8 update-source Loopback0
neighbor 8.8.8.8 route-reflector-client
R5
router
bgp 65415
network 200.5.5.5 mask 255.255.255.255
neighbor 1.1.1.1 remote-as 65415
neighbor 1.1.1.1 update-source Loopback0
neighbor 1.1.1.1 next-hop-self
neighbor 3.3.3.3 remote-as 65415
neighbor 3.3.3.3 update-source Loopback0
neighbor 3.3.3.3 next-hop-self
neighbor 9.9.9.9 remote-as 65415
neighbor 9.9.9.9 update-source Loopback0
neighbor 9.9.9.9 route-reflector-client
neighbor 10.10.10.10 remote-as 65415
neighbor 10.10.10.10 update-source Loopback0
neighbor 10.10.10.10 route-reflector-client
neighbor 203.81.135.13 remote-as 32934
neighbor 203.81.145.14 remote-as 15169
R6
router
bgp 65415
network 200.6.6.6 mask 255.255.255.255
neighbor 1.1.1.1 remote-as 65415
neighbor 1.1.1.1 update-source Loopback0
neighbor 3.3.3.3 remote-as 65415
neighbor 3.3.3.3 update-source Loopback0
neighbor 9.9.9.9 remote-as 65415
neighbor 9.9.9.9 update-source Loopback0
neighbor 9.9.9.9 route-reflector-client
neighbor 10.10.10.10 remote-as 65415
neighbor 10.10.10.10 update-source Loopback0
neighbor 10.10.10.10 route-reflector-client
R7
router
bgp 65415
network 200.7.7.7 mask 255.255.255.255
neighbor 2.2.2.2 remote-as 65415
neighbor 2.2.2.2 update-source Loopback0
neighbor 4.4.4.4 remote-as 65415
neighbor 4.4.4.4 update-source Loopback0
neighbor 11.11.11.11 remote-as 65415
neighbor 11.11.11.11 update-source Loopback0
neighbor 11.11.11.11 route-reflector-client
neighbor 12.12.12.12 remote-as 65415
neighbor 12.12.12.12 update-source Loopback0
neighbor 12.12.12.12 route-reflector-client
R8
router
bgp 65415
network 200.8.8.8 mask 255.255.255.255
neighbor 2.2.2.2 remote-as 65415
neighbor 2.2.2.2 update-source Loopback0
neighbor 2.2.2.2 next-hop-self
neighbor 4.4.4.4 remote-as 65415
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 next-hop-self
neighbor 11.11.11.11 remote-as 65415
neighbor 11.11.11.11 update-source Loopback0
neighbor 11.11.11.11 route-reflector-client
neighbor 12.12.12.12 remote-as 65415
neighbor 12.12.12.12 update-source Loopback0
neighbor 12.12.12.12 route-reflector-client
neighbor 150.150.85.15 remote-as 8075
neighbor 150.150.86.16 remote-as 714
R9
router
bgp 65415
network 200.9.9.9 mask 255.255.255.255
neighbor 5.5.5.5 remote-as 65415
neighbor 5.5.5.5 update-source Loopback0
neighbor 6.6.6.6 remote-as 65415
neighbor 6.6.6.6 update-source Loopback0
R10
router
bgp 65415
network 200.10.10.10
neighbor 5.5.5.5 remote-as 65415
neighbor 5.5.5.5 update-source Loopback0
neighbor 6.6.6.6 remote-as 65415
neighbor 6.6.6.6 update-source Loopback0
R11
router
bgp 65415
network 200.11.11.11
neighbor 7.7.7.7 remote-as 65415
neighbor 7.7.7.7 update-source Loopback0
neighbor 8.8.8.8 remote-as 65415
neighbor 8.8.8.8 update-source Loopback0
R12
router
bgp 65415
network 200.12.12.12
neighbor 7.7.7.7 remote-as 65415
neighbor 7.7.7.7 update-source Loopback0
neighbor 8.8.8.8 remote-as 65415
neighbor 8.8.8.8 update-source Loopback0
R13
router
bgp 32934
network 13.13.13.13 mask 255.255.255.255
neighbor 203.81.135.5 remote-as 65415
R14
router
bgp 15169
network 14.14.14.14 mask 255.255.255.255
neighbor 203.81.145.5 remote-as 65415
R15
router
bgp 8075
network 15.15.15.15 mask 255.255.255.255
neighbor 150.150.85.8 remote-as 65415
R16
router
bgp 714
network 16.16.16.16 mask 255.255.255.255
neighbor 150.150.86.8 remote-as 65415
#sh
ip bgp
#sh
ip bgp summary
#sh
ip bgp summary | i 32934 on R5
#sh
ip route bgp | i 13.13.13.0/24
#sh
ip bgp 200.1.1.0
foreach address {
200.1.1.1
200.2.2.2
200.3.3.3
200.4.4.4
200.5.5.5
200.6.6.6
200.7.7.7
200.8.8.8
200.9.9.9
200.10.10.10
200.11.11.11
200.12.12.12
13.13.13.13
14.14.14.14
15.15.15.15
16.16.16.16
} { ping $address so lo 0}
Check
Originator and Cluster (#sh ip bgp 200.1.1.0)
R9(config-if)#do
sh ip bg 200.12.12.0
BGP
routing table entry for 200.12.12.0/24, version 14
Paths:
(2 available, best #2, table Default-IP-Routing-Table)
Not advertised to any peer
Local
12.12.12.12 (metric 6) from 6.6.6.6
(6.6.6.6)
Origin IGP, metric 0, localpref 100,
valid, internal
Originator:
12.12.12.12, Cluster list: 6.6.6.6, 1.1.1.1, 2.2.2.2, 7.7.7.7
Local
12.12.12.12 (metric 6) from 5.5.5.5
(5.5.5.5)
Origin IGP, metric 0, localpref 100,
valid, internal, best
Originator:
12.12.12.12, Cluster list: 5.5.5.5, 1.1.1.1, 2.2.2.2, 7.7.7.7
R12(config-if)#do
sh ip bg 200.9.9.0
BGP
routing table entry for 200.9.9.0/24, version 10
Paths:
(2 available, best #2, table Default-IP-Routing-Table)
Not advertised to any peer
Local
9.9.9.9 (metric 6) from 8.8.8.8 (8.8.8.8)
Origin IGP, metric 0, localpref 100,
valid, internal
Originator:
9.9.9.9, Cluster list: 8.8.8.8, 2.2.2.2, 1.1.1.1, 5.5.5.5
Local
9.9.9.9 (metric 6) from 7.7.7.7 (7.7.7.7)
Origin IGP, metric 0, localpref 100,
valid, internal, best
Originator: 9.9.9.9, Cluster list: 7.7.7.7,
2.2.2.2, 1.1.1.1, 5.5.5.5
No comments:
Post a Comment