Reference Guide

Example
OS10(config)# monitor session 1
OS10(conf-mon-local-1)# no shut
OS10(config)# monitor session 5 type rspan-source
OS10(conf-mon-rspan-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).
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 VLAN.
rx — Monitor only received packets.
tx — Monitor only transmitted packets. This option is not supported in VLAN.
Default Not congured
Command Mode MONITOR-SESSION
Usage Information None
Example
OS10(config)# monitor session 1
OS10(conf-mon-local-1)# source interface ethernet 1/1/7 rx
OS10(config)# monitor session 5 type rspan-source
OS10(conf-mon-rspan-source-5)# source interface ethernet 1/1/10 rx
OS10(config)# monitor session 10 type erpm-source
OS10(conf-mon-erpm-source-10)# source interface ethernet 1/1/5 rx
Supported Releases 10.2.0E or later
source-ip
Congures the source, destination, and protocol type of the monitored port for an ERPM monitoring session.
Syntax
source-ip source ip-address destination-ip destination ip-address [gre-protocol
protocol-value]
Parameters
source ip-address — Enter the source IP address.
destination ip-address — Enter the destination IP address.
protocol-value — Enter the GRE protocol value (1 to 65535, default: 35006).
Layer 2 255