show ip igmp statistics

Syntax

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

Description

Shows IGMP statistics, including groups joined, or shows statistics 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. Specify all-vrfs to show information for 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 statistics:

switch# show ip igmp statistics
IGMP statistics

VRF Name       : default

Number of Include Groups       :   1
Number of Exclude Groups       :   0
Number of Static Groups        :   0
Total Multicast Groups Joined  :   1

Showing IGMP statistics for all VRFs:

switch# show ip igmp statistics all-vrfs
IGMP statistics

VRF Name       : test

Number of Include Groups       :   2
Number of Exclude Groups       :   0
Number of Static Groups        :   0
Total Multicast Groups Joined  :   2

VRF Name       : default

Number of Include Groups       :   1
Number of Exclude Groups       :   0
Number of Static Groups        :   0
Total Multicast Groups Joined  :   1
Showing IGMP statistics for VRF test:
switch# show ip igmp statistics vrf test
IGMP statistics

VRF Name       : test

Number of Include Groups       :   2
Number of Exclude Groups       :   0
Number of Static Groups        :   0
Total Multicast Groups Joined  :   2