Command Line Interface
7171553-KDU 137 365 Uen D 2006-06-16
Example
Related Commands
mask (MAC ACL) (section 7.8.14 on page 713)
7.8.16 mac access-group
This command binds a port to a MAC ACL. Use the no form to remove the port.
Syntax
[no] mac access-group <acl_name> {in | out}
• acl_name – Name of the ACL. (Maximum length: 16 characters)
• in – Indicates that this list applies to ingress packets.
• out – Indicates that this list applies to egress packets.
Default Setting
None
Command Mode
Interface Configuration (Ethernet)
Command Usage
• A port can only be bound to one ACL.
• If a port is already bound to an ACL and it is then bound to a different
ACL, the ECN330-switch will replace the old binding with the new one.
• A mask must be configured for an ACL rule before it can be bound to a
port.
Console#show access-list mac mask-precedence
MAC egress mask ACL:
mask pktformat host any vid ethertype
Console#