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

Description

Only the named interface is reset. Ze translates the name to
its kernel device first, so a name bound to hardware by a selector clears the right port.

Arguments

NameTypeRequiredValuesSummaryDescription
namestringyesany value of this typeInterface nameThe interface whose counters are reset. The answer names it as the scope cleared, where the form without a name reports all.

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