Configuring Interface QoS
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 or EtherChannel interface.
You can configure flow control on a Layer 2 or Layer 3 interface. Use the
no switchport
command to configure
a Layer 3 interface
On a Cisco Nexus device, you can configure a type qos policy map and untagged CoS on the same interface.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Enters the configuration mode for the specified
interface or port channel.
switch(config)#
interface
{
ethernet
[
chassis
/]
slot
/
port
|
port-channel
channel-number
}
Step 2
Configures the untagged CoS value. Values
can be from 1 to 7.
switch(config-if)#
untagged cos cos-value
Step 3
The following example shows how to set the CoS value to 4 for untagged frames received on an interface:
switch#
configure terminal
switch(config)#
interface ethernet 1/2
switch(config-if)#
untagged cos 4
Configuring an Interface Service Policy
An input qos policy is a service policy applied to incoming traffic on an Ethernet interface for classification.
For type queuing, the output policy is applied to all outgoing traffic that matches the specified class. When
you configure an input queuing policy on an interface or EtherChannel, the switch sends the configuration
data to the adapter using the DCBX protocol.
Type qos policies can be activated only on Cisco Nexus device interfaces and Cisco Nexus Fabric Extender
interfaces. Type qos policies on Fabric Extender fabric interfaces or Fabric Extender fabric EtherChannel
interfaces are ineffective, though the Cisco NX-OS CLI does not reject the configuration.
We recommend that you do not configure type qos policy-maps on Fabric Extender fabric interfaces or
Fabric Extender fabric EtherChannel interfaces to avoid wasting hardware resources.
Note
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
OL-26657-01
45
Configuring QoS on Interfaces
Configuring Interface QoS