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
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
no mac access-group
•
name — Name of the existing MAC access list. (Range: 1-31 characters)
•
direction — Only the in-bound direction is supported.
name [direction] [sequence]
name
ACL Commands
1
.
299