qos cos

Syntax

qos cos <CODE-POINT>

no qos cos

Description

Configures a CoS PCP remark for an Ethernet or LAG interface. Packets that ingress on the interface are remarked using the configured CoS PCP value.

The remark only occurs when QoS trust mode on the interface is set to none.

If QoS trust mode is not set to none, then the remark is ignored, and the following commands will show the CoS remark status as ignored (incompatible Port Access Trust configuration) or not applied' (incompatible QoS global/port Trust configuration):
  • show running-configuration

  • show interface <PORT-NUM>

  • show interface <PORT-NUM> qos

The no form of this command removes a CoS remark on an interface.

Command context

config-if

Parameters

<CODE-POINT>

Specifies an 802.1 VLAN priority CoS value. Range: 0 to 7.

Authority

Administrators or local user group members with execution rights for this command.

Examples

On the 6400 Switch Series, interface identification differs.

Configuring a CoS remark of 3 on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# qos trust none
switch(config-if)# qos cos 3

Deleting a CoS remark of 3 on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# no qos cos