monitor-session
To define a traffic mirroring session and enter monitor session configuration mode, use the
monitor-session
command in global configuration mode. To remove the traffic mirroring session, use the
no
form of this
command.
monitor-session session-name
no monitor-session session-name
Syntax Description
Name of the monitor session to configure.
session-name
Command Default
No default behavior or values
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Release 3.9.1
Usage Guidelines
Before you can assign a monitor session to a specific interface, you must configure it using the
monitor-session
command. The
session-name
should not be the same as any interface name.
In monitor session configuration mode, you should define the destination interface to be used in the traffic
mirroring session using the
destination
command.
For more information about monitoring a session, see
Configuring Traffic Monitoring
chapter in
Cisco ASR
9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide
.
Examples
This example shows how to enter monitor session configuration mode:
RP/0/RSP0/CPU0:router(config)#
monitor-session mon1
RP/0/RSP0/CPU0:router(config-mon)#
Related Commands
Description
Command
Associates a destination interface with a traffic mirroring
session.
destination interface, on page 1078
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
1083
Traffic Mirroring Commands on the Cisco ASR 9000 Series Router
monitor-session