Brocade Converged Enhanced Ethernet Administrator's Guide v6.1.2_cee (53-1001258-01, June 2009)

Table Of Contents
Converged Enhanced Ethernet Administrator’s Guide 97
53-1001258-01
ACL configuration procedures
7
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 “Reordering the sequence numbers in a MAC ACL on
page 99.
To create an extended MAC ACL and add rules, perform the following steps from Privileged EXEC
mode:
Step Task Command
1. Enter global configuration mode. switch#config t
Enter configuration commands, one per
line. End with CNTL/Z.
switch(config)#
2. Create an extended MAC ACL and enter ACL
configuration mode. The ACL name can have a
maximum of 64 characters. In this example, the
name of the extended MAC ACL is “test_02.”
switch(config)# mac access-list
extended test_02
switch(conf-macl-ext)#
3. Create a rule in the MAC ACL to permit or deny
(drop) traffic with the source MAC address and
the destination MAC address.
switch(conf-macl-ext)#{permit | deny}
HHHH.HHHH.HHHH HHHH.HHHH.HHHH
4. Create a rule in the MAC ACL to permit or deny
any traffic with the destination MAC address.
Additionally:
You can access control by EtherType (ipv4,
fcoe, arp or custom EtherType). Custom
EtherType values range between 1536 and
65535.
Use the count option for the rule to show
how many packets hit that entry.
switch(conf-macl-ext)#{permit | deny}
any HHHH.HHHH.HHHH [custom EtherType
value | arp | count | ipv4 | fcoe]
5. Create a rule in the MAC ACL to permit or deny
host traffic with the source MAC address and the
destination MAC address. Additionally:
You can access control by EtherType (ipv4,
fcoe, arp or custom EtherType). Custom
EtherType values range between 1536 and
65535.
Use the count option for the rule to show
how many packets hit that entry.
switch(conf-macl-ext)#{permit | deny}
host HHHH.HHHH.HHHH HHHH.HHHH.HHHH
[custom EtherType value | arp | count
| ipv4 | fcoe]
6. Create a rule in the MAC ACL to permit or deny
any host with the source MAC address.
Additionally:
You can access control by EtherType (ipv4,
fcoe, or custom EtherType). Custom
EtherType values range between 1536 and
65535.
Use the arp option to permit or deny ARP
traffic.
Use the count option for the rule to show
how many packets hit that entry.
switch(conf-macl-ext)#{permit | deny}
host HHHH.HHHH.HHHH any [custom
EtherType value | arp | count | ipv4 |
fcoe]