User's Manual

Table Of Contents
524
Users Manual of CS-6306R
50.5.2.4 Configuring Candidate RP
Configure the candidate RP to enable it to be sent to the BSR periodically and then be diffused to all PIM-SM
routers in the domain, ensuring the RP mapping is unique.
Run the following command in global configuration mode:
Command Purpose
ip pim-sm rp-candidate
[typenumber] [interval|group-list acl-name]
no ip pim-sm rp-candidate [typenumber]
Configures the local switch as the candidate RP. After the
candidate RP is configured, it will be sent to the BSR
periodically. The BSR then broadcasts all PIM-SM routers in
the PIM-SM domain.
50.5.2.5 Displaying PIM-SM Multicast Route
Run the following command to check the multicast route information learned by PIM-SM:
Command Purpose
show ip mroute pim-sm
[group-address] [source-address]
[typenumber] [summary] [count]
[active kbps]
Displays the PIM-SM multicast route information.
50.5.2.6 Clearing Multicast Routes Learned by PIM-SM
Run the following command to clear multicast routes learned by PIM-SM:
Command Purpose
clear ip mroute pim-sm [ * |
group-address ] [source-address]
Clears information about the PIM-SM multicast routes.
50.5.3 Configuration Example
50.5.3.1 PIM-SM Configuration Example (The switch is configured on the VLAN port)
The following examples show how two switches learn and forward the PIM-SM multicast routes.
Device A:
!
ip multicast-routing
!
interface Loopback0
ip address 192.166.100.142 255.255.255.0
ip pim-sm
!
interface Ethernet1/1
ip address 192.166.1.142 255.255.255.0
ip pim-sm
ip pim-sm dr-priority 100
!