33-27
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 33 Configuring QoS
Configuring Auto-QoS
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 called
AutoQoS-Police-SoftPhone
to an ingress interface on which auto-QoS with the Cisco SoftPhone feature
is enabled.
Switch(config-if)#
service-policy input AutoQoS-Police-SoftPhone
If you entered the
auto qos voip cisco-phone
command, the switch automatically creates class maps and
policy maps.
Switch(config-if)#
mls qos trust device cisco-phone
If you entered the
auto qos voip cisco-softphone
command, the switch automatically creates class maps
and policy maps.
Switch(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 called
AutoQoS-Police-SoftPhone
to an ingress interface on which auto-QoS with the Cisco SoftPhone feature
is enabled.
Switch(config-if)#
service-policy input AutoQoS-Police-SoftPhone
Auto-QoS Generated Configuration For Enhanced Video, Trust, and Classify Devices
If you entered these enhanced auto-QoS commands, the switch automatically configures the
CoS-to-DSCP map (maps CoS values in incoming packets to a DSCP value).
–
auto qos video cts
–
auto qos video ip-camera
–
auto qos trust
–
auto qos trust cos
–
auto qos trust dscp
Switch(config)#
mls qos map cos-dscp 0 8 16 24 32 46 48 56
Note
No class maps and policy maps are configured.
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...