2-497
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set qos mac-cos
set qos mac-cosTo set the CoS value to the MAC address and VLAN pair, use the set qos mac-cos command.
set qos mac-cos dest_mac vlan cos
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command has no effect on a switch configured with a PFC since the Layer 3 switching engine’s
result always overrides the Layer 2 result. Instead, use the set qos acl command.
The set qos mac-cos command creates a permanent CAM entry in the CAM table until you reset the
active supervisor engine.
The port associated with the MAC address is learned when the first packet with this source MAC address
is received. These entries do not age out.
The CoS for a packet going to the specified MAC address is overwritten even if it is coming from a
trusted port.
If you enter the show cam command, entries made with the set qos mac-cos command display as
dynamic because QoS considers them to be dynamic, but they do not a ge o ut .
Examples This example shows how to assign the CoS value 3 to VLAN 2:
Console> (enable) set qos mac-cos 0f-ab-12-12-00-13 2 3
CoS 3 is assigned to 0f-ab-12-12-00-13 vlan 2.
Console> (enable)
Related Commands clear qos mac-cos
show qos mac-cos
dest_mac MAC address of the destination host.
vlan Number of the VLAN; valid values are from 1 to 1001 and from 1025 to 4094.
cos CoS value; valid values are from 0 to 7, higher numbers represent high er
priority.