48
ACL Commands
deny (MAC)
commands. The
service-acl input
command is used to attach this ACL
to an interface.
Use the no form of this command to remove the access list.
Syntax
acl-name
mac access-list extended
acl-name
no mac access-list extended
Parameters
acl-name—Specifies the name of the MAC ACL (Range: 1–32 characters).
Default Configuration
No MAC access list is defined.
Command Mode
Global Configuration mode
User Guidelines
A MAC ACL is defined by a unique name. IPv4 ACL, IPv6 ACL, MAC ACL or policy
maps cannot have the same name.
Example
switchxxxxxx(config)# mac access-list extended server1
switchxxxxxx(config-mac-al)# permit 00:00:00:00:00:01 00:00:00:00:00:ff any
48.8
permit ( MAC )
Use the permit command in MAC Access List Configuration mode to set permit
conditions (ACEs) for a MAC ACL.
Syntax
permit
{any | source source-wildcard} {any | destination destination-wildcard} [eth-type 0 | aarp |
amber | dec-spanning | decnet-iv | diagnostic | dsm | etype-6000] [vlan vlan-id] [cos cos cos-wildcard]
782
78-21075-01 Command Line Interface Reference Guide