To display the router ports, IGMP snooping information, IGMP group information, IGMP snooping statistics, the blocked router ports, IGMP multicast host information, and IGS port configuration information for all VLANs or a specific VLAN for a given switch or for all switches (if no switch is specified) and the multicast VLAN statistics in a switch, use the show ip igmp snooping command in Privileged EXEC Mode.
Parameter | Type | Description |
---|---|---|
blocked-router |
Enter to display blocked router ports for all VLANs or a specific VLAN for a given switch or for all switches (if no switch is specified). | |
vlan <vlan-id/vfi-id> |
Integer | Enter to specify the blocked router ports for the VLAN
/ VFI ID to be displayed. This value ranges from 1 to 65535.
|
switch |
Enter to display the IGMP snooping statistics for the specified context. | |
<switch_name> |
Enter a value representing unique name of the switch context. This value is a string of maximum size 32. This parameter is specific to multiple instance feature. | |
forwarding-database |
Enter to display multicast forwarding entries for all VLANs or a specific VLAN or specific VLAN and group address for a given switch or for all switch (if no switch is specified). | |
vlan <vlan-id/vfi-id> |
Integer | Enter to specify multicast forwarding entries for the
VLAN / VFI ID to be displayed. This value ranges from 1 to 65535.
|
static |
Enter to display only static multicast entries. | |
dynamic |
Enter to display only dynamic multicast entries. If not specified, both static and dynamic entries are displayed. | |
switch |
Enter to display the switch name/context name. | |
<switch_name> |
Enter a value representing unique name of the switch context. This value is a string of maximum size 32. This parameter is specific to multiple instance feature. | |
globals |
Enter to display IGMP snooping information for all VLANs or a specific VLAN for a given switch or for all switches (if switch is not specified). The optional switch name is not applicable for SI case. | |
switch |
Enter to display the switch name/context name. | |
<switch_name> |
Enter a value representing unique name of the switch context. This value is a string of maximum size 32. This parameter is specific to multiple instance feature. | |
groups |
Enter to display IGMP group information for all VLANs or a specific VLAN or specific VLAN and group address for a given switch or for all switch (if no switch is specified). | |
vlan <vlan-id/vfi-id> |
Integer | Enter to specify IGMP snooping group information for the
VLAN / VFI ID to be displayed. This value ranges from 1 to 65535.
|
Group |
Enter to display the multicast group address of the VLAN ID. | |
<Address> |
Enter a value for the multicast group address of the VLAN ID to be displayed. | |
static |
Enter to display only static multicast entries. | |
dynamic |
Enter to display only dynamic multicast entries. If not specified, both static and dynamic entries are displayed. | |
switch |
Enter to display the switch name/context name. | |
<switch_name> |
Enter a value representing unique name of the switch context. This value is a string of maximum size 32. This parameter is specific to multiple instance feature. | |
mrouter |
Enter for display the router ports for all VLANs or a specific VLAN for a given switch or for all switches (if no switch is specified). The optional switch is not applicable for SI case. The interface details and the corresponding port number along with its type (static/dynamic) are displayed. | |
vlan <vlan-id/vfi-id> |
Integer | Enter to specify he router ports for the specified VLAN
/ VFI ID to be displayed.This value ranges from 1 to 65535.
Note:
The VLAN ID 4095 is reserved and may be used to indicate a wildcard match for the VID in management operations or filtering database entries. Note:
VFI IDs 4096 and 4097 are reserved identifiers used in MPLS PW. Note:
The theoretical maximum for the maximum number of VFI is 65535 but the actual number of VFI supported is a sizing constant. Based on this, the maximum number of VFI ID accepted in the management interface is restricted. For example, if 100 VFIs are supported, the maximum number of VFI supported will be restricted to maximum number of VLANs + 100. An error message is displayed for any value beyond this range. |
detail |
Enter to display detailed information about the router ports. | |
switch |
Enter to display the router ports for the specified context. | |
<switch_name> |
Enter a value representing unique name of the switch context. This value is a string of maximum size 32. This parameter is specific to multiple instance feature. | |
multicast-vlan |
Enter to display Multicast VLAN statistics for all VLANs or a specific VLAN for a given switch or for all switches (if switch is not specified). The optional switch name is not applicable for SI case. | |
switch |
Enter to display the switch name/context name. | |
<switch_name> |
Enter a value representing unique name of the switch context. This value is a string of maximum size 32. This parameter is specific to multiple instance feature. | |
port-cfg |
Enter to display IGS port configuration information for all inner VLANs or a specific inner VLAN ID or a given switch. | |
<interface> |
Enter to specify interface to be displayed. | |
<interface-type> |
Enter to specify interface type to be displayed. The interface can
be:
|
|
<interface-id> |
Enter to display a specified interface ID. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash for interface type other than i-lan. Only i-lan ID is provided, for interface type i-lan. | |
InnerVlanId |
Enter to specify the Inner VLAN identifier to be displayed. | |
<VlanId(1-4094)> |
Integer | Enter a value for the Inner VLAN identifier to be displayed. This value ranges from 1 to 4094. |
switch |
Enter to display the switch name/context name. | |
<switch_name> |
Enter a value representing unique name of the switch context. This value is a string of maximum size 32. This parameter is specific to multiple instance feature. | |
statistics |
Enter to display IGMP snooping statistics for all VLANs or a specific VLAN for a given switch or for all switches (if no switch is specified). | |
vlan <vlan-id/vfi-id> |
Integer | Enter to specify the IGMP snooping statistics for the
VLAN / VFI ID to be displayed. This value ranges from 1 to 65535.
|
switch |
Enter to display the switch name/context name. | |
<switch_name> |
Enter a value representing unique name of the switch context. This value is a string of maximum size 32. This parameter is specific to multiple instance feature. | |
vlan <vlan-id/vfi-id> |
Integer | Enter to specify IGMP snooping information for the VLAN
/ VFI ID to be displayed.This value ranges from 1 to 65535.
|
switch |
Enter to display the switch name/context name. | |
<switch_name> |
Enter a value representing unique name of the switch context. This value is a string of maximum size 32. This parameter is specific to multiple instance feature. |
Privileged EXEC Mode
iS5Comm# show ip igmp snooping blocked-router
Vlan Ports
---- -----
1 Gi0/1, Gi0/2, Gi0/3, Gi0/4
2 Gi0/6, Gi0/7, Gi0/8
iS5Comm# show ip igmp snooping globals
Snooping Configuration
-----------------------------
IGMP Snooping globally enabled
IGMP Snooping is operationally enabled
IGMP Snooping Enhanced mode is disabled
Transmit Query on Topology Change globally disabled
Multicast forwarding mode is MAC based
Proxy globally disabled
Proxy reporting globally enabled
Filter is disabled
Router port purge interval is 125 seconds
Port purge interval is 260 seconds
Report forward interval is 5 seconds
Group specific query interval is 2 seconds
Reports are forwarded on router ports
Group specific query retry count is 2
Multicast VLAN disabled
Leave config level is Vlan based
iS5Comm# show ip igmp snooping groups
IGMP Snooping Group information
-------------------------------
VLAN ID:2 Group Address: 227.1.1.1
Filter Mode: EXCLUDE
Exclude sources: None
V1/V2 Receiver Ports:
Gi0/4
V3 Receiver Ports:
Port Number: Gi0/2
Include sources: None
Exclude sources:
12.0.0.10, 12.0.0.20
Port Number: Gi0/3
Include sources: None
Exclude sources:
12.0.0.40, 12.0.0.30
iS5Comm# show ip igmp snooping mrouter
Vlan Ports
----- ------
1 Gi0/1(dynamic), Gi0/2(static)
2 Gi0/1(static), Gi0/2(dynamic)
iS5Comm# show ip igmp snooping multicast-receivers
Snooping Receiver Information
-----------------------------
VLAN ID: 1 Group Address: 225.0.0.10
Receiver Port: Gi0/2
Attached Hosts: 12.0.0.10
Exclude Sources: None
VLAN ID: 1 Group Address: 225.0.0.20
Receiver Port: Gi0/2
Attached Hosts: 12.0.0.20
Include Sources: 14.0.0.10
Receiver Port: Gi0/4
Attached Hosts: 12.0.0.40
Include Sources: 14.0.0.20
iS5Comm# show ip igmp snooping multicast-vlan
Multicast VLAN Statistics
=========================
-------------------------------
Multicast VLAN disabled
Profile ID -- Multicast VLAN
---------- -- --------------
1 -- 1
2 -- 2
-------------------------------
iS5Comm# show ip igmp snooping port-cfg
Snooping Port Configurations
----------------------------
Snooping Port Configuration for Port 2
Leave Process mode is Normal Leave
Rate limit on the interface is 100
Max limit Type is Groups
Max limit is 20
Current member count is 0
Profile Id is 0
Snooping Port Configuration for Port 3
Leave Process mode is Fast Leave
Rate limit on the interface is –1
Max limit Type is Channels
Max limit is 500
Current member count is 0
Profile Id is 0
iS5Comm# show ip igmp snooping statistics
IGMP Snooping Statistics for VLAN 1
IGMP Snooping General queries received : 3
IGMP Snooping Group specific queries received : 0
IGMP Snooping Group and source specific queries received : 0
IGMP Snooping V1/V2 reports received : 10
IGMP Snooping V3 reports received : 0
IGMP Snooping V3 IS_INCLUDE messages received : 0
IGMP Snooping V3 IS_EXCLUDE messages received : 0
IGMP Snooping V3 TO_INCLUDE messages received : 0
IGMP Snooping V3 TO_EXCLUDE messages received : 0
IGMP Snooping V3 ALLOW messages received : 0
IGMP Snooping V3 Block messages received : 0
IGMP Snooping V2 Leave messages received : 0
IGMP Snooping General queries transmitted : 0
IGMP Snooping Group specific queries transmitted : 2
IGMP Snooping V1/V2 reports transmitted : 0
IGMP Snooping V3 reports transmitted : 3
IGMP Snooping V2 leaves transmitted : 0
IGMP Snooping Packets dropped : 1
iS5Comm# show ip igmp snooping vlan 1
Snooping VLAN Configuration for the VLAN 1
IGMP Snooping enabled IGMP configured version is V3
Fast leave is disabled
Snooping switch is acting as Non-Querier
Query interval is 125 seconds
Port Purge Interval is 260 seconds
Max Response Code is 100, Time is 10 seconds
iS5Comm# show ip igmp snooping
If a switch is not configured as querier, it will neither send any query, nor will participate in querier election. Hence Elected querier IP is not shown for "Non-querier" switch. Examples of both will be shown with some text put in bold to highlight the differences.
This text below is from a switch which has been configured as a querier.
Snooping VLAN Configuration for the VLAN 1
IGMP Snooping enabled
IGMP configured version is V3
Fast leave is disabled
Snooping switch is configured as Querier
Snooping switch is acting as Querier
Elected Querier is 192.168.10.2
Startup Query Count is 2
Startup Query Interval is 31 seconds
Query interval is 125 seconds
Other Querier Present Interval is 255 seconds
Port Purge Interval is 260 seconds
Max Response Code is 100, Time is 10 seconds
This text below is from a switch which has been configured as a Non-querier.
Snooping VLAN Configuration for the VLAN 1
IGMP Snooping enabled
IGMP configured version is V3
Fast leave is disabled
Snooping switch is configured as Non-Querier
Snooping switch is acting as Non-Querier
Elected Querier is 0.0.0.0
Startup Query Count is 2
Startup Query Interval is 31 seconds
Query interval is 125 seconds
Other Querier Present Interval is 255 seconds
Port Purge Interval is 260 seconds
Max Response Code is 100, Time is 10 seconds