traffic class is to use the match class-map command. To combine match-any and match-all characteristics into a single class, a traffic class created with the match-any instruction must use a class configured with the match-all instruction as a match criterion (through the match class-map command), or vice versa. These next two examples help illustrate the concept. Example: Nested Traffic Class for Maintenance
In the following example, the traffic class called class1 has the same characteristics as traffic class called class2, with the exception that traffic class class1 has added a destination address as a match criterion. Rather than configuring traffic class class1 line by line, a user can enter the match class-map class2 command. This command allows all of the characteristics in the traffic class called class2 to be included in the traffic class called class1, and the user can simply add the new destination address match criterion without reconfiguring the entire traffic class. Router(config)# class-map match-any class2
Router(config-cmap)# match protocol ip
Router(config-cmap)# match qos-group 3
Router(config-cmap)# match access-group 2
Router(config-cmap)# exit Router(config)# class-map match-all class1
Router(config-cmap)# match class-map class2
Router(config-cmap)# match destination-address mac 1.1.1
Router(config-cmap)# exit Example: Nested Traffic Class to Combine match-any and match-all Characteristics in One Traffic Class
The following example shows how to combine the characteristics of two traffic classes, one with match-any and one with match-all characteristics, into one traffic class with the match class-map command. The result of traffic class class3 requires a packet to match one of the following three match criteria to be considered a member of traffic class class4: IP protocol and QoS group 4, destination MAC address 00.00.00.00.00.00, or access group 2. In this example, only the traffic class called class4 is used with the traffic policy called policy1. Router(config)# class-map match-all class3
Router(config-cmap)# match protocol ip
Router(config-cmap)# match qos-group 4
Router(config-cmap)# exit Router(config)# class-map match-any class4
Router(config-cmap)# match class-map class3
Router(config-cmap)# match destination-address mac 1.1.1
Router(config-cmap)# match access-group 2
Router(config-cmap)# exit Router(config)# policy-map policy1
Router(config-pmap)# class class4
Router(config-pmap-c)# police 8100 1500 2504 conform-action transmit exceed-action set-qos-transmit 4
Router(config-pmap-c)# exit
Content 3.4 Using MQC for Implementing QoS 3.4.8 MQC Example The example in Figure shows a network using interactive traffic and VoIP with an applied Cisco MQC configuration. In this scenario, the office site connects over a low-speed WAN link to the central site. Both sites are equipped with IP phones, PCs, and servers that run interactive applications, such as terminal services. Because the available bandwidth is limited, an administrator must implement an appropriate strategy for efficient bandwidth use. The strategy must meet the requirements of voice traffic’s need for high priority, low delay, and constant bandwidth along the communication path and interactive traffic’s need for bandwidth and low delay. Classification requirements also affect the strategy. Classification and policing of the important traffic streams by applying traffic parameters such as priority, queuing, and bandwidth, are the major elements of the traffic policy that improve the overall quality. Finally, the traffic policy is applied to the WAN interface of the routers. Figure shows an example of the complex configuration tasks involved in using Cisco MQC on the router Office.
Content 3.4 Using MQC for Implementing QoS 3.4.9 Basic MQC Verification Commands To display and verify basic QoS classes and policies configured by using the Cisco MQC, use the commands listed in the MQC Verification Commands table. Figure shows the command syntax. MQC Verification Commands Command Description show class-map Displays the configured classes show policy-map Displays the configured policy show policy-map interface Displays the applied policy map on an interface
Content 3.5 Implementing QoS with Cisco SDM QoS Wizard 3.5.1 Configuring QoS with Cisco SDM QoS Wizard Cisco Router and Security Device Manager (SDM) allows you to easily configure routing, security, and QoS services on Cisco routers while helping to enable proactive management through performance monitoring. Whether you are deploying a new router or installing Cisco SDM on an existing router, you can now remotely configure and monitor these routers without using the Cisco IOS software CLI. The Cisco SDM GUI helps people who are not expert users of Cisco IOS software in day-to-day operations, provides easy-to-use smart wizards, automates router security management, and assists them through comprehensive online help and tutorials. Cisco SDM smart wizards guide you step by step through router and security configuration workflow by systematically configuring the LAN and WAN interfaces, firewall, Network Address Translation (NAT), intrusion prevention system (IPS), IPsec virtual private network (VPNs) routing, and QoS. Cisco SDM smart wizards can intelligently detect incorrect configurations and propose fixes. Online help embedded within Cisco SDM contains appropriate background information in addition to step-by-step procedures to help you enter correct data in the Cisco SDM. In the QoS configuration section of Cisco SDM, there are several features when defining traffic classes and configuring QoS policies in the network as summarized in Figure . Cisco SDM supports a wide range of Cisco IOS software releases and is available free on Cisco router models from the Cisco 830 Router to the Cisco 7301 Router. Cisco SDM comes preinstalled on all new Cisco 850 Series, Cisco 870 Series, Cisco 1800 Series, Cisco 2800 Series, and Cisco 3800 Series Integrated Services Routers. The Cisco SDM QoS wizard offers easy and effective optimization of LAN, WAN, and VPN bandwidth and application performance for different business needs (for example, voice and video, enterprise applications, and web). There are three predefined categories of business needs: In addition, the Cisco SDM QoS wizard supports NBAR, which provides real-time validation of application use of WAN bandwidth against predefined service policies as well as QoS policing and traffic monitoring. Figure shows the main page of Cisco SDM which consists of the following two sections: There are two important icons in the top horizontal navigation bar:
Content 3.5 Implementing QoS with Cisco SDM QoS Wizard 3.5.2 Creating a QoS Policy Figures to show the following seven steps that are used to create a QoS policy using the Cisco SDM GUI: Step 1 Enter configuration mode by clicking Configure in the