Lab 8.1.10.2 Introduction to the Modular QoS Command-Line Interface



Similar documents
Lab 8: Confi guring QoS

AutoQoS for Medianet

Routing. Static Routing. Fairness. Adaptive Routing. Shortest Path First. Flooding, Flow routing. Distance Vector

- QoS Classification and Marking -

Chapter 7 Lab 7-1, Configuring Switches for IP Telephony Support

Configuring QoS in a Wireless Environment

AutoQoS. Prerequisites for AutoQoS CHAPTER

QoS: Color-Aware Policer

Configuring QoS. Finding Feature Information. Prerequisites for QoS

Optimizing Converged Cisco Networks (ONT)

Configuring MPLS QoS

Configuring DHCP Snooping

Call Flows for Simple IP Users

Ethernet Overhead Accounting

Enabling Remote Access to the ACE

Configuring Control Plane Policing

Configuring the Firewall Management Interface

Configuring Quality of Service

Configuring Server Load Balancing

Configuring Quality of Service

Configuring Auto-QoS

Cisco Performance Monitor Commands

Cisco - Catalyst 2950 Series Switches Quality of Service (QoS) FAQ

Configure IOS Catalyst Switches to Connect Cisco IP Phones Configuration Example

Lab 7-1 Configuring Switches for IP Telephony Support

Configure Policy-based Routing

Configuring QoS and Per Port Per VLAN QoS

IOS Zone Based Firewall Step-by-Step Basic Configuration

Configuring QoS. Understanding QoS CHAPTER

Configuring Class Maps and Policy Maps

Configuring QoS in a Wireless Environment

PCoIP Protocol Network Design Checklist. TER Issue 3

Firewall Stateful Inspection of ICMP

Lab QoS Classification and Policing Using CAR

Catalyst Layer 3 Switch for Wake On LAN Support Across VLANs Configuration Example

Easy Performance Monitor

Easy Performance Monitor

Cisco VoIP CME QoS Labs by Michael T. Durham

SolarWinds Technical Reference

Easy Performance Monitor

IBM. Tivoli. Netcool Performance Manager. Cisco Class-Based QoS Technology Pack. User Guide. Document Revision R2E1

Traffic Mirroring Commands on the Cisco IOS XR Software

Configuring NetFlow Secure Event Logging (NSEL)

SolarWinds Technical Reference

Configuring Denial of Service Protection

How To Configure InterVLAN Routing on Layer 3 Switches

AlliedWare Plus OS How To. Configure QoS to prioritize SSH, Multicast, and VoIP Traffic. Introduction

Internetwork Expert s CCNA Security Bootcamp. IOS Firewall Feature Set. Firewall Design Overview

Configuring Network Address Translation

Configuring Role-Based Access Control

Lab Use Network Inspector to Observe STP Behavior

DS3 Performance Scaling on ISRs

PC-over-IP Protocol Virtual Desktop Network Design Checklist. TER Issue 2

QoS Queuing on Cisco Nexus 1000V Class-Based Weighted Fair Queuing for Virtualized Data Centers and Cloud Environments

Cisco - Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW)

Flow-Based per Port-Channel Load Balancing

Abstract. Avaya Solution & Interoperability Test Lab

Cisco Performance Agent Data Source Configuration in the Branch-Office Router

This topic describes the basic purpose and function of AutoQoS. One command per interface to enable and configure QoS

Implementing Cisco Voice Communications and QoS

- QoS and Queuing - Queuing Overview

Lab 3.3 Configuring QoS with SDM

Abstract. Avaya Solution & Interoperability Test Lab

INDEX. cdp command channel command

Device Interface IP Address Subnet Mask Default Gateway

Configuring NetFlow-lite

CCT vs. CCENT Skill Set Comparison

Lab Configure IOS Firewall IDS

Configuring DHCP Snooping and IP Source Guard

Traffic Mirroring Commands on the Cisco ASR 9000 Series Router

Configuring QoS CHAPTER

How To Lower Data Rate On A Network On A 2Ghz Network On An Ipnet 2 (Net 2) On A Pnet 2 On A Router On A Gbnet 2.5 (Net 1) On An Uniden Network On

Course Contents CCNP (CISco certified network professional)

VOICE VLAN SUPPORT IN THE DELL POWERCONNECT 6200

Best Practice Recommendations for VLANs and QoS with ShoreTel

Configuring Flexible NetFlow

Cisco ASA and NetFlow Using ASA NetFlow with LiveAction Flow Software

Chapter 2 Lab 2-2, Configuring EtherChannel Instructor Version

Abstract. SZ; Reviewed: SPOC 10/15/2007. Solution & Interoperability Test Lab Application Notes 2007 Avaya Inc. All Rights Reserved.

