show igmp statistics
Syntax
show igmp statistics <brief | detail> <interface interface-name> <logical-system (all | logical-system-name)>
Syntax (ACX Series)
show igmp statistics <brief | detail> <interface interface-name> <logical-system (all | logical-system-name)>
Syntax (EX Series and QFX Series)
show igmp statistics <brief | detail> <interface interface-name>
Description
Display Internet Group Management Protocol (IGMP) statistics.
By default, Junos OS multicast devices collect statistics of received and transmitted IGMP control messages that reflect currently active multicast group subscribers.
MX series devices also automatically maintain continuous IGMP statistics globally on the device in addition to the default active subscriber statistics—these are persistent, continuous statistics of received and transmitted IGMP control packets that account for both past and current multicast group subscriptions processed on the device.
With continuous statistics, you can see the total count of IGMP control
packets the device processed since the last device reboot or clear igmp statistics
continuous
command only for MX series
devices. The device collects and displays continuous statistics only for the
fields shown in the IGMP packet statistics
output section of this command, and
does not display the IGMP Global statistics
section.
Devices that support continuous statistics maintain this information in a shared database and copy it to the backup Routing Engine at a configurable interval to avoid too much processing overhead on the Routing Engine. These actions preserve statistics counts across the following events or operations (which doesn’t happen for the default active subscriber statistics):
-
Routing daemon restart
-
Graceful Routing Engine switchover (GRES)
-
In-service software upgrade (ISSU)
-
Line card reboot
You can change the default interval (300 seconds) using the cont-stats-collection-interval
configuration statement at the [edit
routing-options multicast]
hierarchy level.
You can display either the default currently active subscriber statistics or continuous
subscriber statistics (if supported), but not both at the same time. Include the
continuous
option to display continuous statistics, otherwise the command
displays the statistics only for active subscribers.
Run the clear igmp statistics
command to clear the currently active
subscriber statistics. On devices that support continuous statistics, run the clear command with
the continuous
option to clear all continuous statistics. You must run these
commands separately to clear both types of statistics because the device maintains and clears
the two types of statistics separately.
Options
none |
Display IGMP statistics for all interfaces. These statistics represent currently active subscribers. |
brief | detail |
(Optional) Display the specified level of output. |
continuous |
(Optional) Display continuous IGMP statistics that account for both past and current
multicast group subscribers instead of the default statistics that only reflect currently
active subscribers. This option is not available with the |
interface interface-name |
(Optional) Display IGMP statistics about the specified interface only. This option is not
available with the |
logical-system (all | logical-system-name) |
(Optional) Perform this operation on all logical systems or on a particular logical system. |
Required Privilege Level
view
Output Fields
Table 1 describes the output
fields for the show igmp statistics
command. Output fields are listed in the
approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Heading for IGMP packet statistics for all interfaces or for the specified interface name. Note:
Shows currently active subscriber statistics in this section by default, or when the
command includes the |
|
Summary of IGMP statistics:
|
|
Number of messages received. |
|
Number of messages sent. |
|
Number of received packets that contained errors. |
|
Maximum number of IGMP packets received during 1 second interval. |
|
Summary of IGMP statistics for all interfaces. Note:
These statistics are not supported or displayed with the
|
Sample Output
show igmp statistics
user@host> show igmp statistics IGMP packet statistics for all interfaces IGMP Message type Received Sent Rx errors Membership Query 8883 459 0 V1 Membership Query 3333 159 0 V2 Membership Query 2500 100 0 V3 Membership Query 3050 200 0 V1 Membership Report 0 0 0 DVMRP 0 0 0 PIM V1 0 0 0 Cisco Trace 0 0 0 V2 Membership Report 0 0 0 Group Leave 0 0 0 Mtrace Response 0 0 0 Mtrace Request 0 0 0 Domain Wide Report 0 0 0 V3 Membership Report 0 0 0 Other Unknown types 0 IGMP v3 unsupported type 0 IGMP v3 source required for SSM 0 IGMP v3 mode not applicable for SSM 0 IGMP Global Statistics Bad Length 0 Bad Checksum 0 Bad Receive If 0 Rx non-local 1227 Timed out 0 Rejected Report 0 Total Interfaces 2 Max Rx rate (pps) 1536
show igmp statistics interface
user@host> show igmp statistics interface fe-1/0/1.0 IGMP interface packet statistics for fe-1/0/1.0 IGMP Message type Received Sent Rx errors Membership Query 0 230 0 V1 Membership Report 0 0 0
show igmp statistics continuous
user@host> show igmp statistics continuous IGMP packet statistics for all interfaces IGMP Message type Received Sent Rx errors Membership Query 0 9 0 V1 Membership Report 3 0 0 DVMRP 0 0 0 PIM V1 0 0 0 Cisco Trace 0 0 0 V2 Membership Report 3 0 0 Group Leave 0 0 0 Mtrace Response 0 0 0 Mtrace Request 0 0 0 Domain Wide Report 0 0 0 V3 Membership Report 3 0 0 Other Unknown types 0 IGMP v3 unsupported type 0 IGMP v3 source required for SSM 0 IGMP v3 mode not applicable for SSM 0
show igmp statistics (User Plane output for ACX7100)
Displays the following output in the user-plane for customer premise equipment (CPE).
user@up1> show igmp statistics IGMP packet statistics for all interfaces IGMP Message type Received Sent Rx errors Membership Query 0 2 0 V1 Membership Report 0 0 0 DVMRP 0 0 0 PIM V1 0 0 0 Cisco Trace 0 0 0 V2 Membership Report 0 0 0 Group Leave 0 0 0 Mtrace Response 0 0 0 Mtrace Request 0 0 0 Domain Wide Report 0 0 0 V3 Membership Report 2 0 0 Other Unknown types 0 IGMP v3 unsupported type 0 IGMP v3 source required for SSM 0 IGMP v3 mode not applicable for SSM 0 IGMP Global Statistics Bad Length 2 Bad Checksum 0 Bad Receive If 4878 Rx non-local 6 Timed out 6 Rejected Report 0 Total Interfaces 2 Max Rx rate (pps) 58
Release Information
Command introduced before Junos OS Release 7.4.
continuous
option added in Junos OS Release 19.4R1 for MX Series routers.
Command updated in Junos OS Release 24.4R1 to include multicast support monitoring for ACX7100 routers.