Table of Contents. Cisco Quality of Service Options on GRE Tunnel Interfaces

Similar documents
Applying QoS Features Using the MQC

QoS: Per-Session Shaping and Queuing on LNS

Understanding How Routing Updates and Layer 2 Control Packets Are Queued on an Interface with a QoS Service Policy

EVC Quality of Service

Frame Relay IP RTP Priority

Classifying Network Traffic

Multi-Level Priority Queues

Quality of Service for VPNs

Where Do I Apply a QoS Service Policy on an ATM Interface?

Comparing the bandwidth and priority Commands of a QoS Service Policy

"Charting the Course... Implementing Cisco Quality of Service (QOS) Course Summary

Cisco. Implementing Cisco Service Provider Next-Generation Core Network Services Version: Demo. Web:

Marking Traffic CHAPTER

Committed Access Rate

EVC Quality of Service

Cisco - Catalyst G-L3 Series Switches and WS-X4232-L3 Layer 3 Modules QoS FAQ

Configurable Queue Depth

MQC Hierarchical Queuing with 3 Level Scheduler

Implementing Tunnels. Finding Feature Information

Generic Routing Encapsulation

QoS Tunnel Marking for GRE Tunnels

Sharing Bandwidth Fairly During Congestion

Hierarchical Queuing Framework

Implementing Cisco Quality of Service 2.5 (QOS)

Quality of Service Commands policy-map. This command has no default behavior or values.

Configuring 4-Port Gigabit Ethernet WAN Optical Services Modules

IP QOS Theory and Practice. eng. Nikolay Milovanov CCIE SP# 20094

EVC Quality of Service

RSVP Scalability Enhancements

NETLOGIC TRAINING CENTER

WRED Explicit Congestion Notification

ip rsvp reservation-host

Cisco ASR 1000 Series Aggregation Services Routers: QoS Architecture and Solutions

QoS MIB Implementation

qos police order parent-first

Configuring Quality of Service

Ethernet Overhead Accounting

Provisioning: Working with Pre-Configuration

Per-Session QoS. Finding Feature Information

Before configuring standard QoS, you must have a thorough understanding of these items:

Configuring QoS Policy Actions and Rules

QoS: Regulating Packet Flow Configuration Guide, Cisco IOS Release 15S

Configuring Modular QoS Service Packet Classification

Marking Network Traffic

QOS Section 6. Weighted Random Early Detection (WRED)

Configuring Quality of Service

Configuring Modular QoS Congestion Avoidance

Modular Quality of Service Overview on Cisco IOS XR Software

Marking Network Traffic

H3C S9500 QoS Technology White Paper

Prioritizing Services

fair-queue aggregate-limit

Configuring QoS CHAPTER

Classifying Network Traffic

QoS: Policing Support for GRE Tunnels

Modular QoS CLI Three-Level Hierarchical Policer

AlcatelLucent.Selftestengine.4A0-107.v by.Ele.56q. Exam Code: 4A Exam Name: Alcatel-Lucent Quality of Service

Quality of Service Configuration Guidelines for RSP3 Module

Multiprotocol Label Switching Overview

Configuring Class-Based RTP and TCP Header Compression

Cisco IOS Switching Paths Overview

QoS: Time-Based Thresholds for WRED and Queue Limit

Using Multilink PPP over Frame Relay

Lecture Outline. Bag of Tricks

Quality of Service. Understanding Quality of Service

Configuring Modular QoS on Link Bundles

QoS: Policing and Shaping Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 920 Series)

Quality of Service. Create QoS Policy CHAPTER26. Create QoS Policy Tab. Edit QoS Policy Tab. Launch QoS Wizard Button

Configuring Modular Quality of Service Congestion Management on Cisco IOS XR Software

Configuring Network-Based Application Recognition

Congestion Management Overview

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images

Frame Relay PVC Interface Priority Queueing

Defining QoS for Multiple Policy Levels

Maintaining Cisco Service Provider Quality of Service

Quality of Service (QoS)

QoS in a SOHO Virtual Private Network for IP Telephony

WRED-Explicit Congestion Notification

QoS: Match on ATM CLP

Configuring Quality of Service for MPLS Traffic

Troubleshooting One Way Voice Issues

