Removing A Mac Acl - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Chapter 20
Configuring ACLs
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 3
switch(config-mac-acl)# [sequence-number]
{permit|deny} source destination protocol
Step 4
switch(config-mac-acl)# no
{sequence-number | {permit|deny} source
destination protocol}
Step 5
switch(config-mac-acl)# [no] statistics
Step 6
switch(config-mac-acl)# show mac
access-lists name
Step 7
switch(config-mac-acl)# copy
running-config startup-config
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
switch(config-mac-acl)# show mac access-lists acl-mac-01
switch(config-mac-acl)# copy running-config startup-config

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.
OL-16597-01
Purpose
(Optional) 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.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring MAC ACLs
20-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents