The diffserv-mode command configures the MPLS Differentiated Services (Diff-Serv) model to provide end-to-end QoS assurance.
The undo diffserv-mode command restores the MPLS Diff-Serv model.
By default, the Uniform model is used.
Parameter | Description | Value |
---|---|---|
pipe |
Specifies the pipe model. |
- |
service-class |
Specifies the service type when the packet enters the public network from the private network. |
The value can be cs7, cs6, ef, af4, af3, af2, af1, or be. |
color |
Specifies the color for marking the discard priority of a packet transmitted from a private network to a public network. |
The value can be green, yellow, or red. |
short-pipe |
Specifies the short Pipe model. |
- |
domain ds-name |
Specifies the DS domain name of the specified PHB applied to the egress in Short Pipe model. |
The value is a string of 1 to 48 case-sensitive characters, spaces not supported. |
uniform |
Specifies the uniform model. |
- |
Usage Scenario
To configure a Diff-Serv mode:
Precautions
VXLAN does not support Pipe/Short-pipe mode. A VSI that is added to a VXLAN cannot be configured to work in Pipe/Short-pipe mode. A VSI that is configured to work in Pipe/Short-pipe mode cannot be added to a VXLAN.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] commit [~HUAWEI-l2vpn] quit [~HUAWEI] vsi vsia [*HUAWEI-vsi-vsia] diffserv-mode pipe af1 green