Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Verifying the Accounting of Layer 2 Overhead in Interface Statistics

    Purpose

    Display information about the Layer 2 overhead bytes that are counted in interface statistics for egress and ingress traffic on Ethernet interfaces.

    Action

    • To display information about the Layer 2 overhead bytes that are counted in interface statistics:

      Note: For physical and logical interfaces, the values displayed for the Input rate and Output rate fields under the Traffic statistics section include the Layer 2 overhead of the packets.

      user@host> show interfaces ge-5/2/0 statistics detail
      Physical interface: ge-5/2/0, Enabled, Physical link is Up
        Interface index: 146, SNMP ifIndex: 519, Generation: 149
        Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled,
        Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online
        Device flags   : Present Running
        Interface flags: SNMP-Traps Internal: 0x4000
        Link flags     : None
        CoS queues     : 8 supported, 8 maximum usable queues
        Hold-times     : Up 0 ms, Down 0 ms
        Current address: 00:1d:b5:61:d9:74, Hardware address: 00:1d:b5:61:d9:74
        Last flapped   : 2009-11-11 11:24:00 PST (09:23:08 ago)
        Statistics last cleared: 2009-11-11 17:50:58 PST (02:56:10 ago)
        Traffic statistics:
         Input  bytes  :               271524                    0 bps
         Output bytes  :             37769598                  352 bps
         Input  packets:                 3664                    0 pps
         Output packets:               885790                    0 pps
         IPv6 transit statistics:
          Input  bytes  :                   0 
          Output bytes  :            16681118
          Input  packets:                   0
          Output packets:              362633
         Multicast statistics:
          IPV4 multicast statistics:
           Input  bytes  :               112048                    0 bps
           Output bytes  :             20779920                    0 bps
           Input  packets:                 1801                    0 pps
           Output packets:               519498                    0 pps
          IPV6 multicast statistics:
           Input  bytes  :               156500                    0 bps
           Output bytes  :             16681118                    0 bps
           Input  packets:                 1818                    0 pps
           Output packets:               362633                    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: 0, 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               882558               882558                    0
          1 expedited-fo                   0                    0                    0
          2 assured-forw                   0                    0                    0
          3 network-cont                3232                 3232                    0
        Active alarms  : None
        Active defects : None
      
        Logical interface ge-5/2/0.0 (Index 71) (SNMP ifIndex 573) (Generation 135)
          Flags: SNMP-Traps 0x4000 Encapsulation: ENET2
          Egress accounting overhead: 100
          Ingress accounting overhead: 90
          Traffic statistics:
           Input  bytes  :               271524
           Output bytes  :             37769598
           Input  packets:                 3664
           Output packets:               885790
           IPv6 transit statistics:
            Input  bytes  :                   0 
            Output bytes  :            16681118
            Input  packets:                   0
            Output packets:              362633
          Local statistics:
           Input  bytes  :               271524
           Output bytes  :               308560
           Input  packets:                 3664
           Output packets:                 3659
          Transit statistics:
           Input  bytes  :                    0                    0 bps
           Output bytes  :             37461038                    0 bps
           Input  packets:                    0                    0 pps
           Output packets:               882131                    0 pps
           IPv6 transit statistics:
            Input  bytes  :                   0 
            Output bytes  :            16681118
            Input  packets:                   0
            Output packets:              362633
          Multicast statistics:
           IPV4 multicast statistics:
            Input  bytes  :               112048                    0 bps
            Output bytes  :             20779920                    0 bps
            Input  packets:                 1801                    0 pps
            Output packets:               519498                    0 pps
           IPV6 multicast statistics:
            Input  bytes  :               156500                    0 bps
            Output bytes  :             16681118                    0 bps
            Input  packets:                 1818                    0 pps
            Output packets:               362633                    0 pps
          Protocol inet, MTU: 1500, Generation: 151, Route table: 0
            Addresses, Flags: Is-Preferred Is-Primary
              Destination: 40.40.40.0/30, Local: 40.40.40.2, Broadcast: 40.40.40.3, Generation: 167
          Protocol inet6, MTU: 1500, Generation: 152, Route table: 0
            Addresses, Flags: Is-Preferred Is-Primary
              Destination: ::40.40.40.0/126, Local: ::40.40.40.2
          Generation: 169
            Addresses, Flags: Is-Preferred
              Destination: fe80::/64, Local: fe80::21d:b5ff:fe61:d974
          Protocol multiservice, MTU: Unlimited, Generation: 171
          Generation: 153, Route table: 0
            Policer: Input: __default_arp_policer__
       
      

    For more information about the show interfaces statistics command, see show interfaces statistics in the Junos OS Operational Mode Commands.

    Published: 2013-07-24