API Guide

Example (RPM)
OS10(config)# monitor session 5 type rpm-source
OS10(conf-mon-rpm-source-5)#
Example (ERPM)
OS10(config)# monitor session 10 type erpm-source
OS10(conf-mon-erpm-source-10)#
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-idEnter the session ID number, from 1 to 18.
allView all monitoring sessions.
Default All
Command Mode EXEC
Usage
Information
In the State field, true indicates that the port is enabled. In the Reason field, Is UP indicates that hardware resources are allocated .
Example
(specific
session)
OS10# show monitor session 1
S.Id Source Destination Dir Mode Source IP Dest IP DSCP TTL Gre-Protocol State Reason
------------------------------------------------------------------------------------------------------
1 ethernet1/1/1 remote-ip both port 11.11.11.1 11.11.11.11 0 255 35006 true Is UP
Example (all
sessions)
OS10# show monitor session all
S.Id Source Destination Dir Mode Source IP Dest IP DSCP TTL Gre-Protocol State Reason
------------------------------------------------------------------------------------------------------------
1 ethernet1/1/1 remote-ip both port 11.11.11.1 11.11.11.11 0 255 35006 true Is UP
9 ethernet1/1/9 both port N/A N/A N/A N/A N/A
7 ethernet1/1/9 vlan40 both port N/A N/A N/A N/A N/A
4 ethernet1/1/1 both port N/A N/A 0 255 35006 false
Destination is not resolved
6 ethernet1/1/2 remote-ip both port 11.11.11.1 2.2.2.1 0 255 35006 false Base
session does not exist
Supported
Releases
10.2.0E or later
shut
Disables the monitoring session. The monitoring session can be: local, RPM, or ERPM.
Syntax
shut
Parameters None
Default Disabled
Command Mode MONITOR-SESSION
Usage
Information
The no version of this command enables the monitoring session.
526 Layer 2