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 #278 background imageLoading...
Page #278 background image
7-28
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 7 Marking Traffic
Configuring Traffic Marking
Configuring QoS Group Marking
To mark packets with a local QoS group ID, enter the following commands beginning in global
configuration mode:
Configuration Examples for Configuring QoS Group Marking and Classification
Example 7-7 shows how to configure QoS group marking. In this example, the router classifies inbound
packets on the Gigabit Ethernet interface 1/0/0 based on the class of service value. If the packet CoS
value is 5, the router assigns the packet to the class named Group and sets the packet qos-group ID to 4
as indicated in the policy map named Policy1.
Example 7-7 Configuring QoS Group Marking
Router(config)# class-map Group
Router(config-cmap)# match cos 5
Router(config-cmap)# exit
Router(config)# policy-map Policy1
Router(config-pmap)# class Group
Router(config-pmap-c)# set qos-group 4
Command Purpose
Step 1
Router(config)# policy-map policy-map-name
Specifies the name of the policy map and enters policy-map
configuration mode.
policy-map-name is the name of the policy map.
Step 2
Router(config-pmap)# class class-map-name
Assigns the traffic class you specify to the policy map. Enters
policy-map class configuration mode.
class-map-name is the name of a previously configured class
map and is the traffic class for which you want to define QoS
actions.
Step 3
Router(config-pmap-c)# set qos-group
group-id
Sets a QoS group identifier (ID) to use in classifying packets.
group-id is the group identifier. Valid values are from 0 to 99.
Step 4
Router(config-pmap-c)# exit
Exits policy-map class configuration mode.
Step 5
Router(config-pmap)# exit
Exits policy-map configuration mode.
Step 6
Router(config)# interface type number
Specifies the interface to which you want to attach the service
policy map. Enters interface configuration mode.
type is the type of interface (for example, serial).
number is the number of the interface (for example, 1/0/0).
Step 7
Router(config-if)# service-policy {input |
output} policy-map-name
Attaches the policy map you specify to the interface. The
router applies the service policy to packets on the interface in
either the input or output direction.
input indicates to apply the service policy to inbound
packets.
output indicates to apply the service policy to outbound
packets.
policy-map-name is the name of the policy map.

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