Reference Guide

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 one of the following: 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.
Example
OS10(config)# monitor session 1
OS10(conf-mon-local-1)# no shut
OS10(config)# monitor session 5 type rpm-source
OS10(conf-mon-rpm-source-5)# no shut
OS10(config)# monitor session 10 type erpm-source
OS10(conf-mon-erpm-source-10)# no shut
Supported Releases 10.2.0E or later
source (Port Monitoring)
Congures a source for port monitoring. The monitoring session can be one of the following: local, RPM, or ERPM.
Syntax
source interface interface-type {both | rx | tx}
Parameters
interface-type — Enter the interface type:
ethernet node/slot/port[:subport] — Enter the Ethernet interface information as the
monitored source.
port-channel id-number — Enter the port-channel interface number as the monitored source (1 to
128). This option is not supported in S5148F–ON .
vlan vlan-id —Enter the VLAN identier as the monitored source (1 to 4093).
both — Monitor both receiving and transmitting packets. This option is not supported in S5148F–ON and not
supported on VLAN interfaces for other platforms.
rx — Monitor only received packets.
tx — Monitor only transmitted packets. This option is not supported in S5148F–ON and not supported on
VLAN interfaces for other platforms.
Default Not congured
Layer 2 265