diffserv-mode(evpn)

Function

The diffserv-mode command configures an MPLS DiffServ mode to ensure end-to-end QoS.

The undo diffserv-mode command restores an MPLS DiffServ mode to the default configuration.

By default, the MPLS DiffServ mode is Uniform.

Format

diffserv-mode pipe service-class color

diffserv-mode short-pipe service-class color [ domain ds-name ]

diffserv-mode uniform

undo diffserv-mode

Parameters

Parameter Description Value
service-class

Specifies the Class of Service (CoS) for the packets that enter the public network from a private network.

The value can be cs7, cs6, ef, af4, af3, af2, af1, or be.

color

Specifies the color of a packet that enters the public network from a private network. The color marks the discard priority of the packet.

The value can be green, yellow, or red.

short-pipe

Specifies that the MPLS DiffServ mode is Short-pipe.

-

domain ds-name

Specifies the name of a Diff-Serv domain that uses a specified PHB on an egress node in Short-pipe mode.

The value is a string of 1 to 48 characters.

uniform

Specifies that the MPLS DiffServ mode is Uniform.

-

pipe

Specifies that the MPLS DiffServ mode is Pipe.

-

Views

EVPL view, EVPN instance view, bd-evpn-instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
evpnbgp 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 you configure the service type of packets transmitted from a private network to the public network:

  • Configure the service type as cs7 or cs6 to send signaling protocol packets.
  • Configure the service type as ef to ensure low latency.
  • Configure the service type as af4, af3, af2, or af1 to ensure the bandwidth key data.
  • Configure the service type as be for the best effort delivery without strict QoS assurance.

    The preceding service types are listed in the descending order of sending priorities.

The colors of the packets sent from private network to the public network are arranged in the ascending order of the discard priorities, specifically, green, yellow, and red.

Example

# Configure the MPLS DiffServ mode to be Pipe in the EVPN instance view, the service class to be af1, and the packet color to be green.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance evpn1
[*HUAWEI-evpn-instance-evpn1] diffserv-mode pipe af1 green
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >