Configuration Examples For Queuing And Scheduling; Example: Configuring Wred On Egress Queues; Example: Configuring Traffic Shaping - 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

Configuration Examples for Queuing and Scheduling

Eth2/14
Eth2/15
Eth2/16
Eth2/17
Eth2/18
Eth2/19
Eth2/20
Eth2/21
Eth2/22
Eth2/23
Eth2/24
Configuration Examples for Queuing and Scheduling
In this section, you can find examples of configuring queuing and scheduling.
Note
The default system classes type queuing match based on qos-group (by default all traffic matches to qos-group
0, and this default queue gets 100% bandwidth). Create a type QoS policy that first sets the qos-group in order
to drive the correct matching for the type queuing classes and policies.

Example: Configuring WRED on Egress Queues

The following example shows how to configure the WRED feature on an egress queue:
configure terminal
class-map type queuing match-any c-out-q1
class-map type queuing match-any c-out-q2
policy-map type queuing wred

Example: Configuring Traffic Shaping

The following example shows how to configure traffic shaping using 1000 packets per second (pps)::
configure terminal
class-map type queuing match-any c-out-q1
class-map type queuing match-any c-out-q2
policy-map type queuing pqu
class type queuing c-out-q1
shape min 100 pps max 500 pps
class type queuing c-out-q2
shape min 200 pps max 1000 pps
show policy-map type queuing pqu
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
132
1a081a00 4
0
1a081c00 4
0
1a081e00 4
0
1a082000 4
0
1a082200 4
0
1a082400 4
0
1a082600 4
0
1a082800 4
0
1a082a00 4
0
1a082c00 4
0
1a082e00 4
0
match qos-group 1
match qos-group 1
class type queuing c-out-q1
random-detect minimum-threshold 10 bytes maximum-threshold 1000 bytes
class type queuing c-out-q2
random-detect threshold burst-optimized ecn
match qos-group 1
match qos-group 1
26
255
13
-1
27
255
14
-1
28
255
15
-1
29
255
16
-1
30
255
17
-1
31
255
18
-1
32
255
19
-1
33
255
20
-1
34
255
21
-1
35
255
22
-1
36
255
23
-1
Configuring Queuing and Scheduling

Advertisement

Table of Contents
loading

Table of Contents