Specifications
Configuring Multicast
April 16, 2009 Page 27 of 32
Example Configuration
Figure 6illustratesthePIM‐SMconfigurationoffourEnterasysMatrixN‐Seriesroutersshownin
theexamplescriptsbelow.ThisconfigurationincludesconfiguringapreferredandabackupBSR
forthetopology,aswellastwoRPsforspecificmulticastgroupsandabackupRPforallgroups.
Figure 6 PIM-SM Configuration with Bootstrap Router and Candidate RPs
Router R1 Configuration
Onthisrouter,IGMPisenabledonVLAN2,whichconnectstohosts,andPIM‐SMisenabledon
allinterfaces.IGMPisusedtodeterminehostgroupmembershipondirectlyattachedsubnets.
NotethatIGMPisenabledinswitchmodeonEnterasysMatrixN‐Seriesrouters.
VLAN2isconfigured
asthebackupcandidateRPforallmu lticastgroupsbyusingthedefaultRP
priorityof192.NotethattheC‐RPwiththesmallestpriorityvalueiselected.
Alternatively,youcouldconfigurealoopbackinterfaceasacandidateRP,toavoidthe
dependencyonaparticularinterface.
R1>Router(config)#router id 1.1.1.1
R1>Router(config)#interface vlan 2
R1>Router(config-if(Vlan 2))#ip address 172.1.1.1 255.255.255.0
R1>Router(config-if(Vlan 2))#no shutdown
R1>Router(config-if(Vlan 2))#exit
R1>set igmp enable 2
R1>set igmp query-enable 2
R1>Router(config)#ip pim rp-candidate 172.1.1.1 224.0.0.0 240.0.0.0
R1>Router(config)#interface vlan 2
R1>Router(config-if(Vlan 2))#ip pim sparse-mode
R1>Router(config-if(Vlan 2))#exit
VLAN 2
VLAN 3
VLAN 4 VLAN 6
VLAN 5
VLAN 9
VLAN 8
VLAN 10
VLAN 7
172.1.1/24
172.1.2/24 172.2.4/24
172.3.4/24
172.1.3/24
172.2.2/24
172.3.3/24
172.4.4/24
Router R1
Router R4
Router R2
Router R3