
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-14
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring QoS
Configuring QoS on Interfaces
Configuring Untagged CoS
Any incoming packet not tagged with an 802.1p CoS value is assigned the default untagged CoS value
of zero (which maps to the default Ethernet drop system class). You can override the default untagged
CoS value for an Ethernet interface or port channel.
To configure the untagged CoS value, perform this task:
Configuring Ingress Policies
An ingress policy is a service policy applied to incoming traffic on an Ethernet interface. The ingress
policy is applied in the adapter to all outgoing traffic that matches the specified class. When you
configure an ingress policy on an interface or port channel, the switch sends the configuration data to
the adapter.
To configure an ingress policy, perform this task:
The following example shows that the system class best-effort-drop-class is guaranteed 20 percent of the
bandwidth on interface eth1/1:
switch(config)#
class-map
best-effort-drop-class
switch(config-cmap)#
match cos
5
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
interface
{
ethernet
slot
/
port
|
port-channel
channel-number
}
Enters configuration mode for the specified interface
or port channel.
Step 3
switch(config-if)#
untagged cos
cos-value
Configures the untagged CoS value.
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
class-map
class-name
Creates a class for the ingress policy.
Step 3
switch(config)#
policy-map
policy1-name
Creates a policy map to specify the QoS parameters for
the ingress policy.
Step 4
switch(config-pmap)#
class
class-name
Associates the ingress class with this policy and enters
configuration mode for the class.
Step 5
switch(config-pmap-c)
bandwidth percent
percentage
(Optional) Specifies the guaranteed percentage of
bandwidth allocated to incoming traffic of this class.
Step 6
switch(config-pmap-c)
priority
(Optional) Specifies that ingress traffic in this class is
mapped to a strict priority queue.
Step 7
switch(config)#
interface interface
{
ethernet
slot
/
port
|
port-channel
channel-number
}
Enters configuration mode for the specified interface.
Note
service policy on a port channel overrides any
service policy configuration on individual
member interfaces.
Step 8
switch(config-if)#
service-policy input
policy-name
Applies the policy map to the interface.