Setting the Snooping Method (CLI)
Multicast-capable router ports are added to the forwarding table for every Layer 2 multicast entry. The device
learns of the ports through one of these methods:
•
Snooping on IGMP queries, Protocol-Independent Multicast (PIM) packets
•
Statically connecting to a multicast router port using the ip igmp snooping mrouter global configuration
command
Beginning in privileged EXEC mode, follow these steps to alter the method in which a VLAN interface
accesses a multicast router:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip igmp snooping vlan vlan-id mrouter interface {GigabitEthernet | Port-Channel |
TenGigabitEthernet}
4.
end
5.
show ip igmp snooping
6.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters the global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Enables IGMP snooping on a VLAN. The VLAN
ID range is 1 to 1001 and 1006 to 4094.
ip igmp snooping vlan vlan-id mrouter interface
{GigabitEthernet | Port-Channel | TenGigabitEthernet}
Example:
Device(config)# ip igmp snooping
Step 3
vlan 1 mrouter interface GigabitEthernet1/0/3
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches)
OL-32598-01 73
Configuring IGMP
How to Configure IGMP Snooping