API Guide

Table Of Contents
The maximum number of source ports that can be defined in a session is 128.
Make sure that the destination IP address is reachable via the configured IP route (static or dynamic)
The system MTU should be configured properly to accommodate the increased size of the ERPM mirrored packet.
The system encapsulates the complete ingress or egress data under GRE header, IP header and outer MAC header
and sends it out at the next hop interface as pointed by the routing table.
The source IP address can be any port's ip address defined in the box but it should be unique and should not be
assigned to any other system in the network.
You must specify the keyword monitor in the ACL rules used on a source interface (as shown in one of the examples
following the configuration procedure).
ERPM sessions do not copy locally sourced remote-VLAN traffic from source trunk ports that carry RPM VLANs.
ERPM sessions do not copy locally sourced ERPM GRE-encapsulated traffic from source ports.
A flow-based source VLAN can be monitored only for ingress traffic (not egress traffic).
You can configure the port extender as source either as a physical interface or as a VLAN, whose memebers are PEX
ports or as VP lAGg.
To configure an ERPM session:
Table 74. Configuring ERMP Sessions
Step Command Description
1
configure terminal
Enter global configuration mode.
2
monitor session id type erpm
Specify a session ID and ERPM as the type of
monitoring session, and enter Monitoring-Session
configuration mode. The session number needs to be
unique and not already defined.
3
source {interface | range } direction
{rx | tx | both}
Specify the source port or range of ports. Specify the
ingress (rx), egress (tx), or both ingress and egress
traffic to be monitored. You can enter mulitple source
statements in an ERPM monitoring session.
4
erpm source-ip-address dest-ip-address
gre-protocol <value>
Specify the source IP address, destination IP address,
and the gre–protocol type value to which encapsulated
mirrored traffic is sent.
5
flow-based enable
Specify ERPM to be performed on a flow-by-flow basis
or if you configure a VLAN source interface. Enter no
flow-based disable to disable flow-based ERPM.
6
no disable
Enter the no disable command to activate the
ERPM session.
The following example shows a sample ERPM configuration.
Dell(conf)#monitor session 0 type erpm
Dell(conf-mon-sess-0)#source tengigabitethernet 0/9 direction rx
Dell(conf-mon-sess-0)#source port-channel 1 direction tx
Dell(conf-mon-sess-0)#erpm source-ip 1.1.1.1 dest-ip 7.1.1.2 gre-protocol 111
Dell(conf-mon-sess-0)#no disable
Dell(conf)#monitor session 1 type erpm
Dell(conf-mon-sess-1)#source vlan 11 direction rx
Dell(conf-mon-sess-1)#erpm source-ip 5.1.1.1 dest-ip 3.1.1.2 gre-protocol 139
Dell(conf-mon-sess-1)#flow-based enable
Dell(conf-mon-sess-1)#no disable
Dell# show monitor session
SessID Source Destination Dir Mode Source IP Dest IP DSCP TTL Drop Rate Gre-Protocol
FcMonitor Status
------ ------ ----------- --- ---- --------- -------- ---- --- ---- ---- ------------
--------- ------
0 Te 0/9 remote-ip rx Port 1.1.1.1 7.1.1.2 0 255 No 100
111 No Enabled
Port Monitoring
717