The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS IGMP snooping commands that begin with I.
To enable IGMP snooping for the current virtual device configuration (VDC), use the ip igmp snooping command. To disable IGMP snooping for the current VDC, use the no form of this command.
|
|
If the global configuration of IGMP snooping is disabled, then all VLANs are treated as disabled, whether they are enabled or not.
This example shows how to enable IGMP snooping for the current VDC:
switch(
config)#
ip igmp snooping
switch(
config)#
This example shows how to disable IGMP snooping for the current VDC:
switch(
config)#
no ip igmp snooping
switch(
config)#
|
|
---|---|
To enable IGMP snooping on specified VLAN interfaces, use the ip igmp snooping command. To disable IGMP snooping on the interface, use the no form of this command.
|
|
If the global configuration of IGMP snooping is disabled, then all VLANs are treated as disabled, whether they are enabled or not.
This example shows how to enable IGMP snooping on a VLAN interface:
switch(
config)#
vlan 1
switch(
config-vlan)#
ip igmp snooping
switch(
config-vlan)#
This example shows how to disable IGMP snooping on a VLAN interface:
switch(
config)#
vlan 1
switch(
config-vlan)#
no ip igmp snooping
switch(
config-vlan)#
|
|
---|---|
To configure the size of the IGMP snooping event history buffers, use the ip igmp snooping event-history command. To revert to the default buffer size, use the no form of this command.
ip igmp snooping event-history { igmp-snoop-internal | mfdm | mfdm-sum | rib | vlan | vlan-events | vpc } size buffer-size
no ip igmp snooping event-history { igmp-snoop-internal | mfdm | mfdm-sum | rib | vlan | vlan-events | vpc } size buffer-size
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to configure the IGMP snooping VLAN event history buffer size:
switch(config)#
ip igmp snooping event-history vlan size large
To enable tracking of IGMPv3 membership reports from individual hosts for each port on a per-VLAN basis, use the ip igmp snooping explicit-tracking command. To disable tracking, use the no form of this command.
ip igmp snooping explicit-tracking
no ip igmp snooping explicit-tracking
|
|
This example shows how to enable tracking of IGMPv3 membership reports on a VLAN interface:
switch(
config)#
vlan 1
switch(
config-vlan)#
ip igmp snooping explicit-tracking
switch(
config-vlan)#
This example shows how to disable IGMP snooping on a VLAN interface:
switch(
config)#
vlan 1
switch(
config-vlan)#
no ip igmp snooping explicit-tracking
switch(
config-vlan)#
|
|
---|---|
To enable support of IGMPv2 hosts that cannot be explicitly tracked because of the host report suppression mechanism of the IGMPv2 protocol, use the ip igmp snooping fast-leave command. To disable support of IGMPv2 hosts, use the no form of this command.
no ip igmp snooping fast-leave
|
|
When you enable fast leave, the IGMP software assumes that no more than one host is present on each VLAN port.
This example shows how to enable support of IGMPv2 hosts:
switch(
config)#
vlan 1
switch(
config-vlan)#
ip igmp snooping fast-leave
switch(
config-vlan)#
This example shows how to disable support of IGMPv2 hosts:
switch(
config)#
vlan 1
switch(
config-vlan)#
no ip igmp snooping fast-leave
switch(
config-vlan)#
|
|
---|---|
To configure a query interval in which the software removes a group, use the ip igmp snooping last-member-query-interval command. To reset the query interval to the default, use the no form of this command.
ip igmp snooping last-member-query-interval interval
no ip igmp snooping last-member-query-interval [ interval ]
Query interval in seconds. The range is from 1 to 25. The default is 1. |
|
|
This example shows how to configure a query interval in which the software removes a group:
switch(
config)#
vlan 1
switch(
config-vlan)#
ip igmp snooping last-member-query-interval 3
switch(
config-vlan)#
This example shows how to reset a query interval to the default:
switch(
config)#
vlan 1
switch(
config-vlan)#
no ip igmp snooping last-member-query-interval
switch(
config-vlan)#
|
|
---|---|
To enable suppression of IGMP reports from link-local groups, use the ip igmp snooping link-local-groups-suppression command. To disable suppression of these reports, use the no form of this command.
ip igmp snooping link-local-groups-suppression
no ip igmp snooping link-local-groups-suppression
Global configuration mode
VLAN configuration mode
|
|
If this setting is disabled on the entire device, then it is disabled on all VLANs on device, irrespective of the specific VLAN setting.
This example shows how to enable suppression of IGMP reports from link-local groups:
switch(
config)#
vlan 1
switch(
config-vlan)#
ip igmp snooping link-local-groups-suppression
switch(
config-vlan)#
This example shows how to disable suppression of IGMP reports from link-local groups:
switch(
config)#
vlan 1
switch(
config-vlan)#
no ip igmp snooping link-local-groups-suppression
switch(
config-vlan)#
|
|
---|---|
To configure a static connection to a multicast router, use the ip igmp snooping mrouter interface command. To remove the static connection, use the no form of this command.
ip igmp snooping mrouter interface { ethernet slot / port | port-channel number [. sub_if_number ]}
no ip igmp snooping mrouter interface { ethernet slot / port | port-channel number [. sub_if_number ]}
|
|
This example shows how to configure a static connection to a multicast router:
switch(
config)#
vlan 1
switch(
config-vlan)#
ip igmp snooping mrouter interface ethernet 2/1
switch(
config-vlan)#
This example shows how to remove a static connection to a multicast router:
switch(
config)#
vlan 1
switch(
config-vlan)#
no ip igmp snooping mrouter interface ethernet 2/1
switch(
config-vlan)#
|
|
---|---|
To configure a static connection to a virtual port channel (vPC) peer link, use the ip igmp snooping mrouter vpc-peer-link command. To remove the static connection, use the no form of this command.
ip igmp snooping mrouter vpc-peer-link
no ip igmp snooping mrouter vpc-peer-link
|
|
By default, the vPC peer-link is considered as a multicast router port and the multicast packet is sent to the peer-link for each receiver VLAN.
To send the multicast traffic over a vPC peer-link to each receiver VLAN that does not have orphan ports, use the no ip igmp snooping mrouter vpc-peer-link command.
By default, a vPC Peer-link is considered an IGMP snooping mrouter port. The multicast traffic is sent over to a peer-link for the source VLAN and for each receiving VLAN. If you use the no ip igmp snooping mrouter vpc-peer-link command, the multicast traffic is not sent over to a peer-link for the source VLAN and receiver VLAN unless there are orphan ports in the VLAN.
This example shows how to configure a static connection to a vPC peer link:
switch(
config)#
ip igmp snooping mrouter vpc-peer-link
switch(
config)#
This example shows how to remove a static connection to a vPC peer link:
switch(
config)#
no ip igmp snooping mrouter vpc-peer-link
Warning: IGMP Snooping mrouter vpc-peer-link should be globally disabled on peer
VPC switch as well.
switch(
config)#
|
|
---|---|
To configure Optimized Multicast Flood (OMF) on all VLANs, use the ip igmp snooping optimise-multicast-flood command. To remove the OMF from all VLANs, use the no form of this command.
ip igmp snooping optimise-multicast-flood
no ip igmp snooping optimise-multicast-flood
|
|
This example shows how to configure OMF on all VLANs:
switch(
config)#
ip igmp snooping optimise-multicast-flood
switch(
config)#
This example shows how to remove OMF from all VLANs:
switch(
config)#
no ip igmp snooping optimise-multicast-flood
switch(
config)#
|
|
---|---|
To configure a snooping querier on an interface when you do not enable Protocol Independent Multicast (PIM) because multicast traffic does not need to be routed, use the ip igmp snooping querier command. To remove the snooping querier, use the no form of this command.
ip igmp snooping querier querier
no ip igmp snooping querier [ querier ]
|
|
This example shows how to configure a snooping querier:
switch(
config)#
vlan 1
switch(
config-vlan)#
ip igmp snooping querier 172.20.52.106
switch(
config-vlan)#
This example shows how to disable IGMP snooping on a VLAN interface:
switch(
config)#
vlan 1
switch(
config-vlan)#
no ip igmp snooping querier
switch(
config-vlan)#
|
|
---|---|
To enable limiting the membership report traffic sent to multicast-capable routers, use the ip igmp snooping report-suppression command. To disable the limitation, use the no form of this command.
ip igmp snooping report-suppression
no ip igmp snooping report-suppression
Global configuration mode
VLAN configuration mode
|
|
When you disable report suppression, all IGMP reports are sent as is to multicast-capable routers.
This example shows how to enable limiting the membership report traffic:
switch(
config)#
vlan 1
switch(
config-vlan)#
ip igmp snooping report-suppression
switch(
config-vlan)#
This example shows how to disable limiting the membership report traffic:
switch(
config)#
vlan 1
switch(
config-vlan)#
no ip igmp snooping report-suppression
switch(
config-vlan)#
|
|
---|---|
To configure a Layer 2 port of a VLAN as a static member of a multicast group, use the ip igmp snooping static-group command. To remove the static member, use the no form of this command.
ip igmp snooping static-group group [ source source ] interface { ethernet slot / port | port-channel number [. sub_if_number ]}
no ip igmp snooping static-group group [ source source ] interface { ethernet slot / port | port-channel number [. sub_if_number ]}
|
|
This example shows how to configure a static member of a multicast group:
switch(
config)#
vlan 1
switch(
config-vlan)#
ip igmp snooping static-group 230.0.0.1 interface ethernet 2/1
switch(
config-vlan)#
This example shows how to remove a static member of a multicast group:
switch(
config)#
vlan 1
switch(
config-vlan)#
no ip igmp snooping static-group 230.0.0.1 interface ethernet 2/1
switch(
config-vlan)#
|
|
---|---|
To configure IGMPv3 report suppression and proxy reporting for VLANs on the entire device, use the ip igmp snooping v3-report-suppression command. To remove IGMPv3 report suppression, use the no form of this command.
ip igmp snooping v3-report-suppression
no ip igmp snooping v3-report-suppression
|
|
This example shows how to configure IGMPv3 report suppression and proxy reporting for VLANs:
switch(
config)#
ip igmp snooping v3-report-suppression
This example shows how to remove IGMPv3 report suppression:
switch(
config)#
no ip igmp snooping v3-report-suppression
|
|
---|---|
To configure IGMPv3 report suppression and proxy reporting for VLANs, use the ip igmp snooping v3-report-suppression command. To remove IGMPv3 report suppression, use the no form of this command.
ip igmp snooping v3-report-suppression
no ip igmp snooping v3-report-suppression
|
|
If this setting is disabled for the device, which is the default value, then it is disabled for all VLANs, irrespective of how you set this value for an individual VLAN. However, once you set the global setting to enabled, the settings for all the VLANs are enabled by default.
This example shows how to configure IGMPv3 report suppression and proxy reporting for specified VLANs:
switch(
config)#
vlan 10-20
switch(
config-vlan)#
ip igmp snooping v3-report-suppression
This example shows how to remove IGMPv3 report suppression on specified VLANs:
switch(
config)#
vlan 10-20
switch(
config-vlan)#
no ip igmp snooping v3-report-suppression
|
|
---|---|