Hello
when using "show interface extensive" there is a difference in the value shown at "Traffic Statistics > Input Bytes" and "MAC Statistics > Total Octets (Receive)". Can some explain where this comes from?
This link is part of a LAG with LACP and EBGP. I'm not sure which value I should use for traffic accounting - and the difference between those two values is quite significant for us:
"Traffic Statistics > Input Bytes": 6597869222239
"MAC Statistics > Total Octets (Receive)": 6881577177559
root@router> show interfaces extensive xe-11/0/1
Physical interface: xe-11/0/1, Enabled, Physical link is Up
Interface index: 341, SNMP ifIndex: 628, Generation: 344
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps, BPDU Error: None, Loop Detect PDU Error: None, MAC-REWRITE Error: None, Loopback: None,
Source filtering: Disabled, Flow control: Disabled
Pad to minimum frame size: Disabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Schedulers : 0
Hold-times : Up 0 ms, Down 0 ms
Damping : half-life: 30 sec, max-suppress: 600 sec, reuse: 1000, suppress: 4000, state: unsuppressed
Current address: 00:21:59:01:51:c1, Hardware address: 00:21:59:01:51:11
Last flapped : 2019-05-07 15:54:04 CEST (15w2d 23:02 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 6597869222239 19240552 bps
Output bytes : 22184318864414 84493952 bps
Input packets: 14435205156 8909 pps
Output packets: 21400051428 11293 pps
IPv6 transit statistics:
Input bytes : 3470
Output bytes : 0
Input packets: 55
Output packets: 0
Dropped traffic statistics due to STP State:
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 21386551212 21386551212 0
1 0 0 0
2 0 0 0
3 22815438 22815438 0
Queue number: Mapped forwarding classes
0 best-effort
1 expedited-forwarding
2 assured-forwarding
3 network-control
Active alarms : None
Active defects : None
PCS statistics Seconds
Bit errors 0
Errored blocks 1
MAC statistics: Receive Transmit
Total octets 6881577177559 22584100805735
Total packets 14435204768 21409378595
Unicast packets 14425882148 21400050973