beautypg.com

Ip access-list (mac) – Allied Telesis AT-8100 Series User Manual

Page 1600

background image

Chapter 99: ACL Commands

1600

IP ACCESS-LIST (MAC)

Syntax

action

deny|permit|copy-to-mirror

mac

scr_mac_address

any|host dest_mac_address any|host

[vlan

vid

]

Parameters

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. Choose
from the following options:

any: Matches any source MAC address.

src_mac_address: Specifies the source MAC address of the
packets. The address must be entered in hexadecimal in this
format:

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

src_mac_mask

Specifies the source MAC address mask. Enter the mask in the
following format:

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.