diffserv-mode (VSI view)

Function

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.

Format

diffserv-mode { pipe service-class color | short-pipe service-class color [ domain ds-name ] | uniform }

undo diffserv-mode

Parameters

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.

-

Views

VSI view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

To configure a Diff-Serv mode:

  • If service priorities on an MPLS network need to be distinguished, configure the Uniform mode.
  • If service priorities do not need to be distinguished, configure the Pipe or Short-pipe mode.

    When service class is configured for the packets that enter the public network from a private network:
  • To transmit signaling protocol, set service class to cs7 and cs6.
  • To ensure the QoS for low-delay services, set the service class to ef.
  • To ensure the bandwidth for key services, set service class to af4, af3, af2, or af1.
  • Set the service class to be (a service class) for the services that do not need strict QoS assurance.

    The packets with the preceding service classes are arranged in descending order of sending priorities.

    The colors of packets that enter the public network from a private network are in ascending order of discard priorities. That is green, yellow, and red.

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.

Example

# Configure the MPLS DiffServ mode to be Pipe in the VSI view, service type as af1, and the packet color to be green.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >