6.4.1. mac acl

Syntax

mac acl NAME

no mac acl NAME

Parameter


NAME Specify the name of MAC ACL


Default

No default is defined

Mode

Global Configuration

Usage

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 mac 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