Changing A Mac Acl - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Changing a MAC ACL

The following example shows how to create a MAC ACL and add rules to it:
switch# configure terminal
switch(config)# mac access-list acl-mac-01
switch(config-mac-acl)# permit 00c0.4f00.0000 0000.00ff.ffff any
switch(config-mac-acl)# statistics
Changing a MAC ACL
In an existing MAC ACL, you can add and remove rules. You cannot change existing rules. Instead, to change
a rule, you can remove it and recreate it with the desired changes.
If you need to add more rules between existing rules than the current sequence numbering allows, you can
use the resequence command to reassign sequence numbers.
To change a MAC ACL, perform this task:
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
288
Command or Action
switch# configure terminal
switch(config)# mac access-list name
switch(config-mac-acl)#
[sequence-number] {permit | deny}
source destination protocol
switch(config-mac-acl)# no
{sequence-number | {permit|deny}
source destination protocol}
switch(config-mac-acl)# [no] statistics
switch# show mac access-lists name
switch# copy running-config
startup-config
Purpose
Enters configuration mode.
Enters ACL configuration mode for the ACL that you
specify by name.
Creates a rule in the MAC ACL. Using a sequence
number allows you to specify a position for the rule in
the ACL. Without a sequence number, the rule is added
to the end of the rules.
The permit and deny commands support many ways of
identifying traffic.
(Optional)
Removes the rule that you specify from the MAC ACL.
The permit and deny commands support many ways of
identifying traffic.
(Optional)
Specifies that the switch maintains global statistics for
packets matching the rules in the ACL.
The no option stops the switch from maintaining global
statistics for the ACL.
(Optional)
Displays the MAC ACL configuration.
(Optional)
Copies the running configuration to the startup
configuration.
Configuring MAC ACLs
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents