Enabling or disabling IGMP
Prerequisites
You must be in an interface configuration context, as indicated by theswitch(config-if-vlan)#
prompt.
IGMP的业务nal, the interface has to be up. To become querier, the interface must have an IP address associated with it.
Procedure
IGMP is disabled by default. Enable IGMP on an interface using the following command.
ip igmp{启用|禁用}
For example, the following command enables IGMP on interface VLAN 2:
switch(config)#interface vlan 2switch(config-if-vlan)#ip igmp enable
Use thedisable
parameter to disable IGMP on an interface.