Setup Guide
EXEC Privilege mode
show run monitor session
DellEMC#show run monitor session
!
monitor multicast-queue 7
DellEMC#
Enabling Flow-Based Monitoring
Flow-based monitoring conserves bandwidth by monitoring only specied trac instead of all trac on the interface. This feature is
particularly useful when looking for malicious trac. It is available for Layer 3 ingress trac. You can specify trac using standard or
extended access-lists.
NOTE: Flow-based monitoring is supported for known unicast egress trac.
1 Create a monitoring session.
CONFIGURATION mode
monitor session session-id
2 Enable ow-based monitoring for a monitoring session.
MONITOR SESSION mode
flow-based enable
3 Specify the source and destination port and direction of trac.
MONITOR SESSION mode
source source—port destination destination-port direction rx
4 Dene IP access-list rules that include the monitor keyword. For port monitoring, Dell EMC Networking OS only considers trac
matching rules with the monitor keyword.
CONFIGURATION mode
ip access-list
To dene 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
Example of the flow-based enable command with ACL applied on the interface
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
610
Port Monitoring