Configuring a mac acl – LevelOne FGL-2870 User Manual

Page 185

Advertising
background image

General Security Measures

3-131

3

CLI – This example adds three rules:
(1) Accepts any incoming packets for the destination 2009:DB9:2229::79/8.
(2) Allows packets to any destination address when the DSCP value is 5.

Configuring a MAC ACL

Use this page to configure ACLs based on hardware addresses, packet format, and
Ethernet type.

Command Attributes
Action – An ACL can contain any combination of permit or deny rules.
Source/Destination Address Type – Use “Any” to include all possible addresses,

“Host” to indicate a specific MAC address, or “MAC” to specify an address range
with the Address and Bitmask fields. (Options: Any, Host, MAC; Default: Any)

Source/Destination MAC Address – Source or destination MAC address.
Source/Destination Bitmask – Hexadecimal mask for source or destination MAC

address.

VID – VLAN ID. (Range: 1-4094)
VID Bit Mask – VLAN bitmask. (Range: 1-4095)
Ethernet Type – This option can only be used to filter Ethernet II formatted

packets. (Range: 600-fff hex.)
A detailed listing of Ethernet protocol types can be found in RFC 1060. A few of the
more common types include 0800 (IP), 0806 (ARP), 8137 (IPX).

• Ethernet Type Bitmask – Protocol bitmask. (Range: 600-fff hex.)
Packet Format – This attribute includes the following packet types:

- Any – Any Ethernet packet type.
- Untagged-eth2 – Untagged Ethernet II packets.
- Untagged-802.3 – Untagged Ethernet 802.3 packets.
- Tagged-802.3 – Tagged Ethernet 802.3 packets.
- Tagged-802.3 – Tagged Ethernet 802.3 packets.

Console(config-ext-ipv6-acl)#permit 2009:DB9:2229::79/8

4-208

Console(config-ext-ipv6-acl)#permit any dscp 5
Console(config-ext-ipv6-acl)#

Advertising