278 ACL Commands
direction — Only the in-bound direction is supported.
sequence — Order of access list relative to other access lists already
assigned to this interface and direction. (Range: 1-4294967295)
Default Configuration
The default direction is in
(in-bound).
Command Mode
Global Configuration mode or Interface Configuration (Ethernet, VLAN or
Port Channel) mode
User Guidelines
An optional sequence number may be specified to indicate the order of this
access-list relative to the other access-lists already assigned to this interface
and direction. A lower number indicates higher precedence order. If a
sequence number already is in use for this interface and direction, the
specified access-list replaces the currently attached access list using that
sequence number. If the sequence number is not specified for this command,
a sequence number is selected that is one greater than the highest sequence
number currently in use for this interface and direction.
This command specified in Interface Configuration mode only affects a
single interface.
Example
The following example assigns a MAC access group to port 1/0/1 with the
name DELL123.
console(config)#interface 1/0/1
console(config-if-1/0/1)#mac access-group DELL123
mac access-list extended
Use the mac access-list extended command in Global Configuration mode to
create the MAC Access Control List (ACL) identified by the
name
parameter.
2CSPC4.XCT-SWUM2XX1.book Page 278 Monday, October 3, 2011 11:05 AM