show ip igmp

Syntax

show ip igmp [vrf <VRF-NAME> | all-vrfs] [vsx-peer]

Description

Shows IGMP configuration information and status, or shows information by VRF.

Command context

Operator (>) or Manager (#)

Parameters

vrf <VRF-NAME> | all-vrfs

Optional. Used to show information by VRF. Specify the VRF by VRF name. With no <VRF-NAME> specified, the default VRF is implied. To show information for all VRFs, specify all-vrfs.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Showing IGMP configuration and status:

switch# show ip igmp

VRF Name  : default
Interface : vlan2
IGMP Configured Version    : 3
IGMP Operating Version     : 3
Querier State              : Querier
Querier IP [this switch]   : 20.1.1.1
Querier Uptime             : 1m 4s
Querier Expiration Time    : 0m 1s
IGMP Snoop Enabled on VLAN : True
Showing IGMP information for VRF test:
switch# show ip igmp vrf test

VRF Name  : test
Interface  : 1/1/2
IGMP Configured Version  : 3
IGMP Operating Version   : 2
Querier State            : Querier
Querier IP [this switch] : 100.1.1.1
Querier Uptime           : 2m 55s
Querier Expiration Time  : 0m 16s

Active Group Address   Vers Mode Uptime    Expires
---------------------- ---- ---- --------- ---------
240.100.3.194          3    INC  0m 30s    3m 50s


IGMP is not enabled on interface 1/1/3


VRF Name  : test
Interface  : vlan2
IGMP Configured Version    : 3
IGMP Operating Version     : 3
Querier State              : Querier
Querier IP [this switch]   : 20.1.1.1
Querier Uptime             : 1m 4s
Querier Expiration Time    : 0m 1s
IGMP Snoop Enabled on VLAN : True

Active Group Address   Vers Mode Uptime    Expires
---------------------- ---- ---- --------- ---------
238.224.153.165        2         0m 38s    3m 42s


VRF Name  : test
Interface  : vlan10
IGMP Configured Version    : 3
IGMP Operating Version     : 3
Querier State              : Querier
Querier IP [this switch]   : 10.1.1.1
Querier Uptime             : 1m 4s
Querier Expiration Time    : 0m 1s
IGMP Snoop Enabled on VLAN : True

Active Group Address   Vers Mode Uptime    Expires
---------------------- ---- ---- --------- ---------
239.209.3.194          3    INC  0m 38s    3m 42s

Showing IGMP information for all VRFs:

switch# show ip igmp all-vrfs

VRF Name  : test
Interface  : 1/1/2
IGMP Configured Version  : 3
IGMP Operating Version   : 2
Querier State            : Querier
Querier IP [this switch] : 100.1.1.1
Querier Uptime           : 2m 55s
Querier Expiration Time  : 0m 16s

Active Group Address   Vers Mode Uptime    Expires
---------------------- ---- ---- --------- ---------
240.100.3.194          3    INC  0m 30s    3m 50s

VRF Name  : test
Interface  : vlan2
IGMP Configured Version    : 3
IGMP Operating Version     : 3
Querier State              : Querier
Querier IP [this switch]   : 20.1.1.1
Querier Uptime             : 1m 4s
Querier Expiration Time    : 0m 1s
IGMP Snoop Enabled on VLAN : True

Active Group Address   Vers Mode Uptime    Expires
---------------------- ---- ---- --------- ---------
238.224.153.165        2         0m 38s    3m 42s

VRF Name  : default
Interface  : vlan5
IGMP Configured Version    : 3
IGMP Operating Version     : 2
Querier State              : Querier
Querier IP [this switch]   : 50.1.1.1
Querier Uptime             : 1m 1s
Querier Expiration Time    : 0m 4s
IGMP Snoop Enabled on VLAN : False

VRF Name  : test
Interface  : vlan10
IGMP Configured Version    : 3
IGMP Operating Version     : 3
Querier State              : Querier
Querier IP [this switch]   : 10.1.1.1
Querier Uptime             : 1m 4s
Querier Expiration Time    : 0m 1s
IGMP Snoop Enabled on VLAN : True

Active Group Address   Vers Mode Uptime    Expires
---------------------- ---- ---- --------- ---------
239.209.3.194          3    INC  0m 38s    3m 42s