Users Guide

Table Of Contents
Layer 2 Switching Commands 296
console(config)#interface te1/0/1
console(config-if-Te1/0/1)#ip access-group aclname out 2
console(config-if-Te1/0/1)#no ip access-group aclname out
Command History
Example and description updated in the 6.4 release.
mac access-group
Use the mac access-group command in Global Configuration or Interface
Configuration mode to attach a specific MAC Access Control List (ACL) to
an interface.
Syntax
mac access-group
name
[in | out | control-plane]
[
sequence
]
no mac access-group
name
[in | out | control-plane]
name
— Name of the existing MAC access list. (Range: 1-31 characters)
[in | out | control-plane]— The packet direction. in applies the access-
list to ingress packets. out applies the access-list to egress packets. control-
plane applies the access-list to ingress control plane packets. control-plane
is only valid in Global Configuration mode.
sequence
— Order of access list relative to other access lists already
assigned to this interface and direction. (Range: 1-4294967295)
Default Configuration
No ACLs are configured by default.
Command Mode
Global Configuration mode or Interface Configuration (Ethernet, VLAN or
Port Channel) mode
User Guidelines
If the access-list specified in the command does not exist, an error is given.