To configure an ERPM session:Table 68. Configuration steps for ERPMStep Command Purpose1 configure terminal Enter global configuration mode.2 monitor session type erpm Specify a session ID and ERPM as the type ofmonitoring session, and enter the Monitoring-Sessionconfiguration mode. The session number needs to beunique and not already defined.3 source { interface | range } direction{rx | tx | both}Specify the source port or range of ports. Specify theingress (rx), egress (tx), or both ingress and egresstraffic to be monitored. You can enter multiple sourcestatements in an ERPM monitoring session4 erpm source-ip dest-ip gre-protocol Specify the source IP address, destination IP address,and GRE-protocol type value to which encapsulatedmirrored traffic is sent.5 no flow-based enable ERPM to be performed on a flow-by-flow basis or if youconfigure a VLAN source interface. Enter the noflow-based command to disable flow-based ERPM.6 no disable Enter the no disable command to enable the ERPMsession.The following example shows an ERPM configuration:Dell(conf)#monitor session 0 type erpmDell(conf-mon-sess-0)#source tengigabitethernet 1/9 direction rxDell(conf-mon-sess-0)#source port-channel 1 direction txDell(conf-mon-sess-0)#erpm source-ip 1.1.1.1 dest-ip 7.1.1.2 gre-protocol 111Dell(conf-mon-sess-0)#no disableDell(conf)#monitor session 1 type erpmDell(conf-mon-sess-1)#source vlan 11 direction rxDell(conf-mon-sess-1)#erpm source-ip 5.1.1.1 dest-ip 3.1.1.2 gre-protocol 139Dell(conf-mon-sess-1)#flow-based enableDell(conf-mon-sess-1)#no disableDell# show monitor sessionSessID Source Destination Dir Mode Source IP Dest IP DSCP TTL Drop Rate Gre-ProtocolFcMonitor Status------ ------ ----------- --- ---- --------- -------- ---- --- ---- ---- --------------------- -------0 Te 1/9 remote-ip rx Port 1.1.1.1 7.1.1.2 0 255 No 100 111No Enabled0 Po 1 remote-ip tx Port 1.1.1.1 7.1.1.2 0 255 No 100 111No Enabled1 Vl 11 remote-ip rx Flow 5.1.1.1 3.1.1.2 0 255 No 100 139No EnabledThe next example shows the configuration of an ERPM session in which VLAN 11 is monitored as the source interface and a MAC ACLfilters the monitored ingress traffic.Dell(conf)#mac access-list standard flowDell(config-std-macl)#seq 5 permit 00:00:0a:00:00:0b count monitorDell#show running-config interface vlan 11!706 Port Monitoring