6.4.10. bind acl

Syntax

(mac|ip|ipv6) acl NAME

[no] (mac|ip|ipv6) acl NAME

Parameter


(mac|ipv6|ip) Specify a type of ACL to binding to interface

NAME Specify the name of ACL


Default

No default is defined

Mode

Interface Configuration

Usage

Use the mac|ip|ipv6 acl NAME command to bind an ACL to interfaces. An interface can bind only one ACL or QoS policy. Use the no form of this command to return to unbind an ACL from interface.

Example

The example shows how to bind an existed ACL to interface.

Switch(config)# interface fa1
Switch(config-if)# mac acl test
Switch(config-if)# do show running-config interfaces fa1
interface fa1 mac acl test