EasyManuals Logo

Cisco 10000 Series User Manual

Cisco 10000 Series
854 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #752 background imageLoading...
Page #752 background image
20-6
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 20 Configuring Quality of Service for MPLS Traffic
MPLS QoS
Classifying IP Packets Using a Class Map
To classify IP packets using a class map, enter the following commands on the ingress LSR beginning
in global configuration mode:
Configuration Example for Classifying IP Packets Using a Class Map
The following example creates a class map named exp4 with MPLS EXP 4 defined as the match
criterion. The router classifies all packets whose EXP bits are set to 4 as belonging to the exp4 traffic
class.
Router(config)# class-map match-all exp4
Router(config-cmap)# match mpls experimental topmost 4
Router(config-cmap)# end
The following example creates a class map named IP_prec4 with IP precedence 4 defined as the match
criterion. The router classifies all packets that contain IP precedence 4 as belonging to the IP_prec4
traffic class.
Router(config)# class-map match-all IP_prec4
Router(config-cmap)# match ip precedence 4
Router(config-cmap)# end
The following example creates a class map named http with the access control list (ACL) named http
defined as the match criterion. The router classifies all packets that match the http ACL as belonging to
the http traffic class.
Router(config)# class-map match-all http
Router(config-cmap)# match access-group name http
Router(config-cmap)# end
Command Purpose
Step 1
Router(config)# class-map class-map-name
Creates or modifies a class map.
class-map-name is the name of the class map.
Step 2
Router(config-cmap)# match mpls experimental
topmost value
(Optional) Specifies the MPLS EXP bits value used to classify
traffic.
Note You can configure MPLS EXP-based classification on
the ingress provider edge (PE), egress PE, provider
(P), or penultimate P router. This command is
available only on the PRE2.
Step 3
Router(config-cmap)# match criteria
Defines criteria by which the router matches packets to this
traffic class.
criteria is the match type (for example, precedence or DSCP
level)
For more information about match types, see the “Defining
Match Criteria Using the match Commands” section on
page 2-5.

Table of Contents

Other manuals for Cisco 10000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 10000 Series and is the answer not in the manual?

Cisco 10000 Series Specifications

General IconGeneral
BrandCisco
Model10000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals