Configuring A Service Policy For A Layer 3 Interface - 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

Using Modular QoS CLI
Command or Action
switch(config-if)# service-policy input policy1
switch(config-if)#
Example:
switch(config-if)# interface intf1
switch(config-if)# service-policy type qos output
egressqos
switch(config-if)# exit
switch(config)#
Step 5
show policy-map interface interface slot/port type {qos
| queuing}
Example:
switch(config)# show policy-map interface ethernet
1/1 type qos
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config

Configuring a Service Policy for a Layer 3 Interface

Before you begin
Ensure that the ternary content addressable memory (TCAM) is carved for Layer 3 QoS.
For more details, see the Configuring QoS TCAM Carving section.
SUMMARY STEPS
1. configure terminal
2. interface interface slot/port
3. no switchport
4. service-policy type {qos input | queuing output} | {qos output | queuing output} policy-map-name
[no-stats]
5. show policy-map interface interface slot/port type {qos | queuing}
6. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Purpose
Note
(Optional) Displays information about policy maps that are
applied to the specified interface. You can limit what the
device displays to qos or queuing policies.
(Optional) Saves the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
Configuring a Service Policy for a Layer 3 Interface
• qos input or qos output — qos input is the default
classification mode. To set the classification mode to
egress, use qos output.
• queuing output —Queuing mode.
The output keyword specifies that this policy
map should be applied to traffic transmitted from
an interface. You can only apply output to a
queuing policy.
35

Advertisement

Table of Contents
loading

Table of Contents