Reference Guide

Command Mode MONITOR-SESSION
Usage Information The no version of this command resets the value to the default.
Example
OS10(conf-mon-local-1)# flow-based enable
Supported Releases 10.2.0E or later
monitor session
Creates a session for monitoring trac with port monitoring.
Syntax
monitor session session-id [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 Not congured
Command Mode CONFIGURATION
Usage Information The no version of this command removes the monitor session.
Example
OS10(config)# monitor session 10
OS10(conf-mon-local-10)#
Example (RSPAN)
OS10(config)# monitor session 20 type rspan-source
OS10(conf-mon-rspan-20)#
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
Layer 2 191