Configuring a mac acl, Figure 3-38, Acl configuration - mac – LevelOne GSW-2692 User Manual

Page 98

Advertising
background image

Configuring the Switch

3-62

3

Configuring a MAC ACL

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 – Hexidecimal mask for source or destination MAC

address.

VID – VLAN ID. (Range: 1-4094)

Ethernet Type – This option can only be used to filter Ethernet II formatted

packets. (Range: 0-65535)
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).

Web – Specify the action (i.e., Permit or Deny). Specify the source and/or
destination addresses. Select the address type (Any, Host, or MAC). If you select
“Host,” enter a specific address (e.g., 00-90-CC-44-55-66). If you select “MAC,”
enter a base address and a hexidecimal bitmask for an address range. Set any
other required criteria, such as VID or Ethernet type. Then click Add.

Figure 3-38 ACL Configuration - MAC

CLI – This rule permits packets from any source MAC address to the destination
address 00-90-cc-94-34-de where the Ethernet type is 0800.

Console(config-mac-acl)#permit any host 00-90-cc-94-34-de

ethertype 0800

4-98

Console(config-mac-acl)#

Advertising