Configuring Layer 2 Multicast
IGMP Snooping Configuration
User Guide
223
Switch(config)#ip igmp snooping header-validation
Switch(config)#show ip igmp snooping
IGMP Snooping :Enable
IGMP Version :V3
Unknown Multicast :Discard
Header Validation :Enable
...
Switch(config)#end
Switch#copy running-config startup-config
2.2.2 Configuring IGMP Snooping for VLANs
Before configuring IGMP Snooping for VLANs, set up the VLANs that the router ports and
the member ports are in. For details, please refer to
The switch supports configuring IGMP Snooping on a per-VLAN basis. After IGMP
Snooping is enabled globally, you also need to enable IGMP Snooping and configure the
corresponding parameters for the VLANs that the router ports and the member ports are
in.
Follow these steps to configure IGMP Snooping for VLANs:
Step 1
configure
Enter global configuration mode.
Step 2
ip igmp snooping vlan-config
vlan-id-list
mtime
member-time
Enable IGMP Snooping for the specified VLANs, and specify the member port aging time for
the VLANs.
vlan-id-list:
Specify the ID or the ID list of the VLAN(s).
member-time:
Specify the aging time of the member ports in the specified VLANs. Valid values
are from 60 to 600 seconds. By default, it is 260 seconds.
Once the switch receives an IGMP membership report message from a port, the switch adds
this port to the member port list of the corresponding multicast group. Member ports that are
learned in this way are called dynamic member ports.
If the switch does not receive any IGMP membership report message for a specific multicast
group from a dynamic member port, it will no longer consider this port as a member port of this
multicast group and delete it from the multicast forwarding table.
Downloaded from