Removing A Mac Acl; Reordering The Sequence Numbers In A Mac Acl - Brocade Communications Systems Converged Enhanced Ethernet 8000 Administrator's Manual

Converged enhanced ethernet
Hide thumbs Also See for Converged Enhanced Ethernet 8000:
Table of Contents

Advertisement

10
ACL configuration and management
NOTE
Using the permit and deny keywords, you can create many different rules. The examples in this
section provide the basic knowledge needed to modify MAC ACLs.
NOTE
This example assumes that test_02 contains an existing rule number 100 with the "deny any any"
options.
To modify a MAC ACL, perform the following steps from privileged EXEC mode.
1. Enter the configure terminal command to access global configuration mode.
2. Enter the mac command to specify the ACL called test_02 for modification.
3. Enter the no seq command to delete the existing rule 100.
4. Enter the seq command to re create rule number 100 by recreating it with new parameters.

Removing a MAC ACL

To remove a MAC ACL, perform the following steps from privileged EXEC mode.
1. Enter the configure terminal command to access global configuration mode.
2. Enter the mac command to specify and delete the ACL that you want to remove. In this

Reordering the sequence numbers in a MAC ACL

You can reorder the sequence numbers assigned to rules in a MAC ACL. Reordering the sequence
numbers is useful when you need to insert rules into an ACL and there are not enough available
sequence numbers.
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. The starting-sequence number and the
increment number must be in the range of 1 through 65535.
For example, in the task listed below the resequence command assigns a sequence number of
50 to the rule named test_02, then the second rule has a sequence number of 55 and the
third rule a has a sequence number of 60.
To reorder the rules in a MAC ACL, perform the following task from privileged EXEC mode.
Enter the resequence command to assign sequence numbers to the rules contained in the MAC
ACL.
104
DRAFT: BROCADE CONFIDENTIAL
switch(config)#mac access-list extended test_02
switch (config)#no seq 100
switch(conf-macl-ext)#seq 100 permit any any
example, the extended MAC ACL name is "test_02."
switch(config)#no mac access-list extended test_02
switch#resequence access-list mac test_02 50 5
Converged Enhanced Ethernet Administrator's Guide
53-1002163-02

Advertisement

Table of Contents
loading

Table of Contents