How do I view and clear traffic statistics on an interface

0


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.

Other related questions:
How to view traffic policy statistics
You can run the display traffic policy statistics command to view statistics on the interface where a traffic policy has been applied, or run the display current-configuration command to view all configurations.

How to view brief information about the interface status and traffic statistics
You can run the display interface brief command to view brief information about the status and configuration of an interface. display interface brief PHY: Physical *down: administratively down #down: LBDT down (l): loopback (s): spoofing (E): E-Trunk down (b): BFD down (e): ETHOAM down (dl): DLDP down (lb): LBDT block InUti/OutUti: input utility/output utility Interface PHY Protocol InUti OutUti inErrors outErrors Eth-Trunk2 down down 0% 0% 0 0 GigabitEthernet0/0/1 up up 0.01% 0% 0 0 GigabitEthernet0/0/2 down down 0% 0% 0 0 GigabitEthernet0/0/3 down down 0% 0% 0 0 GigabitEthernet0/0/4 down down 0.03% 0.05% 0 0 GigabitEthernet0/0/5 down down 32% 25% 0 0 GigabitEthernet0/0/6 down down 0% 0% 0 0 GigabitEthernet0/0/7 down down 0% 0% 0 0 GigabitEthernet0/0/8 down down 0% 0% 0 0 GigabitEthernet0/0/9 down down 0% 0% 0 0 GigabitEthernet0/0/10 down down 0.08% 0.02% 0 0 GigabitEthernet0/0/11 down down 0% 0% 0 0 GigabitEthernet0/0/12 down down 0% 0% 0 0 GigabitEthernet0/0/13 down down 0% 0% 0 0 GigabitEthernet0/0/14 down down 0% 0% 0 0 GigabitEthernet0/0/15 down down 0% 0% 0 0 GigabitEthernet0/0/16 down down 0% 0% 0 0 GigabitEthernet0/0/17 down down 0% 0% 0 0 GigabitEthernet0/0/18 down down 0% 0% 0 0 GigabitEthernet0/0/19 down down 0% 0% 0 0 GigabitEthernet0/0/20 down down 0% 0% 0 0 GigabitEthernet0/0/21 down down 0% 0% 0 0 GigabitEthernet0/0/22 down down 0% 0% 0 0 GigabitEthernet0/0/23 down down 0% 0% 0 0 NULL0 up up(s) 0% 0% 0 0 The InUti field in the command output indicates the average bandwidth usage of incoming packets on an interface in the last 300 seconds. The OutUti field in the command output indicates the average bandwidth usage of outgoing packets on an interface in the last 300 seconds. Inbound traffic on an interface = Interface rate x Average inbound bandwidth usage. Outbound traffic on an interface = Interface rate x Average outbound bandwidth usage. For example, the inbound traffic of GigabitEthernet0/0/5 is 320 Mbit/s (1000 Mbit/s x 32% = 320 Mbit/s) and the outbound traffic is 250 Mbit/s (1000 Mbit/s x 25% = 250 Mbit/s).

Do traffic statistics on an interface contain the IFG and preamble
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.

How do I view network statistical data for participants on the SMC2.0?
1. View network statistical data for participants in active conferences. Log in to the SMC2.0 web interface and choose Conferences > Scheduled Conference > Participants. 2. View network statistical data for participants in historical conferences. Log in to the SMC2.0 web interface and choose Conferences > Conference History > Participants.

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