Catalyst 2960-X Switch QoS Configuration Guide, Cisco IOS Release 15.0(2)EX

Configuring Server Load Balancing

Geschreven door Administrator woensdag 13 februari :37 - Laatst aangepast woensdag 13 februari :05

Network Scenarios Pagina 1 di 35

Troubleshooting the Firewall Services Module

Carrier Ethernet Service, Release 4 Swinog #18. Martin Gysi Network Development Engineer

Configuring EtherChannels

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

Configuring Network QoS

Configuring NetFlow Secure Event Logging (NSEL)

Lab - Using IOS CLI with Switch MAC Address Tables

Network Simulator Lab Study Plan

Configure QoS on x900-24, x900-12, and SwitchBlade x908 Series Switches

What s New in VMware vsphere 5.5 Networking

Monitoring Traffic Interception

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Topic 7 DHCP and NAT. Networking BAsics.

ILTA HAND 8 QoS/CoS. Agenda. What is it?

Enabling NetFlow and NetFlow Data Export (NDE) on Cisco Catalyst Switches

Transcription:

Lab 8.1.10.2 Introduction to the Modular QoS Command-Line Interface Objective Configuring Quality of Service (QoS) involves classifying, marking, and policing traffic flows. It is often necessary to apply the same rules to various classes of traffic or to apply the same policy to many interfaces on a switch. The IOS uses a Modular QoS Command line interface (MQC) to avoid repetition and to make it easier to modify settings. This lab introduces the MQC, which is an important part of the QoS configuration on an IOS based switch or router. This lab also introduces the concept of the Differentiated Services Code Point (DSCP), which is used to mark packets with a QoS identifier. 1-6 CCNP 3: Multilayer Switching v 4.0 - Lab 8.1.10.2 Copyright 2005, Cisco Systems, Inc.

This lab is designed for use with the Catalyst 3550 switch and continues to build on Lab 8.9.1. Scenario Step 1 The marketing department access switch has been configured for Layer 2 class of service (CoS). However, this does not provide a QoS indicator that can be carried end-toend through the network. To achieve this, the packets must be marked at Layer 3 using the DCSP field in the IP packet as the packets move into the distribution-layer switch. In the previous lab, traffic was marked using the CoS as frames entered the access-layer switch. In this lab a Layer 3 DSCP will be set according to the existing Layer 2 CoS of the frames. The marketing department personnel occasionally use an IP based audio-conferencing phone. Since this is not used often, a switch port does not need to be reserved on every access-layer switch. The workers would like the ability to roam and be able to unplug the nearest network device and plug the audio-conferencing phone into that port. Ensure that this device receives the same treatment as other voice traffic in the network. Configure the host names for the switches. Name the configured switch from the previous lab Access1. Name the new distribution layer 3550 switch Dist1. Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname Access1 Access1(config)# Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname Dist1 Dist1(config)# Now configure a gigabit trunk between the access and distribution layer switches. Access1(config)#interface gigabitethernet 0/1 Access1(config-if)#switchport mode trunk Access1(config-if)#^Z Dist1(config)#interface gigabitethernet 0/1 Dist1(config-if)#switchport trunk encapsulation dot1q Dist1(config-if)#switchport mode trunk Dist1(config-if)#exit Access1(config)#interface gigabitethernet 0/1 Access1(config-if)#switchport mode trunk Dist1(config)#interface gigabitethernet 0/1 Dist1(config-if)#switchport trunk encapsulation dot1q Dist1(config-if)#switchport mode trunk 2-6 CCNP 3: Multilayer Switching v 4.0 - Lab 8.1.10.2 Copyright 2005, Cisco Systems, Inc.

Step 2 Before using the Catalyst 3550, the QoS functionality must be enabled by using the mls qos command. Dist1(config)#mls qos Dist1#show mls qos QoS is disabled Dist1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Dist1(config)#mls qos Dist1#show mls qos QoS is enabled Step 3 This step does not apply to the Catalyst 2950 since the QoS features of the 2950 are always available. Traffic from the audio-conference device must be identified before it can be classified. In the previous lab, the incoming access port was used to identify frames and set the CoS. An incoming port cannot be used in this lab because the marketing people want to roam and move the device from port to port. One mechanism that could be used to identify traffic from the audio-conference device is an IP access list. The problem with this solution is that the audio conference device will require different IP addresses if it is used on ports in different VLANs. This will make it more difficult to manage the ACL. The solution is to use a MAC-based ACL. Note In this lab an example MAC address will be used. Substitute the MAC address of an available PC to facilitate testing. Configure a MAC ACL on the distribution layer switch to identify traffic originating from the audio conference device. Step 4 Dist1(config)#mac access-list extended AUDIO-CONFERENCE Dist1(config-ext-macl)#permit host 0000.0a00.0111 any Dist1(config-ext-macl)#^Z Dist1(config)#mac access-list extended AUDIO-CONFERENCE Dist1(config-ext-macl)#permit host 0008.74c7.9648 any Verify the configuration of the MAC ACL using the show access-lists command. Dist1#show access-lists Extended MAC access list AUDIO-CONFERENCE 3-6 CCNP 3: Multilayer Switching v 4.0 - Lab 8.1.10.2 Copyright 2005, Cisco Systems, Inc.

