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-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, from 1 to 128.
○ vlan vlan-id—Enter the VLAN identifier as the monitored source, from 1 to 4093.
● both—Monitor both receiving and transmitting packets. This option is not supported on VLAN
interfaces.
● rx—Monitor only received packets.
● tx—Monitor 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-address—Enter the source IP address.
● destination ip-address—Enter the destination IP address.
● protocol-value—Enter the GRE protocol value, from 1 to 65535, default: 35006.
Layer 2 527