Feature Explorer AI AI

×

Subscribe now to get the Latest Updates

Watch a 2-minute overview video

Computation of the Layer 2 overhead attribute in interface statistics

More Information:

Computation of the Layer 2 overhead attribute in interface statistics

On MX Series routers, you can configure the physical interface and logical interface statistics to include the Layer 2 overhead size (header and trailer bytes) for both ingress and egress interfaces. Both the transit and total statistical information are computed and displayed for each logical interface. This functionality is supported on 1-Gigabit and 10-Gigabit Ethernet interfaces on Dense Port Concentrators (DPCs) and Modular Port Concentrators (MPCs). You can enable the Layer 2 overhead bytes for computation in the logical interface statistics by configuring the account-layer2-overhead (value | <ingress bytes | egress bytes>) statement at the [edit interface interface-name unit logical-unit-number] hierarchy level. If you configure this capability, all the Layer 2 header details (L2 header and cyclic redundancy check [CRC]) based on the Layer 2 encapsulation configured for an interface are calculated and displayed in the physical and logical interface statistics for ingress and egress interfaces in the output of the show interfaces interface-name commands. For physical and logical interfaces, the Input bytes and Output bytes fields under the Traffic statistics section in the output of the show interfaces interface-name <detail | extensive> command include the Layer 2 overhead of the packets. For physical and logical interfaces, the Input Rate and Output Rate fields under the Traffic statistics section in the output of the show interfaces interface-name <media | statistics> command include the Layer 2 overhead of the packets. For logical interfaces, the values for the newly added Egress accounting overhead and Ingress accounting overhead fields display the Layer 2 overhead size for transmitted and received packets respectively.
Product / Application Software Introduced Release
MX5 Junos OS 12.3R2
MX10 Junos OS 12.3R2
MX40 Junos OS 12.3R2
MX80 Junos OS 12.3R2
MX104 Junos OS 13.2R2
MX204 Junos OS 17.4R1
MX240 Junos OS 12.3R2
MX301 Junos OS 25.4R1
MX304 Junos OS 22.2R3
MX480 Junos OS 12.3R2
MX960 Junos OS 12.3R2
MX10003 Junos OS 17.3R1
MX10004 Junos OS 22.3R1
MX10008 Junos OS 18.2R1
MX10016 Junos OS 19.2R1
PTX3000 Junos OS 15.1R1
PTX5000 Junos OS 15.1R1