Configuring Dscp Port Marking - Cisco Nexus 7000 Series Configuration Manual

Nx-os quality of service configuration guide
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring DSCP Port Marking

Configuring DSCP Port Marking
You can set the DSCP value for each class of traffic defined in a specified ingress policy map.
The default behavior of the device is to preserve the DSCP value or to trust DSCP. To make the port untrusted,
change the DSCP value. Unless you configure a QoS policy and attach that policy to specified interfaces, the
DSCP value is preserved.
Note
• You can attach only one policy type qos map to each interface in each direction.
• The DSCP value is trust on the Layer 3 port of a Cisco NX-OS device.
• If the default policy-map policy is used, DSCP maps to a relevant CoS value and the queuing works
• If a customer policy is used, you must manually set the DSCP value to map to a CoS value so that the
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
54
correctly.
traffic is queued to the correct queue.
Command or Action
switch# configure terminal
switch(config)# policy-map [type qos]
[match-first] {qos-policy-map-name |
qos-dynamic}
switch(config-pmap-qos)# class [type qos]
{class-map-name | qos-dynamic |
class-default} [insert-before
before-class-map-name]
switch(config-pmap-c-qos)# set dscp
dscp-value
switch(config-pmap-c-qos)# exit
switch(config-pmap-qos)# class [type qos]
{class-map-name | qos-dynamic |
class-default} [insert-before
before-class-map-name]
Configuring Marking
Purpose
Enters global configuration mode.
Creates or accesses the policy map named
qos-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.
The class is added to the end of the policy map
unless insert-before is used to specify the class
to insert before. 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. Valid
values are shown in
Table 16: Standard DSCP
Values, on page
48.
Returns to policy-map configuration mode.
Creates a reference to class-map-name, and
enters policy-map class configuration mode.
The class is added to the end of the policy map
unless insert-before is used to specify the class
to insert before. Use the class-default keyword

Advertisement

Table of Contents
loading

Table of Contents