Configuring PIM-SM
Fixed Switch Configuration Guide 19-23
Figure 19-6 PIM-SM Configuration
Routers R1 and R4 Configuration
On Router R1, at the switch level, IGMP snooping is enabled globally and on the ports connected
to hosts. At router level (Level 3), the IGMP querier function is enabled on the device, and IGMP is
enabled on VLAN 2, which connects to hosts. IGMP is used to determine host group membership
on directly attached subnets. PIM-SM is enabled globally and on all interfaces. The underlying
unicast routing protocol is OSPF.
The configuration on Router R4 would be the same, but would use different VLANs, IP addresses,
and router ID.
R1(su)->set igmpsnooping adminmode enable
R1(su)->set igmpsnooping interfacemode ge.1.1-10 enable
R1(su)->router
R1(su)->router>enable
R1(su)->router#configure
Enter configuration commands:
R1(su)->router(Config)#ip igmp
R1(su)->router(Config)#ip pimsm
R1(su)->router(Config)#interface vlan 2
R1(su)->router(Config-if(Vlan 2))#ip address 172.1.1.1 255.255.255.0
R1(su)->router(Config-if(Vlan 2))#ip igmp enable
R1(su)->router(Config-if(Vlan 2))#ip ospf enable
R1(su)->router(Config-if(Vlan 2))#ip pimsm enable
R1(su)->router(Config-if(Vlan 2))#no shutdown
R1(su)->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