692
Configuring IP Multicast Routing
Configuring IP Multicast Routing
Switch(config-if)# ip pim passive
Switch(config-if)# exit
Switch(config)# interface GigabitEthernet0/20
Switch(config-if)# ip pim passive
Switch(config-if)# exit
Switch(config)# interface vlan100
Switch(config-if)# ip address 100.1.1.1 255.255.255.0
Switch(config-if)# ip pim passive
Switch(config-if)# exit
Switch(config)# interface GigabitEthernet0/20
Switch(config-if)# no switchport
Switch(config-if)# ip address 10.1.1.1 255.255.255.0
Switch(config-if)# ip pim passive
Switch(config-if)# end
To verify that PIM stub is enabled for each interface, use the show ip pim interface privileged EXEC command:
Switch# show ip pim interface
Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
3.1.1.2 GigabitEthernet0/25 v2/SD 1 30 1 3.1.1.2
100.1.1.1 Vlan100 v2/P 0 30 1 100.1.1.1
10.1.1.1 GigabitEthernet0/20 v2/P 0 30 1 10.1.1.1
Use these privileged EXEC commands to display information about PIM stub configuration and status:
show ip pim interface displays the PIM stub that is enabled on each interface.
show ip igmp detail displays the interested clients that have joined the specific multicast source group.
show ip igmp mroute verifies that the multicast stream forwards from the source to the interested clients.
Configuring Source-Specific Multicast
This section describes how to configure source-specific multicast (SSM).
BEFORE YOU BEGIN
See Information About Source-Specific Multicast, page 681 and Guidelines and Limitations, page 686.
DETAILED STEPS
EXAMPLE
The following example shows how to configure a device (running IGMPv3) for SSM:
ip multicast-routing
ip pim ssm default
!
Command Purpose
1. ip pim ssm [default | range access-list] Define the SSM range of IP multicast addresses.
2. interface type number Select an interface that is connected to hosts on which
IGMPv3 can be enabled, and enter the interface
configuration mode.
3. ip pim {sparse-mode |
sparse-dense-mode}
Enable PIM on an interface. You must use either sparse
mode or sparse-dense mode.
4. ip igmp version 3 Enable IGMPv3 on this interface. The default version of
IGMP is set to Version 2.