Users Guide

monitor session session-id
2. Enable flow-based monitoring for a monitoring session.
MONITOR SESSION mode
flow-based enable
3. Specify the source and destination port and direction of traffic.
MONITOR SESSION mode
source sourceport destination destination-port direction rx
4. Define IP access-list rules that include the monitor keyword. For port monitoring, Dell EMC Networking OS only considers
traffic matching rules with the monitor keyword.
CONFIGURATION mode
ip access-list
To define access lists, see the Access Control Lists (ACLs) chapter.
5. Allocate a CAM region so that you can apply the ACL you created to the monitoring session.
CONFIGURATION mode
cam-acl l2acl number ipv4acl number ipv6acl number ipv4qos number l2qos number l2pt
number ipmacacl number vman-qos number ipv4mirracl number
6. Apply the ACL to the monitored port.
MONITOR SESSION mode
ip access-group access-list-name
To view an access-list that you applied to an interface, use the show ip accounting access-list command from EXEC
Privilege mode.
DellEMC(conf)#monitor session 0
DellEMC(conf-mon-sess-0)#flow-based enable
DellEMC(conf)#ip access-list ext testflow
DellEMC(config-ext-nacl)#seq 5 permit icmp any any count bytes monitor
DellEMC(config-ext-nacl)#seq 10 permit ip 102.1.1.0/24 any count bytes monitor
DellEMC(config-ext-nacl)#seq 15 deny udp any any count bytes
DellEMC(config-ext-nacl)#seq 20 deny tcp any any count bytes
DellEMC(config-ext-nacl)#exit
DellEMC(conf)#interface twentyFiveGigE 1/1
DellEMC(conf-if-tf-1/1/1)#ip access-group testflow in
DellEMC(conf-if-tf-1/1/1)#show config
!
interface twentyFiveGigE 1/1
ip address 10.11.1.254/24
ip access-group testflow in
shutdown
DellEMC(conf-if-tf-1/1)#exit
DellEMC(conf)#do show ip accounting access-list testflow
!
Extended Ingress IP access list testflow on twentyFiveGigE 1/1
Total cam count 4
seq 5 permit icmp any any 40 monitor 40 count bytes (0 packets 0 bytes)
seq 10 permit ip 102.1.1.0/24 any monitor 40 count bytes (0 packets 0 bytes)
seq 15 deny udp any any count bytes (0 packets 0 bytes)
seq 20 deny tcp any any count bytes (0 packets 0 bytes)
DellEMC(conf)#do show monitor session 0
SessionID Source Destination Direction Mode Source IP Dest IP DSCP TTL
Drop Rate Gre-Protocol FcMonitor
--------- ------ ----------- --------- ---- --------- -------- ---- ---
---- ---- ----------- ---------
0 Tf 1/1 Tf 1/2 rx interface 0.0.0.0 0.0.0.0 0 0
No N/A N/A yes
The following is sample configuration for flow-based mirroring with ACLs applied to monitor sessions.
monitor session 16383 type erpm
ip access-group acl3
source Port-channel 10 direction rx
erpm source-ip 20.20.20.1 dest-ip 8.1.1.2 gre-protocol 65535
flow-based enable
654
Port Monitoring