Cisco Nexus 7000 Series Configuration Manual page 123

Nx-os quality of service configuration guide
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring Queuing and Scheduling on M-Series I/O Modules
You can configure shaping on an egress queue to impose a maximum rate on it. You use the system-defined
egress queue class for the type of module to which you want to apply the policy map. For the list of available
system-defined class maps for each module, see
15.
Note
Configuring shaping for a queue is independent of priority or bandwidth in the same policy map.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Command or Action
switch# configure terminal
switch(config)# policy-map type queuing
[match-first] {policy-map-name |
que-dynamic}
switch(config-pmap-c-que)# class type queuing
class-queuing-name
switch(config-pmap-c-que)# shape [average]
{rate [bps | kbps | mbps | gbps] | percent
percent}
switch(config-pmap-c-que)# exit
(Optional) switch(config)# show policy-map
type queuing [policy-map-name |
que-dynamic]
(Optional) switch(config)# copy
running-config startup-config
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Table 6: System-Defined Type queuing Class Maps, on page
Purpose
Enters global configuration mode.
Configures the policy map of type queuing, and
then enters policy-map mode for the policy-map
name that you specify. Policy-map names can
contain alphabetic, hyphen, or underscore
characters, are case sensitive, and can be up to
40 characters.
Configures the class map of type queuing, and
then enters policy-map class queuing mode.
You must select one of the system-defined
priority queues.
Assigns a maximum rate on an output queue.
You can configure a data rate by the bit rate or
as a percentage of the underlying interface link
rate. The default bit rate is in bits per second
(bps). The data rate is from 8000 bps to 10 gbps.
The percentage range is from 1 to 100.
You can use only the percent
Note
keyword for interfaces set to
autonegotiate.
Repeat Steps 3 to 4 to configure shaping for
other queuing classes.
Exits policy-map queue mode, and enters global
configuration mode.
Displays information about all configured
policy maps or a selected policy map of type
queuing.
Saves the running configuration to the startup
configuration.
Configuring Shaping
107

Advertisement

Table of Contents
loading

Table of Contents