Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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-03-14