465
router with the other candidate RPs; the “no ip pim rp-candidate [<ifname>]
command cancels the RP configuration.
Parameter: <ifname> is the name of specified interface; access-list is the number of
group range list can be used as the RP in the switch, ranging from 1 to 99, if
this parameter is omitted, the router can work as the RP for all multicast
groups; interval is the interval for the local candidate RP to send C-RP
packets, ranging from 1 to 16383 seconds.
Default: The switch is not BSR candidate router by default.
Command mode: Global Mode
Usage Guide: This command is a global candidate RP configuration command. It is used
to configure information for PIM-SM candidate RP and to comtend for the
RP router with the other candidate RPs. The switch will be a RP candidate
router only when this command is configured.
Example: Set the interface vlan1 as the candidate RP announcing message sending
interface.
Switch (Config)# ip pim rp-candidate vlan1 group-list 5
Switch (Config)# access-list 5 permit 239.255.2.0 0.0.0.255
16.4.3 Typical PIM-SM Scenario
As shown in the figure below, the Ethernet interfaces of SWITCHA, SWITCHB, SWITCHC
and SWITCHD are added to the appropriate vlan, and PIM-SM protocol is enabled on
each vlan interface.
SWITCHA SWITCHB
Ethe rne t 1/1
vl an1
Ether ne t 1/1
vl an1 Ethe rn et 1/ 2
vl an2 rp
Ether ne t 1/2
vl an2
Ethe rn et 1/ 2
vl an2
Ether ne t 1/2
vl an2 bsr
Ethe rne t 1/1
vl an1
Ethe rne t 1/1
vl an1
Ethe rn et 1/ 3
vl an3 Ethe rne t 1/3
vl an3
SWITCHD
SWITCHC
Fig 16-2 Typical PIM-SM environment