R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

330
# Enable exchange of IPv4 unicast routes used for RPF check with Router B.
[RouterA-bgp] address-family ipv4 multicast
[RouterA-bgp-mul-ipv4] peer 192.168.1.2 enable
# Redistribute direct routes into BGP.
[RouterA-bgp-mul-ipv4] import-route direct
[RouterA-bgp-mul-ipv4] quit
[RouterA-bgp] quit
# On Router B, establish an EBGP session with Router A.
[RouterB] bgp 200
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 192.168.1.1 as-number 100
# Enable exchange of IPv4 unicast routes used for RPF check with Router B.
[RouterB-bgp] address-family ipv4 multicast
[RouterB-bgp-mul-ipv4] peer 192.168.1.1 enable
# Redistribute OSPF routes into BGP.
[RouterB-bgp-mul-ipv4] import-route ospf 1
[RouterB-bgp-mul-ipv4] quit
[RouterB-bgp] quit
5. Configure MSDP peers:
# Configure an MSDP peer on Router A.
[RouterA] msdp
[RouterA-msdp] peer 192.168.1.2 connect-interface pos 2/1/0
[RouterA-msdp] quit
# Configure an MSDP peer on Router B.
[RouterB] msdp
[RouterB-msdp] peer 192.168.1.1 connect-interface pos 2/1/0
[RouterB-msdp] quit
Verifying the configuration
# Use the display bgp peer ipv4 multicast command to display BGP IPv4 multicast peers. This example
uses Router B.
[RouterB] display bgp peer ipv4 multicast
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. 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
Peer's Address State Up/Down time AS SA Count Reset Count
192.168.1.1 Up 00:07:17 100 1 0