Configuring Ip Precedence Marking - Cisco Nexus 5000 NX-OS Service Configuration Manual

Quality of service configuration guide, release 5.1 3 n2 1
Table of Contents

Advertisement

Configuring Marking
Value
ef
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
This example shows how to set the DSCP value to 10 and specify the qos-group to 2.
policy-map type qos test-bulkdata

Configuring IP Precedence Marking

You can set the value of the IP precedence field in bits 0 to 2 of the IPv4 type of service (ToS) field or the
equivalent Traffic Class field for IPv6 of the IP header. The following table shows the precedence values:
Note
You can set IP Precedence or DSCP but you can not set both values because they modify the same field
in the IP packet.
Table 7: Precedence Values
Value
<0-7>
OL-26657-01
Command or Action
config t
policy-map type qos
qos-policy-map-name
class [type qos]
{class-map-name |
class-default}
set dscp dscp-value
set qos-group y
class type qos bulkdata
set dscp 10
set qos-group 2
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
Configuring IP Precedence Marking
List of DSCP Values
EF dscp (101110)—decimal value 46
Purpose
Enters configuration mode.
Creates or accesses the policy map named policy-map-name,
and then enters policy-map mode. The policy-map name can
contain alphabetic, hyphen, or underscore characters, is case
sensitive, and can be up to 40 characters.
Creates a reference to class-map-name, and enters policy-map
class configuration mode. Use the class-default keyword to
select all traffic that is not currently matched by classes in the
policy map.
Sets the DSCP value to dscp-value. See the Standards DSCP
Values table.
Specifies the qos-group. The group value can be from 1 to 5.
Traffic in the class-default system class (qos-group 0),
Note
cannot be marked with DSCP.
List of Precedence Values
IP precedence value
29

Advertisement

Table of Contents
loading

Table of Contents