MAC access-group (VACL)

Allows for the configuration of a MAC ACL on a VLAN to be shared.

Syntax


mac-access-group ACL-ID in|out shared

Description

Apply the MAC ACL to the traffic on a VLAN. MAC ACLs can be used to filter the traffic based on the source MAC address, destination MAC address, EtherType, CoS priority, or VLAN number. When ACLs are shared, hardware resource usage is optimized where possible.

Options

shared

Apply the MAC ACL so as to share hardware resources.

Restrictions

  • Per-application statistics will not be available when ACLs are applied as shared.

mac-access-group my-acl out shared

switch(config)# vlan 1
switch(vlan-1)# mac-access-group my-acl out shared