clear monitor-session counters
To clear the traffic mirroring session statistics, use the clear monitor-session counters command in EXEC mode.
clear monitor-session counters [session-name] [interface type interface-path-id]
Syntax Description
interface |
Identifies the interface for which the counters are to be cleared. |
||
type |
Interface type. For more information, use the question mark (? ) online help function. |
||
interface-path-id |
Physical interface or virtual interface.
For more information about the syntax for the router, use the question mark (? ) online help function. |
||
session-name |
Name of the monitor session to clear. |
Command Default
All stored statistics for all interfaces are cleared.
Command Modes
EXEC
Command History
Release |
Modification |
---|---|
Release 6.1.1 |
This command was introduced. |
Usage Guidelines
No specific guidelines impact the use of this command.
Task ID
Task ID |
Operations |
---|---|
interface |
read |
Examples
This example shows how to clear the traffic mirroring statistic counters:
XR EXEC mode
clear monitor-session mon1 counters