Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-562
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 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} [ethertype] [cos cos_value] [vlan vlan]
[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.
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_address source_mac_address_mask.
dest_mac_addr_spec Number of the destination MAC address.
ethertype (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.
cos cos_value (Optional) Specifies the CoS value; valid values are from 0 to 7.
vlan vlan (Optional) Specifies a VLAN; valid values are from 1 to 4094.
before
editbuffer_index
(Optional) Inserts the new ACE in front of another ACE.
modify
editbuffer_index
(Optional) Replaces an ACE with the new ACE.