Purpose
Command or Action
Specifies the port to be configured, and enters interface configuration mode.
interface interface-id
Step 2
Example:
Switch(config)#
interface
Valid interfaces include physical ports.
gigabitethernet 1/1/1
Configures the default CoS value for the port.
mls qos cos
{
default-cos
|
override
}
Step 3
Example:
Switch(config-if)#
mls qos
•
For
default-cos,
specify a default CoS value to be assigned to a port. If
the packet is untagged, the default CoS value becomes the packet CoS
value. The CoS range is 0 to 7. The default is 0.
override
•
Use the
override
keyword to override the previously configured trust
state of the incoming packet and to apply the default port CoS value to
the port on all incoming packets. By default, CoS override is disabled.
Use the
override
keyword when all incoming packets on specified ports
deserve higher or lower priority than packets entering from other ports.
Even if a port was previously set to trust DSCP, CoS, or IP precedence,
this command overrides the previously configured trust state, and all
the incoming CoS values are assigned the default CoS value configured
with this command. If an incoming packet is tagged, the CoS value of
the packet is modified with the default CoS of the port at the ingress
port.
To return to the default setting, use the
no mls qos cos
{
default-cos
|
override
} interface configuration command.
Note
Returns to privileged EXEC mode.
end
Example:
Switch(config-if)#
end
Step 4
Verifies your entries.
show mls qos interface
Example:
Switch#
show mls qos interface
Step 5
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 6
startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
577
How to Configure QoS
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......