Concept Guide

Table Of Contents
Configuring Port Monitoring
To configure port monitoring, use the following commands.
1. Verify that the intended monitoring port has no configuration other than no shutdown, as shown in the following example.
EXEC Privilege mode
show interface
2. Create a monitoring session using the command monitor session from CONFIGURATION mode, as shown in the following
example.
CONFIGURATION mode
monitor session
monitor session type rpm/erpm
type is an optional keyword, required only for rpm and erpm
3. Specify the source and destination port and direction of traffic, as shown in the following example.
MONITOR SESSION mode
source
To display information on currently configured port-monitoring sessions, use the show monitor session command from
EXEC Privilege mode.
DellEMC(conf)#monitor session 0
DellEMC(conf-mon-sess-0)#$source GigabitEthernet 1/1 dest GigabitEthernet 1/2 dir rx
DellEMC(conf-mon-sess-0)#show c
!
monitor session 0
source GigabitEthernet 1/1 destination GigabitEthernet 1/2 direction rx
DellEMC(conf-mon-sess-0)#
DellEMC(conf-mon-sess-0)#do show monitor session
SessID Source Destination Dir Mode Source IP Dest IP DSCP TTL Drop
Rate Gre-Protocol FcMonitor
------ ------ ------------ --- ---- --------- -------- ---- --- ----
---- ----------- ---------
0 Gi 1/1 Gi 1/2 rx Port 0.0.0.0 0.0.0.0 0 0 No
N/A N/A No
DellEMC(conf)#monitor session 0
DellEMC(conf-mon-sess-0)#source po 10 dest ten 1/2 dir rx
DellEMC(conf-mon-sess-0)#do show monitor session
SessID Source Destination Dir Mode Source IP Dest IP DSCP TTL Drop
Rate Gre-Protocol FcMonitor
------ ------ ----------- --- ---- --------- -------- ---- --- ----
---- ----------- ---------
0 Gi 1/1 Gi 1/2 rx Port 0.0.0.0 0.0.0.0 0 0 No
N/A N/A No
0 Po 10 Gi 1/2 rx Port 0.0.0.0 0.0.0.0 0 0 No
N/A N/A No
DellEMC(conf)#monitor session 1
DellEMC(conf-mon-sess-1)#source vl 40 dest ten 1/3 dir rx
DellEMC(conf-mon-sess-1)#flow-based enable
DellEMC(conf-mon-sess-1)#exit
DellEMC(conf)#do show monitor session
SessID Source Destination Dir Mode Source IP Dest IP DSCP TTL Drop
Rate Gre-Protocol FcMonitor
------ ------ ----------- --- ---- --------- -------- ---- --- ----
---- ----------- ---------
0 Gi 1/1 Gi 1/2 rx Port 0.0.0.0 0.0.0.0 0 0 No
N/A N/A No
0 Po 10 Gi 1/2 rx Port 0.0.0.0 0.0.0.0 0 0 No
N/A N/A No
1 Vl 40 Gi 1/3 rx Flow 0.0.0.0 0.0.0.0 0 0 No
N/A N/A No
Port Monitoring
615