Cisco Nexus 9000 Series Configuration Manual page 94

Nexus 9000 series data center switches
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring DSCP Port Marking
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
policy-map [type qos] [match-first]
[policy-map-name]
Example:
switch(config)# policy-map policy1
switch(config-pmap-qos)#
Step 3
class [type qos] {class-name | class-default}
[insert-before before-class-name]
Example:
switch(config-pmap-qos)# class class1
switch(config-pmap-c-qos)#
Step 4
set dscp-value
Example:
switch(config-pmap-c-qos)# set dscp af31
Step 5
exit
Example:
switch(config-pmap-c-qos)# exit
switch(config-pmap-qos)#
Step 6
class [type qos] {class-name | class-default}
[insert-before before-class-name]
Example:
switch(config-pmap-qos)# class class2
switch(config-pmap-c-qos)#
Step 7
set dscp-value
Example:
switch(config-pmap-c-qos)# set dscp af1
Step 8
exit
Example:
switch(config-pmap-c-qos)# exit
switch(config-pmap-qos)#
Step 9
class [type qos] {class-name | class-default}
[insert-before before-class-name]
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
80
Purpose
Enters global 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-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 listed in the
Standard DSCP Values table in the Configuring DSCP Marking
section.
Returns to policy-map configuration mode.
Creates a reference to class-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 listed in the
Standard DSCP Values table in the Configuring DSCP Marking
section.
Returns to policy-map configuration mode.
Creates a reference to class-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
Configuring Marking

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents