8. Traffic
Monitoring
MN700004 Rev 01
70
Table 8-1 Default Traffic Monitoring Configuration
P a r a m e t e r D e f a u l t
V a l u e
Monitor
Session
Disabled
Configuring and Displaying Monitor Session
Table 8-2 lists the monitor session commands.
Table 8-2 Monitor Session Commands
C o m m a n d D e s c r i p t i o n
monitor session
Enables a port monitor session.
show monitor
session
Displays the monitor session configuration.
Setting Monitor Session
The
monitor session
command, in Global Configuration mode, starts a new traffic
monitoring session. Use the
no
form of this command to remove the monitor session or to
remove the source VLANs.
To add or delete VLANs to or from an existing traffic monitoring session you need to disable
the monitor session definitions and to create new monitor session.
Command Syntax
device-name
(config)#
monitor session
{
rx
|
tx
}
destination interface
UU
/
SS
/
PP
device-name
(config)#
monitor session
{
rx
|
tx
}
source
{
vlan
VLAN-LIST
|
interface
PORT-LIST
}
device-name
(config)#
no monitor session
{
rx
|
tx
}
Argument Description
rx
Sets the session to monitor ingress traffic.
tx
Sets the session to monitor egress traffic.
interface
UU/SS/PP
The destination interface for a monitor session.
vlan VLAN-LIST
List of source VLAN IDs. Use commas as separators and hyphens to indicate
sub-ranges (e.g. 5-10,100). The VLAN IDs are in the range <1-4094>.
interface PORT-
LIST
List of source interfaces. Use commas as separators and hyphens to indicate
sub-ranges (e.g. 1/1/1-1/1/5, 1/1/20).