hit counter script

Configuration Examples For Queuing And Scheduling; Example: Configuring Wred On Egress Queues; Example: Configuring Traffic Shaping - Cisco Nexus 9000 Series Configuration Manual

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

Advertisement

Configuration Examples for Queuing and Scheduling

Legends:
--------------------------------------------------------------------
Name
--------------------------------------------------------------------
Eth2/1
Eth2/2
Eth2/3
Eth2/4
Eth2/5
Eth2/6
Eth2/7
Eth2/8
Eth2/9
Eth2/10
Eth2/11
Eth2/12
Eth2/13
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.

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
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
122
SMod
- Source Mod. 0 is N/A
Unit
- Unit on which port resides. N/A for port channels
HPort - Hardware Port Number or Hardware Trunk Id:
FPort - Fabric facing port number. 255 means N/A
NPort - Front panel port number
VPort - Virtual Port Number. -1 means N/A
Ifindex
Smod Unit HPort FPort NPort VPort
1a080000 4
0
1a080200 4
0
1a080400 4
0
1a080600 4
0
1a080800 4
0
1a080a00 4
0
1a080c00 4
0
1a080e00 4
0
1a081000 4
0
1a081200 4
0
1a081400 4
0
1a081600 4
0
1a081800 4
0
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
13
255
0
-1
14
255
1
-1
15
255
2
-1
16
255
3
-1
17
255
4
-1
18
255
5
-1
19
255
6
-1
20
255
7
-1
21
255
8
-1
22
255
9
-1
23
255
10
-1
24
255
11
-1
25
255
12
-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

Save PDF