Creating An Extended Mac Acl And Adding Rules; Modifying Mac Acl Rules - Dell 53-1002116-01 Administrator's Manual

Dell network card user manual
Table of Contents

Advertisement

3. Enter the deny command to create a rule in the MAC ACL to drop traffic with the source MAC
4. Enter the permit command to create a rule in the MAC ACL to permit traffic with the source
5. Use the seq command to create MAC ACL rules in a specific sequence.

Creating an extended MAC ACL and adding rules

NOTE
You can use the resequence command to change all the sequence numbers assigned to the rules
in a MAC ACL. For detailed information, see
page 90.
The MAC ACL name length is limited to 64 characters.
To create an extended MAC ACL and add rules, perform the following steps from Privileged EXEC
mode.
1. Enter the configure terminal command to access global configuration mode.
2. Create an extended MAC ACL and enter ACL configuration mode.
3. Create a rule in the MAC ACL to permit traffic with the source MAC address and the destination
4. Use the seq command to insert the rule anywhere in the MAC ACL.
5. Enter the copy command to save the running-config file to the startup-config file.

Modifying MAC ACL rules

You cannot modify the existing rules of a MAC ACL. However, you can remove the rule and then
recreate it with the desired changes.
Dell Converged Enhanced Ethernet Administrator's Guide
53-1002116-01
In this example, the name of the standard MAC ACL is "test_01."
switch(config)#mac access-list standard test_01
switch(conf-macl-std)#
address.
switch(conf-macl-std)#deny 0022.3333.4444 count
MAC address.
switch(conf-macl-std)#permit 0022.5555.3333 count
switch(conf-macl-std)#seq 100 deny 0011.2222.3333 count
switch(conf-macl-std)#seq 1000 permit 0022.1111.2222 count
The following example sets the name of the extended MAC ACL to "test_02."
switch(config)#mac access-list extended test_02
MAC address.
switch(conf-macl-ext)#permit 0022.3333.4444 0022.3333.5555
switch(conf-macl-std)#seq 5 permit 0022.3333.4444 0022.3333.5555
switch(conf-macl-std)#exit
switch(config)#end
switch#copy running-config startup-config
ACL configuration and management
"Reordering the sequence numbers in a MAC ACL"
9
on
89

Advertisement

Table of Contents
loading

Table of Contents