Configuring Cos Classification - 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 CoS Classification

Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Example
This example shows how to display the packet length class-map configuration:
switch# show class-map class_packet_length
Configuring CoS Classification
You can classify traffic based on the class of service (CoS) in the IEEE 802.1Q header. This 3-bit field is
defined in IEEE 802.1p to support QoS traffic classes. CoS is encoded in the high order 3 bits of the VLAN
ID Tag field and is referred to as user_priority.
Note
The match cos command is not supported in the egress direction.
Procedure
Step 1
Step 2
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
40
Command or Action
switch# configure terminal
switch(config)# class-map [type qos]
[match-any | match-all] class-map-name
switch(config-cmap-qos)# match [not] packet
length packet-length-list
switch(config-cmap-qos)# exit
(Optional) switch(config)# copy
running-config startup-config
Command or Action
switch# configure terminal
switch(config)# class-map [type qos]
[match-any | match-all] class-map-name
Configuring Classification
Purpose
Enters global configuration mode.
Creates or accesses the class map named
class-map-name and enters class-map mode.
The class map name can contain alphabetic,
hyphen, or underscore characters, is case
sensitive, and can be up to 40 characters.
Configures the traffic class by matching packets
based on various packet lengths. Values can
range from 1 to 9198.
Use the not keyword to match on values that
do not match the specified range.
Exits global class-map queuing mode, and
enters configuration mode.
Saves this configuration change.
Purpose
Enters global configuration mode.
Creates or accesses the class map named
class-map-name and enters class-map mode.
The class map name can contain alphabetic,

Advertisement

Table of Contents
loading

Table of Contents