Description

This article describes the issue of EX series switches not supporting the multicast counter displayed with the 'show multicast route' command.

Symptoms

Multicast traffic can be checked, with an M series or T series router, by using the ' show multicast route ' command. However, EX switches are not displaying the multicast traffic counter properly.


Solution

This is a hardware limitation of EX (Packet Forwarding Engine) PFE. The command 'show multicast route' cannot be used to check the BPs or PPS info.

Topology:

----Test Traffic---->
Tester_A<-->EX4200<-->Tester_B
  • Tester_A is generating multicast traffic, souce 10.10.10.2, group 11.10.10.10.
  • Tester_B  is receiving the traffic.

Based on the above topology, multicast traffic is entering ge-0/0/3 and is exiting from ge-0/0/0. But the Statistics counter in 'show multicast route' command does not work:

{master:0}
lab@mayn> show multicast route active source-prefix 10.10.10.2 group 11.10.10.10 extensive
Family: INET

Group: 11.10.10.10
Source: 10.10.10.2/32
Upstream interface: ge-0/0/3.0
Downstream interface list:
ge-0/0/0.0
Session description: MALLOC
Statistics: 0 kBps, 0 pps, 4 packets
Next-hop ID: 131070
Upstream protocol: PIM
Route state: Active
Forwarding state: Forwarding
Cache lifetime/timeout: 360 seconds
Wrong incoming interface notifications: 0

{master:0}
lab@mayn> show multicast route extensive
Family: INET

Group: 11.10.10.10
Source: 10.10.10.2/32
Upstream interface: ge-0/0/3.0
Downstream interface list:
ge-0/0/0.0
Session description: MALLOC
Statistics: 0 kBps, 0 pps, 4 packets
Next-hop ID: 131070
Upstream protocol: PIM
Route state: Active
Forwarding state: Forwarding
Cache lifetime/timeout: 354 seconds
Wrong incoming interface notifications: 0

Family: INET6

Here is the interface counter, while the traffic is added to an EX4200 as described above:
{master:0}
lab@mayn> show interfaces ge-0/0/3 extensive
Physical interface: ge-0/0/3, Enabled, Physical link is Up
~snip~
Traffic statistics:
Input bytes : 1607041194 76820304 bps
Output bytes : 1608 0 bps
Input packets: 24349110 145492 pps
Output packets: 23 0 pps
Input errors:
Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, FIFO errors: 0,
Resource errors: 0
Output errors:
Carrier transitions: 1, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0, FIFO errors: 0, HS link CRC errors: 0, MTU errors: 0, Resource errors: 0
Egress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 best-effort 0 1 0
1 assured-forw 0 0 0
5 expedited-fo 0 0 0
7 network-cont 0 22 0
Active alarms : None
Active defects : None
MAC statistics: Receive Transmit
Total octets 1607041194 1608
Total packets 24349110 23
Unicast packets 0 0
Broadcast packets 0 1
Multicast packets 24349110 22
~snip~

{master:0}
lab@mayn> show interfaces ge-0/0/0 extensive
Physical interface: ge-0/0/0, Enabled, Physical link is Up
~snip~
Traffic statistics:
Input bytes : 0 0 bps
Output bytes : 1491161716 76732128 bps
Input packets: 0 0 pps
Output packets: 22593359 145326 pps
IPv6 transit statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Input errors:
Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, FIFO errors: 0,
Resource errors: 0
Output errors:
Carrier transitions: 1, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0, FIFO errors: 0, HS link CRC errors: 0, MTU errors: 0, Resource errors: 0
Egress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 best-effort 0 22718061 0
1 assured-forw 0 0 0
5 expedited-fo 0 0 0
7 network-cont 0 23 0
Active alarms : None
Active defects : None
MAC statistics: Receive Transmit
Total octets 0 1491161716
Total packets 0 22593359
Unicast packets 0 0
Broadcast packets 0 1
Multicast packets 0 22593358
~snip~


From PFE, it seems that we can see the number of multicast packets:

PFEM0(vty)# set shim route count rtt-index 0 prefix 10.10.10.2/32 grp-prefix 11.10.10.10

PFEM0(vty)# show shim route count rtt-index 0
- <10.10.10.2,11.10.10.10>

DEV:0,
InUcNnRtEx/ InMcNnRtEx/ InUcTrMi/
Set InUc InMc InUcNnRtNnEx InMcNnRtNnEx InMcTrMi McRpfFail OutUcRted
--- ---------- ---------- ------------ ------------ ---------- ---------- ----------
3 0 2271381 0 0 0 0 0
0 2271381 0

DEV:1,
InUcNnRtEx/ InMcNnRtEx/ InUcTrMi/
Set InUc InMc InUcNnRtNnEx InMcNnRtNnEx InMcTrMi McRpfFail OutUcRted
--- ---------- ---------- ------------ ------------ ---------- ---------- ----------
3 0 2271588 0 0 0 0 0
0 0 0



Legend :

InUc/InMc  Incoming Unicast/Multicast Packet Counter
InUcNnRtEx  Incoming Unicast Non-Routed Exception Packet Counter
InUcNnRtNnEx  Incoming Unicast Non-Routed Non-Exception Packet Counter
InMcNnRtEx  Incoming Multicast Non-Routed Exception Packet Counter
InMcNnRtNnEx Incoming Multicast Non-Routed Non-Exception Packet Counter
InUcTrMi Incoming Unicast Trapped/Mirrored Packet Counter
InMcTrMi Incoming Multicast Trapped/Mirrored Packet Counter
McRpfFail Multicast RPF Fail Packet Counter
OutUcRted Outgoing Unicast Packet Counter