Administrator Guide

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
Example of Viewing Port Monitoring Configuration
To display information on currently configured port-monitoring sessions, use the show monitor
session
command from EXEC Privilege mode.
Dell(conf)#monitor session 0
Dell(conf-mon-sess-0)#$source ten 0/0 dest ten 0/1 dir rx
Dell(conf-mon-sess-0)#show c
!
monitor session 0
source TenGigabitEthernet 0/0 destination TenGigabitEthernet 0/1 direction rx
Dell(conf-mon-sess-0)#
Dell(conf-mon-sess-0)#do show monitor session
SessID Source Destination Dir Mode Source IP Dest IP
------ ------ ------------ --- ---- --------- --------
0 Te 0/0 Te 0/1 rx Port N/A N/A
Dell(conf)#monitor session 0
Dell(conf-mon-sess-0)#source po 10 dest ten 0/1 dir rx
Dell(conf-mon-sess-0)#do show monitor session
SessID Source Destination Dir Mode Source IP Dest IP
------ ------ ----------- --- ---- --------- --------
0 Te 0/0 Te 0/1 rx Port N/A N/A
0 Po 10 Te 0/1 rx Port N/A N/A
Dell(conf)#monitor session 1
Dell(conf-mon-sess-1)#source vl 40 dest ten 0/2 dir rx
Dell(conf-mon-sess-1)#flow-based enable
Dell(conf-mon-sess-1)#exit
Dell(conf)#do show monitor session
SessID Source Destination Dir Mode Source IP Dest IP
------ ------ ----------- --- ---- --------- --------
0 Te 0/0 Te 0/1 rx Port N/A N/A
0 Po 10 Te 0/1 rx Port N/A N/A
1 Vl 40 Te 0/2 rx Flow N/A N/A
602
Port Monitoring