F Commands
filter access-group
186
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
filter access-group
To apply an access group to an Encapsulated Remote Switched Port Analyzer (ERSPAN) source session,
use the filter access-group command. To remove an access group, use the no form of this command.
filter access-group acl_filter
no filter access-group acl_filter
Syntax Description
Defaults None
Command Modes config-monitor-erspan-src
Supported User Roles network-admin
VDC-admin
Command History
Usage Guidelines Only the permit to deny actions are allowed for Encapsulated Remote Switched Port Analyzer
(ERSPAN) access control list (ACL) filters.
For information about ACL-related commands, see the Cisco Nexus 7000 Series NX-OS Security
Command Reference.
This command does not require a license.
Examples This example shows how to apply an access group to an ERSPAN session:
switch# configure terminal
switch(config)# monitor session 3 type erspan-source
switch(config-monitor-erspan-src)# filter vlan 3-5, 7
switch(config-monitor-erspan-src)# filter access-group ACL1
This example shows how to disassociate an access group to an ERSPAN session:
switch# configure terminal
switch(config)# monitor session 3 type erspan-source
switch(config-monitor-erspan-src)# filter vlan 3-5, 7
switch(config-monitor-erspan-src)# no filter access-group ACL1
acl_filter Access control list (ACL) name. An ACL associates the access list with the
SPAN session.
Release Modification
5.1(1) This command was introduced.