![Cisco 2948G - Catalyst Switch Скачать руководство пользователя страница 281](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462281.webp)
14-5
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 14 Configuring QoS
Configuring QoS on the Switch
Enabling QoS Globally
To enable QoS globally on the switch, perform this task in privileged mode:
This example shows how to enable QoS globally:
Console> (enable) set qos enable
QoS is enabled.
Console> (enable)
Configuring the Default CoS Value for the Switch
QoS assigns a CoS value to unclassified frames that are received on a port. The default CoS value is zero.
To set the default CoS value on the switch, perform this task in privileged mode:
This example shows how to set CoS equal to 7 in all unclassified frames that are received on the switch
and verify the configuration:
Console> (enable) set qos defaultcos 7
qos defaultcos set to 7
Console> (enable)
Reverting to the Default Switch CoS Value
To revert to the default switch CoS value on the switch, perform this task in privileged mode:
This example shows how to revert to the default CoS value for port 8/1 and verify the configuration:
Console> (enable) clear qos defaultcos
qos defaultcos setting cleared.
Console> (enable)
Task
Command
Enable QoS globally.
set qos enable
Task
Command
Step 1
Set the CoS value.
set qos defaultcos cos-value
Step 2
Verify the CoS value.
show qos info [runtime | config]
Task
Command
Step 1
Revert to the default CoS value.
clear qos defaultcos
Step 2
Verify that the default CoS value was restored.
show qos info [runtime | config]