configure diffserv replacement code-point
Description
Configures the egress Diffserv replacement mapping for either a QoS profile or an 802.1p priority value.
Syntax Description
qosprofile | Specifies a QoS profile. |
priority |
Specifies an 802.1p priority value to map to a code point. |
code_point |
Specifies a 6-bit value to be used as the replacement DSCP in the IPv4 or IPv6 header. |
Default
N/A.
Usage Guidelines

Note
We recommend that you use the qosprofile qosprofile value to configure this parameter.
Egress packets contain the DSCP assigned to the QoS profile, which can
be selected by the 802.1p code point or by an ACL. The
default 802.1p priority value to QoS profile to DSCP mapping is shown in the
following table.
802.1p Priority Value | ExtremeSwitching Series Switches QoS Profile | DSCP |
---|---|---|
0 |
QP1 |
0 |
1 |
QP1 |
8 |
2 |
QP1 |
16 |
3 |
QP1 |
24 |
4 |
QP1 |
32 |
5 |
QP1 |
40 |
6 |
QP1 |
48 |
7 |
QP8 |
56 |
Example
The following command specifies that a code point value of 5 should be used to replace the DiffServ (TOS) bits in packets in QP2:
# configure diffserv replacement qosprofile qp2 code-point 5
History
This command was first available in ExtremeXOS 11.0.
The ports keyword was first available in ExtremeXOS 12.2.2.
Platform Availability
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.