beautypg.com

Access-list (mac address), Access-list (mac address) 0 – Allied Telesis AT-8100 Series User Manual

Page 1570

background image

Chapter 99: ACL Commands

1570

ACCESS-LIST (MAC Address)

Syntax

access-list

id_number action src_mac_address|any

src_mac_mask dst_mac_address|any dst_mac_mask

Parameters

id_number

Specifies the ID number for the new ACL. The range is from 4000
to 4699.

action

Specifies the action of the ACL. Here are the possible actions:

permit: Forwards all ingress packets that match the ACL.

deny: Discards all ingress packets that match the ACL.

copy-to-mirror: Copies all ingress packets that match the ACL to
the destination port of the mirror port. This action must be used
in conjunction with the port mirror feature, explained in Chapter
27, “Port Mirror” on page 465.

src_mac_address

Specifies the source MAC address of the ingress packets. Here
are the possible options:

src_mac_address: Specifies the source MAC address of the
packets. The address must be entered in hexadecimal in one of
the following formats:

xx:xx:xx:xx:xx:xx or xxxx.xxxx.xxxx

any: Matches any source MAC address.

src_mac_mask

Specifies the source MAC address mask. The mask must be
entered in one of the following formats:

xx:xx:xx:xx:xx:xx or xxxx.xxxx.xxxx

Assign the “x” variable a value of either “0” or “F.” Specify “0” to
indicate the parts of the MAC address the ACL is to filter. Specify
“F” for parts of the MAC address the ACL should ignore.

Do not include a mask if you specified ANY as the source MAC
address.