ACL Commands 291
•
direction
— Direction of the ACL. (Range:
in
or
out
. Default is
in
.
)
•
seqnum
— Precedence for this interface and direction. A lower sequence
number has higher precedence. Range: 1 – 4294967295. Default is
1
.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration and Interface Configuration (Ethernet, VLAN, or Port
Channel) modes
User Guidelines
Global mode command configures the ACL on all the interfaces, whereas the
interface mode command does so for the interface.
Examples
console(config)#ip access-group aclname in
console(config)#no ip access-group aclname in
console(config)#ip access-group aclname1 out
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
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 in the in-bound direction.
Syntax
mac access-group
name [direction] [sequence]
no mac access-group
name
• name — Name of the existing MAC access list. (Range: 1-31 characters)
• direction — Only the in-bound direction is supported.
2CSPC4.X8100-SWUM102.book Page 291 Friday, March 15, 2013 8:56 AM