service-acl
The service-acl Interface Configuration mode command applies an ACL to the input interface. To detach an ACL
from an input interface, use the no form of this command.
Syntax
service-acl {input acl-name}
no service-acl {input}
Parameters
•
acl-name—Specifies the ACL to be applied to the input interface.
Default Configuration
This command has no default configuration.
Command Mode
Interface (Ethernet, port-channel) Configuration mode.
User Guidelines
In advanced mode, when an ACL is bound to an interface, the port trust mode is set to trust 12-13 and not to 12.
Example
The following example binds (services) an ACL to VLAN 2.
Console(config)# interface vlan 2
Console(config-if)# service-acl input macl1
Page 44
ACL Commands