Command Guide of WGSW-28040
51
4.3 ACL
4.3.1 mac acl
Command:
mac acl NAME
no mac acl NAME
Parameter:
NAME
Specify the name of MAC ACL
Mode:
Global Configuration
Usage Guide:
Use the
mac acl
command to create a MAC access list and to enter mac-acl configuration mode. The name of ACL
must be unique that can not have same name with other ACL or QoS policy. Once an ACL is created, an implicit
“deny any” ACE created at the end of the ACL. That is, if there are no matches, the packets are denied. Use the no
form of this command to delete.
Example:
The example shows how to create a ip acl. You can verify settings by the following show acl command
Switch(config)#
mac acl test
Switch(mac-al)#
show acl
MAC access list test
4.3.2 permit (MAC)
Command:
[sequence <1-2147483647>] permit (A:B:C:D:E:F/A:B:C:D:E:F|any)
(A:B:C:D:E:F/A:B:C:D:E:F|any) [vlan <1-4094>] [cos <0-7> <0-7>] [ethtype
<1501-65535>]