MSDP Configuration Examples 693
[SwitchE] ip ip-prefix list-c permit 192.168.0.0 16 greater-equal 16 less-equal 32
[SwitchE] msdp
[SwitchE-msdp] peer 192.168.3.2 connect-interface vlan-interface 102
[SwitchE-msdp] static-rpf-peer 192.168.3.2 rp-policy list-c
[SwitchE-msdp] quit
5 Verify the configuration
Carry out the display bgp peer command to view the BGP peering relationships
between the switches. If the command gives no output information, a BGP
peering relationship has not been established between the switches.
When the multicast source in PIM-SM 1 (Source 1) and the multicast source in
PIM-SM 2 (Source 2) send multicast information, receivers in PIM-SM 1 and
PIM-SM 3 can receive the multicast data. You can use the display msdp brief
command to view the brief information of MSDP peering relationships between
the switches. For example:
# View the brief MSDP peer information on Switch B.
[SwitchB] display msdp brief
MSDP Peer Brief Information
Configured Up Listen Connect Shutdown Down
220000
Peer’s Address State Up/Down time AS SA Count Reset Count
192.168.3.2 Up 01:07:08 ? 8 0
192.168.1.2 Up 00:16:39 ? 13 0
# View the brief MSDP peer information on Switch C.
[SwitchC] display msdp brief
MSDP Peer Brief Information
Configured Up Listen Connect Shutdown Down
110000
Peer’s Address State Up/Down time AS SA Count Reset Count
192.168.1.1 Up 01:07:09 ? 8 0
# View the brief MSDP peer information on Switch E.
[SwitchE] display msdp brief
MSDP Peer Brief Information
Configured Up Listen Connect Shutdown Down
110000
Peer’s Address State Up/Down time AS SA Count Reset Count
192.168.3.1 Up 00:16:40 ? 13 0
Anycast RP
Configuration
Network requirements
■ The PIM-SM domain has multiple multicast sources and receivers. OSPF runs
within the domain to provide unicast routes.
■ It is required to configure the anycast RP application so that the receiver-side
DRs and the source-side DRs can initiate a Join message to their respective RPs
that are the topologically nearest to them.
■ On Switch B and Switch D, configure the interface Loopback 10 as a C-BSR,
and Loopback 20 as a C-RP.
■ The router ID of Switch B is 1.1.1.1, while the router ID of Switch D is 2.2.2.2.
Set up an MSDP peering relationship between Switch B and Switch D.