Configures the egress Diffserv replacement mapping for either a QoS profile or an 802.1p priority value.
| 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. | 
N/A.

Note
We recommend that you use the qosprofile qosprofile value to configure this parameter.
| 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  | 
                            
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
This command was first available in ExtremeXOS 11.0.
The ports keyword was first available in ExtremeXOS 12.2.2.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, and X695 series switches.