show mld statistics
Syntax
show mld statistics <interface interface-name> <logical-system (all | logical-system-name)>
Syntax (MX Series)
show mld statistics (<continuous> | <interface interface-name>) <logical-system (all | logical-system-name)>
Syntax (ACX Series)
show mld statistics <interface interface-name> <logical-system (all | logical-system-name)>
Description
Display information about Multicast Listener Discovery (MLD) statistics.
By default, Junos OS multicast devices collect statistics of received and transmitted MLD control messages that reflect currently active multicast group subscribers.
MX series devices also automatically maintain continuous MLD statistics globally on the device in addition to the default active subscriber statistics—these are persistent, continuous statistics of received and transmitted MLD 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 MLD control
packets the MX series
device processed since the last device reboot or clear mld statistics
continuous
command. The device collects and displays continuous statistics only for
the fields shown in the MLD packet statistics...
output section of this
command, and does not display the MLD Global statistics
section.
MX series 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 currently active subscribers.
Run the clear mld 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 MLD statistics for all interfaces. These statistics represent currently active subscribers. |
continuous |
(Optional) Display continuous MLD 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 statistics about the specified interface. 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 mld statistics
command. Output fields are listed in the
approximate order in which they appear.
Field Name |
Field Description |
---|---|
MLD Packet Statistics... |
Heading for MLD 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 |
Received |
Number of received packets. |
Sent |
Number of transmitted packets. |
Rx errors |
Number of received packets that contained errors. |
MLD Message type |
Summary of MLD statistics.
|
MLD Global Statistics |
Summary of MLD statistics for all interfaces. Note:
These statistics are not supported or displayed with the
|
Sample Output
show mld statistics
user@host> show mld statistics MLD packet statistics for all interfaces MLD Message type Received Sent Rx errors Listener Query (v1/v2) 0 2 0 Listener Report (v1) 0 0 0 Listener Done (v1/v2) 0 0 0 Listener Report (v2) 0 0 0 Other Unknown types 0 MLD v2 source required for SSM 2 MLD v2 mode not applicable for SSM 0 MLD Global Statistics Bad Length 0 Bad Checksum 0 Bad Receive If 0 Rx non-local 0 Timed out 0 Rejected Report 0 Total Interfaces 2
show mld statistics interface
user@host> show mld statistics interface fe-1/0/1.0 MLD interface packet statistics for fe-1/0/1.0 MLD Message type Received Sent Rx errors Listener Query (v1/v2) 0 2 0 Listener Report (v1) 0 0 0 Listener Done (v1/v2) 0 0 0 Listener Report (v2) 0 0 0 Other Unknown types 0 MLD v2 source required for SSM 2 MLD v2 mode not applicable for SSM 0 MLD Global Statistics Bad Length 0 Bad Checksum 0 Bad Receive If 0 Rx non-local 0 Timed out 0 Rejected Report 0 Total Interfaces 2
show mld statistics continuous
user@host> show mld statistics continuous MLD packet statistics for all interfaces MLD Message type Received Sent Rx errors Listener Query (v1/v2) 0 3 0 Listener Report (v1) 1 0 0 Listener Done (v1/v2) 1 0 0 Listener Report (v2) 1 0 0 Other Unknown types 0 MLD v2 unsupported type 0 MLD v2 source required for SSM 0 MLD v2 mode not applicable for SSM 0
show mld statistics (User Plane output for ACX7100)
Displays the following output in the user-plane for customer premise equipment (CPE).
user@up1> show mld statistics MLD packet statistics for all interfaces MLD Message type Received Sent Rx errors Listener Query (v1/v2) 0 3 0 Listener Report (v1) 0 0 0 Listener Done (v1/v2) 0 0 0 Listener Report (v2) 7 0 0 Other Unknown types 0 MLD v2 unsupported type 0 MLD v2 source required for SSM 0 MLD v2 mode not applicable for SSM 0 MLD Global Statistics Bad Length 1 Bad Checksum 0 Bad Receive If 26 Rx non-local 0 Timed out 4 Rejected Report 0 Max Rx rate (pps) 4 Total Interfaces 2
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 router interfaces.