Attaching The System Service Policy; Restoring The Default System Service Policies - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Attaching the System Service Policy

Attaching the System Service Policy
You can use the service-policy command to associate the system class policy map as the service policy for
the system.
Procedure
Step 1
Step 2
Step 3
This example shows how to set a no-drop Ethernet policy map as the system class:
switch(config)# class-map type network-qos ethCoS4
switch(config-cmap-nq)# match cos 4
switch(config-cmap-nq)# exit
switch(config)# policy-map type network-qos ethNoDrop
switch(config-pmap-nq)# class type network-qos ethCoS4
switch(config-pmap-c-nq)# pause no-drop
switch(config-pmap-c-nq)# exit
switch(config-pmap-nq)# exit
switch(config)# system qos
switch(config-sys-qos)# service-policy type network-qos ethNoDrop

Restoring the Default System Service Policies

If you have created and attached new policies to the system qos configuration, you must reapply the default
policies to restore the system.
Procedure
Step 1
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
442
Command or Action
switch# configure terminal
switch(config)# system qos
switch(config-sys-qos)#
service-policy type
{network-qos | qos | queuing}
[input | output] policy-name
Command or Action
switch# configure terminal
Purpose
Enters configuration mode.
Enters system class configuration mode.
Specifies the policy map to use as the service policy for the system.
There are three policy-map configuration modes:
• network-qos—Network-wide (system qos) mode.
• qos—Classification mode (system qos input or interface input
only).
• queuing—Queuing mode (input and output at system qos
and interface).
There is no default policy-map configuration mode; you
Note
must specify the type. The input keyword specifies that
this policy map should be applied to traffic received on
an interface. The output keyword specifies that this
policy-map should be applied to traffic transmitted from
an interface. You can only apply input to a qos policy;
you can apply both input and output to a queuing policy.
Purpose
Enters configuration mode.
Configuring System Classes
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents