Using AutoQoS. Understanding AutoQoS CHAPTER

Similar documents
AutoQoS. Prerequisites for AutoQoS CHAPTER

Configuring Cisco IP Phone Support

Configuring Smart Port Macros

Configuring IEEE 802.1Q Tunneling

Configuring Flex Links

Configuring Auto-QoS

Configuring Voice VLAN

Sections Describing Standard Software Features

Sections Describing Standard Software Features

Quality of Service (QoS) Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 3850 Switches)

Quality of Service (QoS) Configuration Guide, Cisco IOS XE Everest a (Catalyst 3850 Switches)

Quality of Service Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9300 Switches)

Quality of Service Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9300 Switches)

Quality of Service Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9300 Switches)

mls qos (global configuration mode)

Configuring Private Hosts

Configuring IP Unnumbered Interface

Configuring PFC QoS CHAPTER

Internetwork Expert s CCNP Bootcamp. Layer 2 Voice & Video Support. Power Over Ethernet. Required to centrally power small devices

Configuring Interface Characteristics

Configuring Private VLANs

Configuring IGMP Snooping for IPv4 Multicast Traffic

Configuring SmartPort Macros

Configuring VLAN ACLs

Configuring SPAN. Understanding SPAN CHAPTER. This chapter describes how to configure Switched Port Analyzer (SPAN) and on the Catalyst 2960 switch.

Configuring Voice VLAN

Cisco IOS Commands for the Catalyst 4500 Series Switches

Cisco IOS Commands for the Catalyst 4500 Series Switches

22 Cisco IOS Commands for the Cisco 7600 Series Router policy-map

QoS Tunnel Marking for GRE Tunnels

Configuring Quality of Service

Configuring Web-Based Authentication

Configuring QoS. Finding Feature Information. Prerequisites for QoS

Configuring 4-Port Gigabit Ethernet WAN Optical Services Modules

Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling

Configuring Layer 3 Interfaces

Configuring Interface Characteristics

Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling


Cisco IOS Commands for the Catalyst 4500 Series Switches

EVC Quality of Service

22 Cisco IOS Commands for the Catalyst 4500 Series Switches interface

Configuring Interface Characteristics

Configuring UDLD. Understanding UDLD CHAPTER

Configuring Quality of Service

Configuring QoS CHAPTER

IEEE 802.1X Multiple Authentication

Configuring Interface Characteristics

Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling

Provisioning: Configuring QoS for IP Telephony

Configuring QoS. Finding Feature Information. Prerequisites for QoS. General QoS Guidelines

Configuring SPAN and RSPAN

To send a text message to all Quality Device Manager (QDM) clients, use the send qdm message command in EXEC mode.

EVC Quality of Service

This chapter describes how to configure VLANs on the Cisco 7600 series routers.

IEEE 802.1Q-in-Q VLAN Tag Termination

Configuring QoS CHAPTER

Configuring 4-Port Gigabit Ethernet WAN Optical Services Modules

This chapter describes how to use Top-N reports in Cisco IOS Release 12.2SX.

Port-Shaper and LLQ in the Presence of EFPs

Configuring Interfaces

Configuring DHCP Features

Quality of Service for VPNs

Configuring Interfaces

Cisco IOS Commands for the Catalyst 6500 Series Switches with the Supervisor Engine 32 PISA wrr-queue cos-map

Configuring VTP. Understanding How VTP Works CHAPTER

Configuring Private VLANs

IE 3000 Switch Cisco IOS Commands

Cisco IOS Commands for the Catalyst 4500 Series Switches

Interface and Hardware Components Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9300 Switches)

Configuring VLAN Trunks

Configuring Smartports Macros

Applying QoS Features Using the MQC

Multiprotocol Label Switching

EVC Quality of Service

Configuring Interfaces

Configuring Private VLANs

Classifying and Marking MPLS EXP

Configuring Multiprotocol Label Switching (MPLS)

Configuring SPAN and RSPAN

Configuring PIM Snooping

Configuring a Supervisor Engine 720

Configuring SPAN and RSPAN

Set Inner CoS Bits for QinQ

Catalyst 2960-X Switch QoS Command Reference, Cisco IOS Release 15.0(2)EX

VLANs over IP Unnumbered SubInterfaces

Classifying and Scheduling Packets for the ASR 1000 Series Aggregation Services Routers

Configuring IEEE 802.3ad LACP EtherChannels on the Cisco MWR 2941

Configuring Control-Plane Security

Configuring VLANs. Understanding VLANs CHAPTER

Configuring QoS. Understanding QoS CHAPTER

Configuring VLANs. Understanding VLANs CHAPTER

Recommendations for Upgrading a Catalyst 2950 Switch to a Catalyst 2960 Switch

Configuring Layer 3 Interfaces

Configuring Local SPAN and ERSPAN

Chapter 5: Inter-VLAN Routing. Routing & Switching

Marking Network Traffic

Configuring VLANs. Understanding VLANs CHAPTER

Configuring SPAN and RSPAN

Configuring Port Security

Transcription:

CHAPTER 44 This chapter describes how to use the automatic quality of service (QoS) configuration feature. Release 12.2(33)SXH and later releases support the automatic quality of service (QoS) configuration feature. For complete syntax and usage information for the commands used in this chapter, see the Cisco IOS Master Command List, at this URL: http://www.cisco.com/en/us/docs/ios/mcl/allreleasemcl/all_book.html Tip For additional information about Cisco Catalyst 6500 Series Switches (including configuration examples and troubleshooting information), see the documents listed on this page: http://www.cisco.com/en/us/products/hw/switches/ps708/tsd_products_support_series_home.html Participate in the Technical Documentation Ideas forum This chapter consists of these sections: Understanding AutoQoS, page 44-1, page 44-3 Understanding AutoQoS AutoQoS is a macro that applies the recommended Architecture for Voice, Video, and Integrated Data (AVVID) QoS settings to a port. These sections describe how autoqos works: AutoQoS Support for a Cisco IP Phone, page 44-2 AutoQoS Support for Cisco IP Communicator, page 44-2 AutoQoS Support for Marked Traffic, page 44-2 44-1

Understanding AutoQoS Chapter 44 AutoQoS Support for a Cisco IP Phone Cisco IP phones are usually connected directly to ports. Optionally, you can attach a PC to the phone and use the phone as a hop to the switch. The traffic that comes from the phone can be marked with an 802.1Q or 802.1p tag. The tag contains a VLAN ID and CoS value. When you configure the port to trust the CoS value that comes from the phone, the switch uses the CoS value to prioritize the phone traffic. There is a three-port switch built into Cisco IP phones that forwards the traffic that comes from the PC, the phone, and the switch port. Cisco IP phones have trust and classification capabilities that you need to configure (see the Configuring Cisco IP Phone Support section on page 15-5). AutoQoS supports Cisco IP phones with the auto qos voip cisco-phone interface configuration command. When you enter the auto qos voip cisco-phone interface configuration command on a port that is configured to support an IP phone and to which an IP phone is connected, the autoqos feature does the following: If QoS was not already enabled, enables QoS globally. If VLAN-based QoS was configured for the port, reverts to the default port-based QoS (done for all ports on switching modules with 1p1q0t/1p3q1t ports). Sets the port trust state to trust CoS. Creates and applies a trust-cos QoS policy to ports on switching modules with non-gigabit Ethernet 1q4t/2q2t ports, which do not support port trust. AutoQoS Support for Cisco IP Communicator The Cisco IP Communicator program runs on a PC and emulates a Cisco IP phone. The Cisco IP Communicator marks its voice traffic with a DSCP value instead of a CoS value. When you configure the port to trust the DSCP value that comes from the Cisco IP Communicator, the switch uses the DSCP value to prioritize the Cisco IP Communicator traffic. AutoQoS supports the Cisco IP Communicator program with the auto qos voip cisco-softphone interface configuration command. When you enter the auto qos voip cisco-softphone interface configuration command on a port that is connected to a device running the Cisco IP Communicator program, the autoqos feature does the following: If QoS was not already enabled, enables QoS globally. If VLAN-based QoS was configured for the port, reverts to the default port-based QoS (done for all ports on switching modules with 1p1q0t/1p3q1t ports). If a trust state was configured for the port, reverts to the default untrusted state. Creates and applies ingress policers to trust DSCP 46 and remark DSCP 26 packets to DSCP 24. Packets with other DSCP values or out-of-profile packets are remarked with DSCP 0. AutoQoS Support for Marked Traffic Ports that connect to the interior of your network might receive traffic that has already been marked with QoS labels that are consistent with your network QoS policies, and which do not need to be changed. You can use the QoS trust feature to process the marked traffic using the received QoS values. 44-2

