178 CHAPTER 7: USING MULTICAST PROTOCOL COMMANDS
<4500>display igmp-snooping statistics
Received IGMP general query packet(s) number:0.
Received IGMP specific query packet(s) number:0.
Received IGMP V1 report packet(s) number:0.
Received IGMP V2 report packet(s) number:0.
Received IGMP leave packet(s) number:0.
Received error IGMP packet(s) number:0.
Sent IGMP specific query packet(s) number:0.
igmp-snooping Syntax
igmp-snooping { enable | disable }
View
System View
Parameter
enable: Enable IGMP Snooping.
disable: Disables IGMP Snooping; By default, the Switch disables IGMP Snooping
feature.
Description
Use the igmp-snooping enable command to enable/disable IGMP Snooping.
Use the igmp-snooping disable command to restore the default setting.
Although layer 2 and layer 3 multicast protocols can run together, they cannot run
on the same VLAN or its corresponding VLAN interface at the same time. For
example, if the layer 2 multicast protocol is enabled on a VLAN, then the layer 3
multicast protocol cannot operate on this VLAN, and vice versa.
IGMP Snooping functions only when it is enabled both in System View and in
VLAN View. You must first enable IGMP Snooping globally in System View and
then the VLAN View before configuring it. Otherwise, the IGMP Snooping fails to
operate.
Example
Enable IGMP Snooping on VLAN 100.
<4500>system-view
System View: return to User View with Ctrl+Z
[4500]igmp-snooping enable
[4500]vlan 100
[4500-vlan100]igmp-snooping enable
igmp-snooping
host-aging-time
Syntax
igmp-snooping host-aging-time seconds
undo igmp-snooping host-aging-time
View
System View