Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Clear Fast Ethernet or Gigabit Ethernet Interface Statistics

Purpose

You must reset the Fast Ethernet and Gigabit Ethernet interface statistics before initiating the ping test. Resetting the statistics provides a clean start so that previous input/output errors and packet statistics do not interfere with the current diagnostics.

Action

To clear all statistics for the interface, use the following Junos OS CLI operational mode command:

user@host> clear interfaces statistics (fe-fpc/pic/port | ge-fpc/pic/port)

Sample Output

user@host> clear interfaces statistics ge-7/2/0
user@host>

Meaning

This command clears the interface statistics counters for the Gigabit Ethernet interface only.

Published: 2012-12-10

Supported Platforms

Published: 2012-12-10