Port-Shaper and LLQ in the Presence of EFPs

QoS: Hierarchical Queueing Framework Configuration Guide, Cisco IOS Release 15M&T

Classifying and Marking MPLS EXP

CCVP QOS Quick Reference Sheets

Regulating Packet Flow on a Per-Interface Basis Using Generic Traffic Shaping

Nested Class Map Support for Zone-Based Policy Firewall

QoS: Classification, Policing, and Marking on LAC Configuration Guide, Cisco IOS Release 12.4T

Distributing Bandwidth Between Queues

Quality of Service Commands match ip precedence. match ip precedence ip-precedence-value [ip-precedence-value ip-precedence-value

Byte-Based Weighted Random Early Detection

Configuring Weighted Fair Queueing

Using Multilink PPP over Frame Relay

Configuring Weighted Random Early Detection

Configuring Class-Based RTP and TCP Header Compression

QoS Policy Propagation via BGP

Implementing MPLS VPNs over IP Tunnels

Before configuring standard QoS, you must have a thorough understanding of these items: Standard QoS concepts.

Contents. Configuring GRE 1

Transcription:

Table of Contents Quality of Service Options on GRE Tunnel Interfaces...1 Introduction...1 Before You Begin...1 Conventions...1 Prerequisites...1 Components Used...1 Overview of GRE...1 Cisco QoS for GRE Tunnels...2 Shaping...2 Policing...3 Congestion Avoidance...3 The qos pre classify command...3 Characterizing Traffic for QoS Policies...4 Where Do I Apply the Service Policy?...4 Multipoint Tunnel Interfaces...4 Known Issues...4 Related Information...5 i

Quality of Service Options on GRE Tunnel Interfaces Introduction Before You Begin Conventions Prerequisites Components Used Overview of GRE Cisco QoS for GRE Tunnels Shaping Policing Congestion Avoidance The qos pre classify command Characterizing Traffic for QoS Policies Where Do I Apply the Service Policy? Multipoint Tunnel Interfaces Known Issues Related Information Introduction This Tech Note reviews which Quality of Service (QoS) features can be configured on tunnel interfaces using generic routing encapsulation (GRE). Tunnels configured with IP Security (IPSec) are outside the scope of this document. Before You Begin Conventions For more information on document conventions, see the Cisco Technical Tips Conventions. Prerequisites There are no specific prerequisites for this document. Components Used This document is not restricted to specific software and hardware versions. The information presented in this document was created from devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If you are working in a live network, ensure that you understand the potential impact of any command before using it. Overview of GRE Before learning about QoS over GRE tunnels, you first need to understand the format of a tunneled packet.

A tunnel interface is a virtual or logical interface on a router running Cisco IOS Software. It creates a virtual point to point link between two Cisco routers at remote points over an IP internetwork. GRE is an encapsulation protocol supported by IOS and defined in RFC 1702. Tunneling protocols encapsulate packets inside of a transport protocol. A tunnel interface supports a header for each of the following: A passenger protocol or encapsulated protocol, such as IP, AppleTalk, DECnet, or IPX. A carrier protocol (GRE in this case). A transport protocol (IP only in this case). The format of a tunnel packet is illustrated below: See Configuring Logical Interfaces for more information on configuring GRE tunnels. Cisco QoS for GRE Tunnels A tunnel interface supports many of the same QoS features as a physical interface. The following sections describe the supported QoS features. Shaping IOS 12.0(7)T introduced support for applying generic traffic shaping (GTS) directly on the tunnel interface. The following sample configuration shapes the tunnel interface to an overall output rate of 500 kbps. See Configuring Generic Traffic Shaping for more information. interface Tunnel0 ip address 130.1.2.1 255.255.255.0 traffic shape rate 500000 125000 125000 1000 tunnel source 10.1.1.1 tunnel destination 10.2.2.2 IOS 12.1(2)T added support for class based shaping using the modular QoS command line interface (MQC). The following sample configuration shows how to apply the same shaping policy to the tunnel interface with the MQC commands. See Configuring Class Based Shaping for more information. policy map tunnel class class default shape average 500000 125000 125000 interface Tunnel0

Policing ip address 130.1.2.1 255.255.255.0 service policy output tunnel tunnel source 130.1.35.1 tunnel destination 130.1.35.2 When an interface becomes congested and packets start to queue, you can apply a queuing method to packets waiting to be transmitted. Cisco IOS logical interfaces do not inherently support a state of congestion and do not support the direct application of a service policy that applies a queuing method. Instead, you need to apply a hierarchical policy as follows: 1. Create a "child" or lower level policy that configures a queueing mechanism, such as low latency queueing with the priority command and class based weighted fair queueing (CBWFQ) with the bandwidth command. See Congestion Management for more information. policy map child class voice priority 512 2. Create a "parent" or top level policy that applies class based shaping. Apply the child policy as a command under the parent policy since admission control for the child class is done based on the shaping rate for the parent class. 3. policy map tunnel class class default shape average 2000000 service policy child Apply the parent policy to the tunnel interface. interface tunnel0 service policy tunnel The router prints the following log message when a tunnel interface is configured with a service policy that applies queuing without shaping. router(config)# interface tunnel1 router(config if)# service policy output child Class Based Weighted Fair Queueing not supported on this interface Tunnel interfaces also support class based policing, but they do not support committed access rate (CAR). Note: Service Policies are not supported on tunnel interfaces on 7500. Congestion Avoidance IOS 11.3T introduced IP Precedence for GRE Tunnels, which configures the router to copy the IP precedence bit values of the ToS byte to the tunnel or GRE IP header that encapsulates the inner packet. Previously, those bits were set to zero. Intermediate routers between the tunnel endpoints can use the IP precedence values to classify the packets for QoS features such as policy routing, WFQ, and weighted random early detection (WRED). The qos pre classify command When packets are encapsulated by tunnel or encryption headers, QoS features are unable to examine the

original packet headers and correctly classify the packets. Packets traveling across the same tunnel have the same tunnel headers, so the packets are treated identically if the physical interface is congested. With the introduction of the Quality of Service for Virtual Private Networks (VPNs) feature, packets can now be classified before tunneling and encryption occur. In the following example, tunnel0 is the tunnel name. The qos pre classify command enables the QoS for VPNs feature on tunnel0: Router(config)# interface tunnel0 Router(config if)# qos pre classify Characterizing Traffic for QoS Policies When configuring a service policy, you first may need to characterize the traffic that is traversing the tunnel. Cisco IOS supports Netflow and IP Cisco Express Forwarding (CEF) accounting on logical interfaces like tunnels. See the NetFlow Services Solutions Guide and the Configuration Guide for Cisco IOS Technical Marketing NetFlow Deployment on Logical Interfaces for more information. Where Do I Apply the Service Policy? You can apply a service policy to either the tunnel interface or to the underlying physical interface. The decision of where to apply the policy depends on the QoS objectives. It also depends on which header you need to use for classification. Apply the policy to the tunnel interface without qos preclassify when you want to classify packets based on the pre tunnel header. Apply the policy to the physical interface without qos preclassify when you want to classify packets based on the post tunnel header. In addition, apply the policy to the physical interface when you want to shape or police all traffic belonging to a tunnel, and the physical interface supports several tunnels. Apply the policy to a physical interface and enable qos preclassify when you want to classify packets based on the pre tunnel header. Multipoint Tunnel Interfaces CBWFQ inside class based shaping is not supported on a multipoint interface. Cisco bug ID CSCds87191 configures the router to print an error message when rejecting the policy. Known Issues In rare conditions, applying a service policy configured with the shape command leads to high CPU utilization and alignment errors. The CPU load is caused by logging the alignment errors, which in turn are caused by CEF incorrectly setting the output interface and adjacency rewrite information. This problem affects only non RSP platforms (low end) and platforms using particle based CEF switching, and is resolved via Cisco bug IDs CSCdu45504 and CSCuk30302. You also can consider the following workarounds: Replace GRE encapsulation with tunnel mode ipip. Replace the shape command with the police command. Configure shaping on the physical interface supporting the tunnel.

Related Information Quality of Service for Virtual Private Networks GRE Tunnel Over Cable Sample Configuration and Verification QoS Support Page Technical Support Cisco Systems All contents are Copyright 1992 2003 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.