Restoring the Default System Service Policies
Command or Action
Step 3
switch(config-sys-qos)# service-policy
type {network-qos | qos | queuing}
[input | output] policy-name
Step 4
switch(config-sys-qos)# service-policy
type {network-qos | qos | queuing}
[input | output] fcoe default
policy-name
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 qos-group
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, enter the no form of the
command to reapply the default policies.
Cisco Nexus 5000 Series NX-OS Quality of Service Configuration Guide
32
Purpose
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 must specify the
Note
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.
(Optional)
Specifies the default FCoE policy map to use as the service policy for the system.
There are four pre-defined policy-maps for FCoE:
• service-policy type qos input fcoe-default-in-policy
• service-policy type queuing input fcoe-default-in-policy
• service-policy type queuing output fcoe-default-out-policy
• service-policy type network-qos fcoe-default-nq-policy
Note
Befoe enabling FCoE on the Cisco Nexus 5548 switch, you must attach
the pre-defined FCoE policy maps to the type qos, type network-qos, and
type queuing policy maps.
Configuring QoS
OL-20921-01