Cisco Systems 3560 Manual De Usuario

Descargar
Página de 1288
 
34-25
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 34      Configuring QoS
Configuring Auto-QoS
Effects of Auto-QoS on the Configuration
When auto-QoS is enabled, the auto qos voip interface configuration command and the generated 
configuration are added to the running configuration. 
The switch applies the auto-QoS-generated commands as if the commands were entered from the CLI. 
An existing user configuration can cause the application of the generated commands to fail or to be 
overridden by the generated commands. These actions occur without warning. If all the generated 
commands are successfully applied, any user-entered configuration that was not overridden remains in 
the running configuration. Any user-entered configuration that was overridden can be retrieved by 
reloading the switch without saving the current configuration to memory. If the generated commands 
fail to be applied, the previous running configuration is restored.
Auto-QoS Configuration Guidelines
Before configuring auto-QoS, you should be aware of this information:
  •
In releases earlier than Cisco IOS Release 12.2(20)SE, auto-QoS configures VoIP only on switch 
ports with Cisco IP Phones.
  •
In Cisco IOS Release 12.2(20)SE or later, auto-QoS configures the switch for VoIP with Cisco IP 
Phones on nonrouted and routed ports. Auto-QoS also configures the switch for VoIP with devices 
running the Cisco SoftPhone application.
Note
When a device running Cisco SoftPhone is connected to a nonrouted or routed port, the 
switch supports only one Cisco SoftPhone application per port.
If you entered the auto qos voip cisco-phone command, the 
switch automatically creates class maps and policy maps.
witch(config)# mls qos map policed-dscp 24 26 46 to 
0
Switch(config)# class-map match-all 
AutoQoS-VoIP-RTP-Trust
Switch(config-cmap)# match ip dscp ef
Switch(config)# class-map match-all 
AutoQoS-VoIP-Control-Trust
Switch(config-cmap)# match ip dscp cs3 af31
Switch(config)# policy-map AutoQoS-Police-CiscoPhone
Switch(config-pmap)# class AutoQoS-VoIP-RTP-Trust
Switch(config-pmap-c)# set dscp ef
Switch(config-pmap-c)# police 320000 8000 
exceed-action policed-dscp-transmit
Switch(config-pmap)# class 
AutoQoS-VoIP-Control-Trust
Switch(config-pmap-c)# set dscp cs3
Switch(config-pmap-c)# police 32000 8000 
exceed-action policed-dscp-transmit
After creating the class maps and policy maps, the switch 
automatically applies the policy map named 
AutoQoS-Police-CiscoPhone to an ingress interface on which 
auto-QoS with the Cisco Phone feature is enabled.
Switch(config-if)# service-policy input 
AutoQoS-Police-CiscoPhone
Table 34-5
Generated Auto-QoS Configuration (continued)
Description
Automatically Generated Command