S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-81
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
filter access-group
filter access-group
To configure the SPAN source sessions so that ingress (RX) traffic is filtered by using ACLS, use the
filter access-group
command.
filter access-group
acl-name
Syntax Description
Defaults
None.
Command Modes
Monitor configuration mode.
Command History
Usage Guidelines
This command filters only ingress traffic for SPAN and ERSPAN source ports based on an IP access-list,
not an access-map.
Examples
This example shows how to filter ingress traffic at a SPAN source port:
switch#
configure terminal
switch(config)#
monitor session 2
switch(config-monitor)#
filter access-group acl1
switch(config-monitor)#
source interface ethernet 1/16
This example shows how to configure a port channel SPAN source with ACL filtering:
switch#
configure terminal
switch(config)#
monitor session 2
switch(config-monitor)#
filter access-group acl1
switch(config-monitor)#
source interface port-channel 1 rx
This example shows how to configure a VLAN SPAN source with ACL filtering:
switch#
configure terminal
switch(config)#
monitor session 2
switch(config-monitor)#
filter access-group acl1
switch(config-monitor)#
source vlan 1
Related Commands
acl-name
Name of the Access Control List.
Release
Modification
6.0(2)U2(1)
This command was introduced.
Command
Description
show monitor session
Displays SPAN session configuration information.