hit counter script

Configuring Cos Marking - Cisco Nexus 9000 Series Configuration Manual

Nx-os quality of service configuration, release 7.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring CoS Marking

Configuring CoS Marking
You can set the value of the CoS field in the high-order three bits of the VLAN ID Tag field in the IEEE
802.1Q header.
SUMMARY STEPS
1. configure terminal
2. policy-map [type qos] [match-first] [qos-policy-map-name | qos-dynamic]
3. class [type qos] {class-map-name | class-default} [insert-before before-class-name]
4. set cos cos-value
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
policy-map [type qos] [match-first] [qos-policy-map-name
| qos-dynamic]
Example:
switch(config)# policy-map policy1
switch(config-pmap-qos)#
Step 3
class [type qos] {class-map-name | class-default}
[insert-before before-class-name]
Example:
switch(config-pmap-qos)# class class1
switch(config-pmap-c-qos)#
Step 4
set cos cos-value
Example:
switch(config-pmap-c-qos)# set cos 3
switch(config-pmap-c-qos)#
Example
This example shows how to display the policy-map configuration:
switch# show policy-map policy1
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
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 CoS value to cos-value. The value can range from
0 to 7.
Configuring Marking

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents