642
SwitchB, switchC and switchD to corresponding vlan, and enable PIM-SM Protocol on
each vlan interface.
Fig 17-2 PIM-SM Typical Environment
The configuration procedure for SwitchA, SwitchB, switchC and switchD is as
follows:
(1) Configure SwitchA:
Switch (Config)#ip pim multicast-routing
Switch (Config)#interface vlan 1
Switch(Config-If-Vlan1)# ip address 12.1.1.1 255.255.255.0
Switch(Config-If-Vlan1)# ip pim sparse-mode
Switch(Config-If-Vlan1)#exit
Switch (Config)#interface vlan 2
Switch(Config-If-Vlan2)# ip address 13.1.1.1 255.255.255.0
Switch(Config-If-Vlan2)# ip pim sparse-mode
(2) Configure SwitchB:
Switch (Config)#ip pim multicast-routing
Switch (Config)#interface vlan 1
Switch(Config-If-Vlan1)# ip address 12.1.1.2 255.255.255.0
Switch(Config-If-Vlan1)# ip pim sparse-mode
Switch(Config-If-Vlan1)#exit
Switch (Config)#interface vlan 2
Switch(Config-If-Vlan2)# ip address 24.1.1.2 255.255.255.0
Switch(Config-If-Vlan2)# ip pim sparse-mode
SwitchA
SwitchB
Vlan 1
Vlan 1
Vlan 2 rp
Vlan 2
Vlan 2
Vlan 2
bsr
Vlan 1
Vlan 1
Vlan 3
vlan 3
SwitchD
SwitchC