8.1.5. qos remark

Syntax

qos remark (cos | dscp | precedence)

no qos remark (cos | dscp | precedence)

Parameter


cos Enable/Disable cos remarking.

dscp Enable/Disable dscp remarking.

precedence Enable/Disable precedence remarking.


Default

Default CoS remarking is disabled.

Default DSCP remarking is disabled.

Default IP Precedence remarking is disabled.

Mode

Interface Configuration

Usage

QoS remarking feature allow you to change priority information in packets based on egress queue. For example, you want all packets egress from interface fa1 queue 1 to remark the cos value to be 5 for next tier of device, you can enable the cos remarking feature on fa1 and configure the queue-cos map for queue 1 map to cos 5.

Use “qos remark” command to enable remarking feature on specific type. And use “no qow remark” command to disable it.

Example

This example shows how to enable remarking features on interface fa1.

Switch(config)# interface GigabitEthernet 1
Switch(config-if)# qos remark cos
Switch(config-if)# qos remark dscp
Switch(config-if)# qos remark precedence
Switch(config-if)# end
Switch# show qos interface GigabitEthernet 1
Port | CoS | Trust State | Remark Cos | Remark DSCP | Remark IP Prec
--------+-------+---------------+------------+-------------+-------
gi1 | 0 | enabled | enabled | enabled | enabled |