Command map

clear interface name counters

Zero the Rx/Tx counters for one interface.

Ze command

Registry path
clear interface name counters
Usage
clear interface name <name> counters
Mode
Daemon
Wire method
ze-clear:interface-counters
Backends
any backend
Task support
optional: the MCP call is synchronous, which is the default
Subcommands
none: this command takes no subcommand
Pipes, always
json, ndjson, table, text, yaml, raw, no-more, save
Pipes, when the answer has rows
match, count, first, last, display, fill
Pipes, while streaming
log
Pipes, local process only
save

Arguments

NameTypeRequiredValues
namestringyesany value of this type

Mapping intents

Clear interface counters

Category: Interfaces

Juniper Junos MX

No equivalent is listed for this vendor yet.

Cisco IOS XR

No equivalent is listed for this vendor yet.

Nokia SR OS

No equivalent is listed for this vendor yet.

VyOS

Clear interface counters

clear interfaces ethernet <name> counters verified source: Command Line Interface