Multicast Source Discovery Protocol | 619
Figure 28-4. Configuring OSPF and BGP for MSDP
B
G
P
AS 100
AS 200
R1
R2
R3
R4
1/1
1/21
2/11
2/31
3/21
3/41
4/31
4/1
1/2
PC 1
PC 2
PC 3
2/1
router ospf 1
network 10.11.2.0/24 area 0
network 10.11.1.0/24 area 0
network 192.168.0.1/32 area 0
network 10.11.3.0/24 area 0
O
S
P
F
router ospf 1
network 192.168.0.1/32 area 0
network 10.11.1.0/24 area 0
network 10.11.4.0/24 area 0
redistribute static
redistribute connected
redistribute bgp 100
R2_E300(conf)#do show run bgp
!
router bgp 100
redistribute ospf 1
neighbor 192.168.0.3 remote-as 200
neighbor 192.168.0.3 ebgp-multihop 255
neighbor 192.168.0.3 update-source Loopback 0
neighbor 192.168.0.3 no shutdown
Area 0
router ospf 1
network 10.11.6.0/24 area 0
network 192.168.0.3/32 area 0
redistribute static
redistribute connected
redistribute bgp 200
R3_E600(conf)#do show run bgp
!
router bgp 200
redistribute ospf 1
neighbor 192.168.0.2 remote-as 100
neighbor 192.168.0.2 ebgp-multihop 255
neighbor 192.168.0.2 update-source Loopback 0
neighbor 192.168.0.2 no shutdown
router ospf 1
network 10.11.5.0/24 area 0
network 10.11.6.0/24 area 0
network 192.168.0.4/32 area 0
O
S
P
F
Area 0