Chapter 44 AutoQoS supports marked traffic with the auto qos voip trust interface configuration command. When you enter the auto qos voip trust interface configuration command, the autoqos feature does the following: If QoS was not already enabled, enables QoS globally. If VLAN-based QoS was configured for the port, reverts to the default port-based QoS (done for all ports on switching modules with 1p1q0t/1p3q1t ports). If the port is configured with the switchport command, sets the port trust state to trust CoS. If the port is not configured with the switchport command, sets the port trust state to trust DSCP. Creates and applies a trust-cos or trust-dscp QoS policy to ports on switching modules with non-gigabit Ethernet 1q4t/2q2t ports, which do not support port trust. These sections describe how to use autoqos: AutoQoS Configuration Guidelines and Restrictions, page 44-3 Configuring AutoQoS, page 44-4 AutoQoS Configuration Guidelines and Restrictions These sections provide the configuration guidelines and restrictions for autoqos: AutoQoS generates commands for the port and adds the generated commands to the running configuration. The generated QoS commands are applied as if you were entering them from the CLI. An existing configuration might cause the application of the generated commands to fail or an existing configuration might be overridden by the generated commands. These actions occur without warning. If the generated commands are successfully applied, any configuration that was not overridden remains in the running configuration. Any commands that were overridden might still exist in the startup-config file. Some of the generated commands are the type of PFC QoS commands that are applied to all ports controlled by a port ASIC. When one of these commands is applied, PFC QoS displays the messages caused by application of the command to all the ports controlled by the port ASIC. Depending on the module, these commands are applied to as many as 48 ports. See the Number of port groups and Port ranges per port group listed for each module in the Release s for Cisco IOS Release 12.2SX. You might not be able to configure support for Cisco IP phones and the other autoqos options on ports that are controlled by the same port ASIC because of conflicting port trust state requirements. If application of the generated commands fails, the previous running configuration is restored. Enable autoqos before you configure other QoS commands. If necessary, you can modify the QoS configuration after the autoqos configuration completes. AutoQoS cannot attach a policy map to an interface if there is already a policy map attached. Do not modify a policy map or class map that includes AUTOQOS in its name. You cannot configure autoqos on the following: Port-channel interfaces 44-3

Chapter 44 VLAN interfaces (also known as switch virtual interfaces or SVIs) Tunnel interfaces Loopback interfaces Subinterfaces on any type of interface Configuring AutoQoS AutoQoS generates commands that are appropriate for the QoS port architecture of the port on which you enter an auto qos voip command. For each of the different auto qos voip commands, autoqos generates different QoS commands for each of these QoS port architectures: 1p1q0t/1p3q1t 1p1q4t/1p2q2t 1p1q4t/1p3q8t 1p1q8t/1p2q1t 1q2t/1p2q2t 1q2t/1p3q8t 1q4t/2q2t 1q8t/1p3q8t 1q8t/1p7q8t 2q8t/1p3q8t 8q4t/1p7q4t 8q8t/1p7q8t The procedures in the following sections include the commands that you need to enter to display the generated commands, but the specific commands that autoqos generates are not listed in this document. These sections describe how to configure autoqos: Configuring AutoQoS Support for a Cisco IP Phone, page 44-4 Configuring AutoQoS Support for Cisco IP Communicator, page 44-5 Configuring AutoQoS Support for Marked Traffic, page 44-6 Configuring AutoQoS Support for a Cisco IP Phone Complete the configuration procedures in the Configuring Cisco IP Phone Support section on page 15-5 before you configure autoqos for a Cisco IP phone. To configure autoqos for a Cisco IP phone, perform this task: Command Purpose Step 1 Router# configure terminal Enters global configuration mode. Step 2 Router(config)# interface type 1 slot/port Selects the interface to configure. 44-4

