Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

clear interfaces statistics

Syntax

clear interfaces statistics (all | interface-name)

Release Information

Command introduced before Junos OS Release 7.4.

Description

Set interface statistics to zero. If you issue the clear interfaces statistics interface-name command and then perform a graceful Routing Engine switchover, the interface statistics are not cleared on the new master. Reissue the command to clear the interface statistics again.

Options

all

Set statistics on all interfaces to zero.

interface-name

Set statistics on a particular interface to zero.

Required Privilege Level

clear

List of Sample Output

clear interfaces statistics

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear interfaces statistics

user@host> clear interfaces statistics

Published: 2013-11-21

Published: 2013-11-21