Reference Guide

monitor session
Creates a session for monitoring trac with port monitoring.
Syntax
monitor session session-id type [local | rspan-source]
Parameters
session-id — Enter a monitor session ID (1 to 18).
local — (Optional) Enter a local monitoring session.
rspan-source — (Optional) Enter a remote monitoring session.
Default local
Command Mode CONFIGURATION
Usage Information The no version of this command removes the monitor session.
Example
OS10(config)# monitor session 1
OS10(conf-mon-local-1)#
Example (RPM)
OS10(config)# monitor session 5 type rspan-source
OS10(conf-mon-rspan-source-5)#
Supported Releases 10.2.0E or later
show monitor session
Displays information about a monitoring session.
Syntax
show monitor session {session-id | all}
Parameters
session-id — Enter the session ID number (1 to 18).
all — View all monitoring sessions.
Default All
Command Mode EXEC
Usage Information In the State eld, true indicates that the port is enabled. In the Reason eld, Is UP indicates that hardware
resources are allocated .
Example
OS10# show monitor session all
S.Id Source Destination Dir SrcIP DstIP DSCP TTL State Reason
----------------------------------------------------------------------
1 ethernet1/1/6 port-channel10 rx N/A N/A N/A N/A true Is UP
Supported Releases 10.2.0E or later
shut
Disables the monitoring session. The monitoring session can be one of the following: local, RPM.
Syntax
shut
Parameters None
220 Layer 2