Chapter 44 Step 3 Router(config-if)# auto qos voip cisco-phone Configures autoqos for a Cisco IP phone. Step 4 Router(config-if)# end Returns to privileged EXEC mode. Step 5 Step 6 Step 7 Command Router# show auto qos interface type 1 slot/port Router# show running-config include mls qos map cos-dscp Router# show running-config interface type 1 slot/port 1. type = fastethernet or gigabitethernet Purpose Displays the configured autoqos commands. Displays the generated received CoS to internal DSCP map. Displays all of the commands configured on the interface. When configuring autoqos for a Cisco IP phone, note the following information: To disable autoqos on an interface, use the no auto qos voip interface configuration command. The no auto qos voip interface configuration command does not disable QoS globally or delete the received CoS to internal DSCP map created by autoqos. You might see messages that instruct you to configure other ports to trust CoS. You must do so to enable the autoqos generated commands. This example shows how to enable autoqos on Fast Ethernet interface 1/1: Router(config)# interface fastethernet 1/1 Router(config-if)# auto qos voip cisco-phone Configuring AutoQoS Support for Cisco IP Communicator To configure autoqos for Cisco IP Communicator, perform this task: Command Purpose Step 1 Router# configure terminal Enters global configuration mode. Step 2 Router(config)# interface type 1 slot/port 1. type = fastethernet, gigabitethernet, or tengigabitethernet Selects the interface to configure. Step 3 Router(config-if)# auto qos voip cisco-softphone Configures autoqos for Cisco IP Communicator. Step 4 Router(config-if)# end Returns to privileged EXEC mode. Step 5 Router# show auto qos interface type 1 slot/port Displays the configured autoqos commands. Step 6 Router# show policy-map AUTOQOS-CISCO-SOFT-PHONE Displays the policy map and policers created by autoqos. Step 7 Step 8 Router# show class-map AUTOQOS-CISCO-SOFTPHONE-SIGNAL Router# show class-map AUTOQOS-CISCO-SOFTPHONE-DATA Router# show running-config include mls qos map policed-dscp Displays the class maps created by autoqos. Displays the DSCP markdown maps created by autoqos. Step 9 Router# show running-config interface type 1 slot/port Displays all of the commands configured on the interface. 44-5

Chapter 44 When configuring autoqos for Cisco IP Communicator, note the following information: To disable autoqos on an interface, use the no auto qos voip interface configuration command. The no auto qos voip interface configuration command does not disable QoS globally or delete the policy, class, and DSCP markdown maps created by autoqos. You cannot configure support for Cisco IP Communicator on ports that are configured with the switchport keyword. PFC QoS supports 1023 aggregate policers and each use of the auto qos voip cisco-softphone command on a port uses two aggregate policers. This example shows how to enable autoqos on Fast Ethernet interface 1/1: Router(config)# interface fastethernet 1/1 Router(config-if)# auto qos voip cisco-softphone Configuring AutoQoS Support for Marked Traffic To configure autoqos for marked traffic, perform this task: Command Purpose Step 1 Router# configure terminal Enters global configuration mode. Step 2 Router(config)# interface type 1 slot/port 1. type = fastethernet, gigabitethernet, or tengigabitethernet Selects the interface to configure. Step 3 Router(config-if)# auto qos voip trust Configures autoqos for marked traffic. Step 4 Router(config-if)# end Returns to privileged EXEC mode. Step 5 Router# show auto qos interface type 1 slot/port Displays the configured autoqos commands. Step 6 Router# show running-config include mls qos map cos-dscp For ports configured with the switchport command, displays the generated received CoS to internal DSCP map. Step 7 Router# show running-config interface type 1 slot/port Displays all of the commands configured on the interface. When configuring autoqos to trust marked traffic, note the following information: To disable autoqos on an interface, use the no auto qos voip interface configuration command. The no auto qos voip interface configuration command does not disable QoS globally or delete the received CoS to internal DSCP map created by autoqos. For ports configured with the switchport command, you might see messages that instruct you to configure other ports to trust CoS. You must do so to enable the autoqos generated commands. This example shows how to enable autoqos on Fast Ethernet interface 1/1: Router(config)# interface fastethernet 1/1 Router(config-if)# auto qos voip trust 44-6

Chapter 44 Tip For additional information about Cisco Catalyst 6500 Series Switches (including configuration examples and troubleshooting information), see the documents listed on this page: http://www.cisco.com/en/us/products/hw/switches/ps708/tsd_products_support_series_home.html Participate in the Technical Documentation Ideas forum 44-7

Chapter 44 44-8