220
# On Router A, configure the MBGP peer and enable direct route redistribution.
[RouterA] bgp 100
[RouterA-bgp] router-id 1.1.1.1
[RouterA-bgp] peer 192.168.1.2 as-number 200
[RouterA-bgp] import-route direct
[RouterA-bgp] ipv4-family multicast
[RouterA-bgp-af-mul] peer 192.168.1.2 enable
[RouterA-bgp-af-mul] import-route direct
[RouterA-bgp-af-mul] quit
[RouterA-bgp] quit
# On Router B, configure the MBGP peer and enable route redistribution from OSPF.
[RouterB] bgp 200
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 192.168.1.1 as-number 100
[RouterB-bgp] import-route ospf 1
[RouterB-bgp] ipv4-family multicast
[RouterB-bgp-af-mul] peer 192.168.1.1 enable
[RouterB-bgp-af-mul] import-route ospf 1
[RouterB-bgp-af-mul] quit
[RouterB-bgp] quit
6.
Configure MSDP peers:
# Specify the MSDP peer on Router A.
[RouterA] msdp
[RouterA-msdp] peer 192.168.1.2 connect-interface pos 5/0
[RouterA-msdp] quit
# Specify the MSDP peer on Router B.
[RouterB] msdp
[RouterB-msdp] peer 192.168.1.1 connect-interface pos 5/0
[RouterB-msdp] quit
7.
Verify the configuration:
Use the
display bgp multicast peer
command to display MBGP peers on each router. This example
uses Router B.
[RouterB] display bgp multicast peer
BGP local router ID : 2.2.2.2
Local AS number : 200
Total number of peers : 1 Peers in established state : 1
Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State
192.168.1.1 100 56 56 0 0 00:40:54 Established
Use the
display msdp brief
command to display MSDP peers on a router. This example uses Router
B.
[RouterB] display msdp brief
MSDP Peer Brief Information of VPN-Instance: public net
Configured Up Listen Connect Shutdown Down
1 1 0 0 0 0