Examples: Auto-QoS Generated Configuration for VoIP Devices
If you entered the
auto qos voip cisco-phone
command, the switch automatically enables the trusted boundary
feature, which uses the CDP to detect the presence or absence of a Cisco IP Phone.
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-SoftPhone
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
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
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
661
Configuration Examples for Auto-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: ......