339
[SwitchB-pim] c-rp 2.2.2.2
[SwitchB-pim] quit
4. Configure BGP to establish BGP IPv4 multicast peers and redistribute routes:
# On Switch A, establish an EBGP session to Switch B.
[SwitchA] bgp 100
[SwitchA-bgp-default] router-id 1.1.1.1
[SwitchA-bgp-default] peer 192.168.1.2 as-number 200
# Enable exchange of IPv4 unicast routes used for RPF check with Switch B.
[SwitchA-bgp-default] address-family ipv4 multicast
[SwitchA-bgp-default-mul-ipv4] peer 192.168.1.2 enable
# Redistribute direct routes into BGP.
[SwitchA-bgp-default-mul-ipv4] import-route direct
[SwitchA-bgp-default-mul-ipv4] quit
[SwitchA-bgp-default] quit
# On Switch B, establish an EBGP session to Switch A.
[SwitchB] bgp 200
[SwitchB-bgp-default] router-id 2.2.2.2
[SwitchB-bgp-default] peer 192.168.1.1 as-number 100
# Enable exchange of IPv4 unicast routes used for RPF check with Switch B.
[SwitchB-bgp-default] address-family ipv4 multicast
[SwitchB-bgp-default-mul-ipv4] peer 192.168.1.1 enable
# Redistribute OSPF routes into BGP.
[SwitchB-bgp-default-mul-ipv4] import-route ospf 1
[SwitchB-bgp-default-mul-ipv4] quit
[SwitchB-bgp-default] quit
5. Configure MSDP peers:
# Configure an MSDP peer on Switch A.
[SwitchA] msdp
[SwitchA-msdp] peer 192.168.1.2 connect-interface vlan-interface 101
[SwitchA-msdp] quit
# Configure an MSDP peer on Switch B.
[SwitchB] msdp
[SwitchB-msdp] peer 192.168.1.1 connect-interface vlan-interface 101
[SwitchB-msdp] quit
Verifying the configuration
# Verify the BGP IPv4 multicast peer information on Switch B.
[SwitchB] display bgp peer ipv4 multicast
BGP local router ID : 2.2.2.2
Local AS number : 200
Total number of peers : 3 Peers in established state : 3
Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State
192.168.1.1 100 56 56 0 0 00:40:54 Established
# Verify the MSDP peer information on Switch B.
[SwitchB] display msdp brief