Mac access-group, Mac access-list extended – Dell PowerEdge M805 User Manual
Page 309
ACL Commands
289
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 a given direction.
Syntax
mac access-group name sequence
no mac access-group name
•
name—Name of the existing MAC access list. (Range: 1-31 characters)
•
sequence—Order of access list relative to other access lists already assigned to this
interface and direction. (Range: 1-4294967295)
Default Configuration
This command has no default configuration.
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/g1 with the name DELL123.
console(config)#interface 1/g1
console(config-if-1/g1)#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.