Published On: August 6ᵗʰ, 2019 02:05
Cisco Enterprise Network Compute System Switch Command Reference
IGMP Snooping Commands
- ip igmp snooping enable (Global)
- ip igmp snooping querier enable
- ip igmp snooping vlan enable
- ip igmp snooping vlan forbidden mrouter
- ip igmp snooping vlan immediate-leave
- ip igmp snooping vlan querier address
- ip igmp snooping vlan querier version
- ip igmp snooping vlan querier enable
ip igmp snooping enable (Global)
ip igmp snooping querier enable
To enable IGMP Snooping querier globally, use the ip igmp snooping querier enable command in switch configuration mode. To disable the IGMP Snooping querier globally, use the no form of this command.
Syntax Description
Command History
ip igmp snooping vlan enable
To enable IGMP snooping on a specific VLAN, use the ip igmp snooping vlan enable command in switch configuration mode. To return to the default, use the no form of this command.
Syntax Description
Command History
ip igmp snooping vlan forbidden mrouter
To forbid a Gigabit Ethernet or port channel port from being defined as a Multicast router port by static configuration or by automatic learning, use the ip igmp snooping vlan forbidden mrouter command in switch configuration mode. To return to the default, use the no form of this command.
ip igmp snooping vlan vlan-id forbidden mrouter interface { gigabitEthernet | port-channel} interface-id
no ip igmp snooping vlan vlan-id forbidden mrouter interface
Syntax Description
vlan vlan-id |
Specifies the VLAN ID. |
interface |
Specifies the interface type. |
gigabitEthernet |
Specifies Gigabit Ethernet as the interface type. |
port-channel |
Specifies port channel as the interface type. |
interface-id |
Specifies the interface ID. |
Command History
ip igmp snooping vlan immediate-leave
ip igmp snooping vlan querier address
To define the source IP address that the IGMP snooping querier uses, use the ip igmp snooping vlan querier address command in switch configuration mode. To return to the default, use the no form of this command.
ip igmp snooping VLAN vlan-id querier address ip-address
no ip igmp snooping VLAN vlan-id querier address ip-address
Syntax Description
Command Default
If an IP address is configured for the VLAN, it is used as the source address of the IGMP snooping querier. If there are multiple IP addresses, the minimum IP address defined on the VLAN is used.
Command History
ip igmp snooping vlan querier version
To configure the IGMP version of an IGMP Snooping querier on a specific VLAN, use the ip igmp snooping vlan querier version command in interface switch configuration mode. To return to the default, use the no form of this command.
ip igmp snooping VLAN vlan-id querier version { 2 | 3}
no ip igmp snooping VLAN vlan-id querier version { 2 | 3}
Syntax Description
vlan-id |
Specifies the VLAN. |
version 2 |
Specifies that the IGMP version would be IGMPv2. |
version 3 |
Specifies that the IGMP version would be IGMPv3. |
Command History
ip igmp snooping vlan querier enable
To enable the IGMP Snooping querier on a specific VLAN, use the ip igmp snooping vlan querier enable command in switch configuration mode. To disable the IGMP Snooping querier on the VLAN interface, use the no form of this command.