Reference Guide
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 rspan-source
OS10(conf-mon-rspan-source-5)# no shut
Supported Releases 10.2.0E or later
source (Port Monitoring)
Congures a source for port monitoring. The monitoring session can be one of the following: local, RPM.
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 identier as the monitored source (1 to 4094).
• both — Monitor both receiving and transmitting packets. This option is not available for VLAN.
• rx — Monitor only received packets.
• tx — Monitor only transmitted packets. This option is not available for VLAN.
Default Not congured
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
OS10(conf-mon-rspan-source-5)# source interface ethernet 1/1/10 tx
Supported Releases 10.2.0E or later
Layer 2 221