Removing A Mac Acl; Changing Sequence Numbers In 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

Configuring MAC ACLs
The following example shows how to change a MAC ACL:
switch# configure terminal
switch(config)# mac access-list acl-mac-01
switch(config-mac-acl)# 100 permit mac 00c0.4f00.00 0000.00ff.ffff any
switch(config-mac-acl)# statistics

Removing a MAC ACL

You can remove a MAC ACL from the switch.
Be sure that you know whether the ACL is applied to an interface. The switch allows you to remove ACLs
that are current applied. Removing an ACL does not affect the configuration of interfaces where you have
applied the ACL. Instead, the switch considers the removed ACL to be empty.
Procedure
Step 1
Step 2
Step 3
Step 4

Changing Sequence Numbers in a MAC ACL

You can change all the sequence numbers assigned to rules in a MAC ACL. Resequencing is useful when
you need to insert rules into an ACL and there are not enough available sequence numbers.
To change all the sequence numbers assigned to rules in a MAC ACL, perform this task:
Procedure
Step 1
Step 2
Step 3
OL-16597-01
Command or Action
switch# configure terminal
switch(config)# no mac access-list name
switch# show mac access-lists
switch# copy running-config
startup-config
Command or Action
switch# configure terminal
switch(config)# resequence mac
access-list name
starting-sequence-number increment
switch# show mac access-lists name
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Purpose
Enters configuration mode.
Removes the MAC ACL that you specify by name
from the running configuration.
(Optional)
Displays the MAC ACL configuration.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters configuration mode.
Assigns sequence numbers to the rules contained in the
ACL, where the first rule receives the number specified
by the starting-sequence number that you specify. Each
subsequent rule receives a number larger than the
preceding rule. The difference in numbers is determined
by the increment number that you specify.
(Optional)
Displays the MAC ACL configuration.
Removing a MAC ACL
289

Advertisement

Table of Contents
loading

Table of Contents