Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[QFX] Statistics for logical child links in aggregated interface on QFX10K

0

0

Article ID: KB35570 KB Last Updated: 18 Mar 2020Version: 1.0
Summary:

This article explains how to obtain statistics for the logical child links of an aggregated interface.

Symptoms:

By default, users cannot see the statistics for the logical child links of an aggregated interface. Statistics output on one direction or duplicated stats may be seen.

Topology:

QFX10K -- ae0 -- QFX5K

Configuration:

{master:0}[edit]
root@switch# show interfaces ae0
unit 0 {
    family ethernet-switching {
        vlan {
            members v100;
        }
    }
}
 
{master:0}[edit]
root@switch# show interfaces irb
unit 100 {
    family inet {
        address 1.1.1.100/24;
    }
}

AE0 interface details:

{master:0}[edit]
root@switch# run show interfaces terse | match ae0
et-0/0/30.0             up    up   aenet    --> ae0.0
et-0/0/31.0             up    up   aenet    --> ae0.0
ae0                     up    up
ae0.0                   up    up   eth-switch

Verification using ICMP packet:

{master:0}[edit]
root@switch# run ping 1.1.1.100 rapid count 1000
PING 1.1.1.100 (1.1.1.100): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 1.1.1.100 ping statistics ---
1000 packets transmitted, 1000 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.492/2.214/61.505/3.239 ms

Packets are seen only on output direction in et-0/0/30:

{master:0}[edit]
root@switch# ...show interfaces ae0 extensive | no-more
Physical interface: ae0, Enabled, Physical link is Up
  Interface index: 149, SNMP ifIndex: 528, Generation: 156
  Link-level type: Ethernet, MTU: 1514, Speed: 80Gbps, BPDU Error: None,
  Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled,
  Source filtering: Disabled, Flow control: Disabled, Minimum links needed: 1,
  Minimum bandwidth needed: 1bps
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Current address: 28:a2:4b:8b:45:29, Hardware address: 28:a2:4b:8b:45:29
  Last flapped   : 2020-03-11 05:06:28 UTC (00:01:42 ago)
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :               102472                    0 bps
   Output bytes  :              1725648                    0 bps
   Input  packets:                 1005                    0 pps
   Output packets:                 6061                    0 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, Giants: 0,
    Policed discards: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 2, Errors: 0, Drops: 0, MTU errors: 0,
    Resource errors: 0
  Egress queues: 8 supported, 4 in use
  Queue counters:       Queued packets  Transmitted packets      Dropped packets
    0                             1005                 1005                    0
    3                                0                    0                    0
    4                                0                    0                    0
    7                             5056                 5056                    0
  Queue number:         Mapped forwarding classes
    0                   best-effort
    3                   fcoe
    4                   no-loss
    7                   network-control
 
  Logical interface ae0.0 (Index 553) (SNMP ifIndex 550) (Generation 157)
    Flags: Up SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge
    Statistics        Packets        pps         Bytes          bps
    Bundle:
        Input :          1005        109        102472        89624
        Output:          2019        110        207722        90032
    Adaptive Statistics:
        Adaptive Adjusts:          0
        Adaptive Scans  :          0
        Adaptive Updates:          0
    Link:
      et-0/0/30.0
        Input :             0          0             0            0
        Output:          1020          0        108018            0
      et-0/0/31.0
        Input :             0          0             0            0
        Output:            14          0          5518            0
 
 
    Aggregate member links: 2
 
    Marker Statistics:   Marker Rx     Resp Tx   Unknown Rx   Illegal Rx
      et-0/0/30.0                0           0            0            0
      et-0/0/31.0                0           0            0            0
    Protocol eth-switch, MTU: 1514, Generation: 165, Route table: 6,
    Mesh Group: __all_ces__, Next-hop: 1710, vpls-status: up
      Flags: Is-Primary
Cause:

 
Solution:

Use the 'fpc-ifl-ae-statistics' knob to populate the statistics correctly. In this example, statistics populated correctly in both input and output direction.

{master:0}[edit]
root@switch# show chassis
aggregated-devices {
    ethernet {
        device-count 3;
    }
}
fpc 0 {
    pic 0 {
        port 0 {
            channel-speed 10g;
        }
    }
}
fpc-ifl-ae-statistics;

The correct input/output statistics are seen in the child interface(et-0/0/30) of the ae0:

{master:0}[edit]
root@switch# ...show interfaces ae0 extensive | no-more
Physical interface: ae0, Enabled, Physical link is Up
  Interface index: 149, SNMP ifIndex: 528, Generation: 156
  Link-level type: Ethernet, MTU: 1514, Speed: 80Gbps, BPDU Error: None,
  Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled,
  Source filtering: Disabled, Flow control: Disabled, Minimum links needed: 1,
  Minimum bandwidth needed: 1bps
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Current address: 28:a2:4b:8b:45:29, Hardware address: 28:a2:4b:8b:45:29
  Last flapped   : 2020-03-11 05:06:28 UTC (00:12:50 ago)
  Statistics last cleared: 2020-03-11 05:19:06 UTC (00:00:12 ago)
  Traffic statistics:
   Input  bytes  :               102000                    0 bps
   Output bytes  :               102346                    0 bps
   Input  packets:                 1000                    0 pps
   Output packets:                 1001                    0 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, Giants: 0,
    Policed discards: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0,
   Resource errors: 0
  Egress queues: 8 supported, 4 in use
  Queue counters:       Queued packets  Transmitted packets      Dropped packets
    0                             1000                 1000                    0
    3                                0                    0                    0
    4                                0                    0                    0
    7                                1                    1                    0
  Queue number:         Mapped forwarding classes
    0                   best-effort
    3                   fcoe
    4                   no-loss
    7                   network-control
 
  Logical interface ae0.0 (Index 553) (SNMP ifIndex 550) (Generation 157)
    Flags: Up SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge
    Statistics        Packets        pps         Bytes          bps
    Bundle:
        Input :          1000        274        102000       224528
        Output:          2001        276        204346       225344
    Adaptive Statistics:
        Adaptive Adjusts:          0
        Adaptive Scans  :          0
        Adaptive Updates:          0
    Link:
      et-0/0/30.0
        Input :          1000        137        102000       112264
        Output:          2002        138        204758       112672
      et-0/0/31.0
        Input :             0          0             0            0
        Output:             0          0             0            0
 
 
    Aggregate member links: 2
 
    Marker Statistics:   Marker Rx     Resp Tx   Unknown Rx   Illegal Rx
      et-0/0/30.0                0           0            0            0
      et-0/0/31.0                0           0            0            0
    Protocol eth-switch, MTU: 1514, Generation: 165, Route table: 6,
    Mesh Group: __all_ces__, Next-hop: 1710, vpls-status: up
      Flags: Is-Primary
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search