2-457
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl mac
set qos acl mac
To define MAC access lists, use the set qos acl mac command.
set qos acl mac {acl_name} {dscp dscp | trust-cos} [aggregate aggregate_name]
{src_mac_addr_spec} {dest_mac_addr_spec} [ether-type] [before editbuffer_index | modify
editbuffer_index]
Syntax Description
Defaults There are no default ACL mappings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The dscp dscp and trust-cos keywords and variables are used to select a marking rule. Refer to the
Catalyst 6500 Series Switch Software Configuration Guide for additional marking rule information.
The dscp dscp and trust-cos keywords and variables are not supported on systems configured with the
Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2).
The optional aggregate aggregate_name keyword and variable are used to configure policing in the
ACE. Refer to the Catalyst 6500 Series Switch Software Configuration Guide for additional policing rule
information.
When you enter the ACL name, follow these naming conventions:
Maximum of 31 characters long and may include a-z, A-Z, 0-9, the d ash character (-), the unde rscore
character (_), and the period character (.)
Must start with an alpha character and must be unique across all ACLs of all types
acl_name Unique name that identifies the list to which the entry belongs.
dscp dscp Sets CoS and DSCP from configured DSCP values.
trust-cos Specifies that the DSCP is derived from the packet CoS.
aggregate
aggregate_name (Optional) Specifies the name of the aggregate policing rule to be
applied to packets matching the ACE.
src_mac_addr_spec Number of the source MAC address in the form
source_mac_addresssou rce_mac_address_mask.
dest_mac_addr_spec Number of the destination MAC address.
ether-type (Optional) Name or number that matches the Ethertype for
Ethernet-encapsulated packets. See the “Usage Guidelines” section for
a list of valid names and numbers.
before
editbuffer_index (Optional) Inserts the new ACE in front of another ACE.
modify
editbuffer_index (Optional) Replaces an ACE with the new ACE.