U Commands

This chapter describes the Cisco NX-OS quality of service (QoS) commands that begin with U.

untagged cos

To override the class of service (CoS) value for the selected interface, use the untagged cos command. To revert to the defaults, use the no form of this command.

untagged cos cos-value

no untagged cos cos-value

 
Syntax Description

cos-value

Class of service (CoS) value for untagged frames. Values can range from 1 to 7.

 
Command Default

None

 
Command Modes

Interface configuration mode
Subinterface configuration mode
Virtual Ethernet interface configuration mode

 
Command History

Release
Modification

4.0(1a)N1(1)

This command was introduced.

5.0(2)N1(1)

Support to configure a type qos policy map and untagged cos on the same interface was added for Cisco Nexus 5548 switches.

5.0(3)N1(1)

Support for Layer 3 interfaces was added.

5.1(3)N1(1)

Support for virtual Ethernet interfaces was added.

 
Usage Guidelines

You can use this command on the following interfaces:

  • Layer 2 interface
  • Layer 3 interface

Note Use the no switchport command to configure an interface as a Layer 3 interface.


  • Virtual Ethernet interface

Note Use the feature-set virtualization command to enable the Cisco Adapter Fabric Extender (Adapter-FEX) on the switch. Use the interface vethernet command to configure a virtual Ethernet interface.


Ethernet frames received with no CoS value are given a CoS value of 0.

On a Cisco Nexus 5548 switch that runs Cisco NX-OS 5.0(2)N1(1), you can configure a type qos policy map and untagged CoS on the same interface.

Examples

This 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
 

This example shows how to set the CoS value to 3 for untagged frames received on a Layer 3 interface:

switch# configure terminal
switch(config)# interface ethernet 1/5
switch(config-if)# no switchport
switch(config-if)# untagged cos 3
switch(config-if)#
 

This example shows how to set the CoS value to 5 for untagged frames received on a virtual Ethernet interface:

switch# configure terminal
switch(config)# feature adapter-fex
Virtualization Plugin license checked out successfully
Virtualization Plugin extracted successfully
All Virtualization processes enabled successfully
switch(config)# interface vethernet 10
switch(config-if)# untagged cos 5
switch(config-if)#
 

 
Related Commands

Command
Description

feature-set virtualization

Enables the Cisco Virtual Machine features on the switch.

interface vethernet

Configures a virtual Ethernet interface.

match cos

Sets the CoS value to match for the selected class.

no switchport

Configures an interface as a Layer 3 routed interface.

show interface untagged-cos

Displays the untagged CoS values for interfaces.