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 #142 background imageLoading...
Page #142 background image
1-128
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
set dscp
Set DSCP Values for IPv4 Packets Only
To set DSCP values for IPv4 packets only, use the ip keyword. Without the ip keyword, the match occurs
on both IPv4 and IPv6 packets.
Examples
Packet-marking Values and Table Map
In the following example, the policy map called “policy1” is created to use the packet-marking values
defined in a table map called “table-map1”. The table map 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 DSCP value will be set according to the CoS value defined in the table map called
“table-map1”.
Router(config)# policy-map policy1
Router(config-pmap)# class class-default
Router(config-pmap-c)# set dscp cos table table-map1
Router(config-pmap-c)# end
The set dscp command is applied when you create a service policy in QoS policy-map configuration
mode. This service policy is not yet attached to an interface. For information on attaching a service
policy to an interface, refer to the “Modular Quality of Service Command-Line Interface” section of the
Cisco IOS Quality of Service Solutions Configuration Guide.
Related Commands Command Description
match protocol Configures the match criteria for a class map on the basis of the specified
protocol.
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 cos Sets the Layer 2 CoS value of an outgoing packet.
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.
show table-map Displays the configuration of a specified table map or all table maps.
table-map (value
mapping)
Creates and configures a mapping table for mapping and converting one
packet-marking value to another.

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