Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


multicast-statistics (packet-forwarding-options)


Hierarchy Level


Counts packets and checks the bandwidth of IPv4 and IPv6 multicast traffic received from a host and group in a routing instance by using firewall filters.

With multicast-statistics enabled, route statistics are updated by a firewall counter for the next 512 multicast routes. Statistics are attached and collected on a first-come, first-served basis. To count the packets and bandwidth, the switch uses ingress filters to match on the source IP, destination IP and VRF ID fields. These filters reside in an ingress filter processor (IFP) group that contains a list of routes and their corresponding filter IDs.

When using this command, consider the following:

  • You cannot configure filters for reserved multicast addresses.

  • The multicast statistic group is the group with the least priority. If there’s a rule conflict in another group, the action for the group with the higher priority takes effect.

  • Each route takes up one entry in the IFP ternary content-addressable memory (TCAM). If no TCAM space is available, the filter installation fails.

  • If you delete this command, any installed firewall rules for multicast statistics are deleted. If you delete a route, the corresponding filter entry is also deleted. When you delete the last entry, the group is automatically removed.

To check the rate and bandwidth per route, enter the show multicast route extensive command. To see how many filters are on the switch, enter the VTY command show filter hw groups. To clear the route counters, enter the clear multicast statistics command.

Required Privilege Level

routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 19.2R1.