clear interfaces statistics (SDK)

Syntax

clear interfaces statistics (all | interface-name)

Release Information

For routers running JUNOS SDK applications, support for rms interfaces added in JUNOS Release 9.5.

Description

Clear interface statistics. When the show interfaces statistics command is next issued, the output will show the packets received since the last time the clear interfaces statistics command was issued. However, after a graceful Routing Engine switchover (GRES), issuing the show interfaces statistics command will show cumulative statistics.

Options

all

Clear statistics on all interfaces.

interface-name

Clear statistics on the named interface.

Required Privilege Level

clear

List of Sample Output

Output Fields

There is no output for this command.

Sample Output

user@host> clear interfaces statistics rms0