Purpose
Command or Action
(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:
switch(config-sys-qos)#
service-policy type
{
network-qos
|
qos
|
queuing
}
Step 4
[
input
|
output
]
fcoe default
policy-name
•
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
Before enabling FCoE on a Cisco Nexus device, you must
attach the pre-defined FCoE policy maps to the type qos,
type network-qos, and type queuing policy maps.
Note
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.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Enters system class configuration mode.
switch(config)#
system qos
Step 2
Resets the classification mode policy map.
This policy-map configuration is for system
QoS input or interface input only:
switch(config-sys-qos)#
no service-policy type
qos input policy-map name
Step 3
Resets the network-wide policy map.
switch(config-sys-qos)#
no service-policy type
network-qos policy-map name
Step 4
Resets the output queuing mode policy map.
switch(config-sys-qos)#
no service-policy type
queuing output policy-map name
Step 5
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
38
OL-26657-01
Configuring QoS on the System
Restoring the Default System Service Policies