API Guide

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
Configures a source for port monitoring. The monitoring session can be: local, RPM, or ERPM.
Syntax
source interface interface-type {both | rx | tx}
Parameters
interface-typeEnter the interface type:
ethernet node/slot/port[:subport]Enter the Ethernet interface information as the
monitored source.
port-channel id-numberEnter the port-channel interface number as the monitored
source, from 1 to 128.
vlan vlan-idEnter the VLAN identifier as the monitored source, from 1 to 4093.
bothMonitor both receiving and transmitting packets. This option is not supported on VLAN
interfaces.
rxMonitor only received packets.
txMonitor only transmitted packets. This option is not supported on VLAN interfaces.
Default Not configured
Command Mode MONITOR-SESSION
Usage
Information
Example
OS10(config)# monitor session 1
OS10(conf-mon-local-1)# source interface ethernet 1/1/7 rx
OS10(config)# monitor session 5 type rpm-source
OS10(conf-mon-rpm-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
Configures 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-addressEnter the source IP address.
destination ip-addressEnter the destination IP address.
protocol-valueEnter the GRE protocol value, from 1 to 65535, default: 35006.
Layer 2 527