Do traffic statistics on an interface contain the IFG and preamble

0

By default, traffic statistics on an interface contain the interframe gap (IFG) and preamble. You can run the undo set flow-statistics include-interframe command to configure the device not to count the bytes in the IFG and preamble when collecting traffic statistics on an interface.

You can run the display interface command to view the running status and traffic statistics on an interface. The Last 300 seconds input rate or Last 300 seconds output rate field in the command output indicates the inbound or outbound traffic rate on the interface in the last 300 seconds.

If you want to obtain the total number of bytes passing through an interface in a period, configure the device to count the bytes in the IFG and preamble when collecting traffic statistics on the interface. The interface traffic rate is as follows:

Interface traffic rate = (Original packet length + IFG + Preamble) x Number of packets passing through the interface every second

If you want to obtain only the number of packet bytes passing through an interface in a period, configure the device not to count the bytes in the IFG and preamble when collecting traffic statistics on the interface. The interface traffic rate is as follows:

Interface traffic rate = Original packet length x Number of packets passing through the interface every second

By default, the IFG has a fixed value of 12 bytes and the preamble has a fixed value of 8 bytes or 20 bytes. You can run the ifg command to configure the IFG.

Other related questions:
How do I view and clear traffic statistics on an interface

To view traffic statistics on an interface, run the display interface [ interface-type [ interface-number [.subnumber] ] ] command in any view, or run the display this interface command in the interface view.

To clear the traffic statistics on an interface, run the reset counters interface [ interface-type [ interface-number ] command in the user view.


Does netstream support to collect multiple interfaces traffic in the same time?
At present, the AR device only supports to do traffic statistics on the main interface.

Do CE12800 series switches support traffic statistics collection on sub-interfaces
In V200R001C00 and later versions, CE12800 series switches support traffic statistics collection on Layer 3 sub-interfaces.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top