EasyManuals Logo
Home>Cisco>Network Router>ASR 901

Cisco ASR 901 User Manual

Cisco ASR 901
218 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 #139 background imageLoading...
Page #139 background image
1-125
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
set cos
You can do the same for the DSCP marking category. That is, you can configure the set cos dscp
command, and the DSCP value will be copied and used as the CoS value.
Note If you configure the set cos dscp command, only the first three bits (the class selector bits) of the DSCP
field are used.
Examples In the following example, the policy map called “cos-set” is created to assign different CoS values for
different types of traffic. This example assumes that the class maps called “voice” and “video-data” have
already been created.
Router(config)# policy-map cos-set
Router(config-pmap)# class voice
Router(config-pmap-c)# set cos 1
Router(config-pmap-c)# exit
Router(config-pmap)# class video-data
Router(config-pmap-c)# set cos 2
Router(config-pmap-c)# end
Enhanced Packet Marking Example
In the following example, the policy map called “policy-cos” is created to use the values defined in a
table map called “table-map1”. The table map called “table-map1” was created earlier with the
table-map (value mapping) command. For more information about the table-map (value mapping)
command, see the table-map (value mapping) command page.
In this example, the setting of the CoS value is based on the precedence value defined in “table-map1”:
Router(config)# policy-map policy-cos
Router(config-pmap)# class class-default
Router(config-pmap-c)# set cos precedence table table-map1
Router(config-pmap-c)# end
Related Commands Command Description
match cos Matches a packet on the basis of Layer 2 CoS marking.
policy-map Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
service-policy Attaches a policy map to an input interface or VC, or an output interface or
VC, to be used as the service policy for that interface or VC.
set dscp Marks a packet by setting the Layer 3 DSCP value in the ToS byte.
set precedence Sets the precedence value in the packet header.
show policy-map Displays the configuration of all classes for a specified service policy map
or all classes for all existing policy maps.
show policy-map class Displays the configuration for the specified class of the specified policy
map.
show policy-map
interface
Displays the configuration of all classes configured for all service policies
on the specified interface or displays the classes for the service policy for a
specific PVC on the interface.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco ASR 901 and is the answer not in the manual?

Cisco ASR 901 Specifications

General IconGeneral
BrandCisco
ModelASR 901
CategoryNetwork Router
LanguageEnglish

Related product manuals