Step 5 permit host 0000.0a00.0111 any Dist1#sh access-lists Extended MAC access list AUDIO-CONFERENCE permit host 0008.74c7.9648 any The first component of the Modular QoS CLI is the class-map. The class-map defines the traffic types that will receive the same QoS treatment. The class-map command uses various match statements to define the traffic. If match-all is used, the traffic must satisfy all of the match statements. If match-any is used, traffic that matches any of the statements will join the traffic class. Each class-map is given a name that is used to reference the class-map. Create a class-map called VOICE-TRAFFIC that matches all of the criteria specified. Dist1(config)#class-map match-all VOICE-TRAFFIC The match command is used to identify traffic that will become part of the class-map. Use the following command to examine the possible criteria for a match. Dist1(config-cmap)#match? Create a match using the named ACL that was previously defined. Step 6 Dist1(config-cmap)#match access-group name AUDIO-CONFERENCE Dist1(config-cmap)#^Z Dist1(config)#class-map match-all VOICE-TRAFFIC Dist1(config-cmap)#match access-group name AUDIO-CONFERENCE Verify the configuration using the show class-map command. Dist1#show class-map Class Map match-any class-default (id 0) Match any Class Map match-all VOICE-TRAFFIC (id 2) Match access-group name AUDIO-CONFERENCE Dist1# Step 7 The switch will automatically create a class-map called class-default. Match statements can also be assigned to this class-map. After defining the traffic class with the class-map statement, define the actions that should be taken on each class of traffic with the policy-map statement. Like the classmap, the policy-map is given a name. In this lab, the policy map will be called FROM- ACCESS-LAYER. 4-6 CCNP 3: Multilayer Switching v 4.0 - Lab 8.1.10.2 Copyright 2005, Cisco Systems, Inc.

Dist1(config)#policy-map FROM-ACCESS-LAYER The format of the policy-map is a reference to a traffic class and one or more actions that must be applied to the traffic. For the traffic class named VOICE-TRAFFIC, specify that the DSCP should be set to 40. When the set command is configured, use the question mark (?) to examine the other actions that can be taken on a traffic class. Dist1(config-pmap)#class VOICE-TRAFFIC Dist1(config-pmap-c)#set ip dscp 40 After specifying an action for traffic originating from the audio-conference device, determine the QoS requirements of traffic originating from any other hosts attached to the access-layer switch. Assume that suitable CoS values have been provided by the access-layer switch and configure the class-default policy so that the CoS value of all other traffic is trusted. Step 8 Dist1(config-pmap)#class class-default Dist1(config-pmap-c)#trust cos Dist1(config-pmap-c)#^Z Dist1(config)#policy-map FROM-ACCESS-LAYER Dist1(config-pmap)#class VOICE-TRAFFIC Dist1(config-pmap-c)#set ip dscp 40 Dist1(config-pmap-c)#class class-default Dist1(config-pmap-c)#trust cos Use the show policy-map command to verify the policy-map. Dist1#show policy-map Policy Map FROM-ACCESS-LAYER class VOICE-TRAFFIC set ip dscp 40 class class-default trust cos Step 9 Step 10 The final configuration step for MCQ is applying the policy to an interface. This is accomplished by using the service-policy command on the required interface. Dist1(config)#interface gigabitethernet 0/1 Dist1(config-if)#service-policy input FROM-ACCESS-LAYER Dist1(config-if)#^Z Dist1(config)#interface gigabitethernet 0/1 Dist1(config-if)#service-policy input FROM-ACCESS-LAYER Use the show mls qos interface gigabitethernet 0/1 command to verify that the service-policy has been applied to the interface correctly. 5-6 CCNP 3: Multilayer Switching v 4.0 - Lab 8.1.10.2 Copyright 2005, Cisco Systems, Inc.

Dist1#show mls qos interface gigabitethernet 0/1 GigabitEthernet0/1 Attached policy-map for Ingress: FROM-ACCESS-LAYER trust state: not trusted trust mode: not trusted COS override: dis default COS: 0 DSCP Mutation Map: Default DSCP Mutation Map trust device: none Dist1# 6-6 CCNP 3: Multilayer Switching v 4.0 - Lab 8.1.10.2 Copyright 2005, Cisco Systems, Inc.