diffserv-mode (Tunnel interface view)

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 | uniform }

undo diffserv-mode

Parameters

Parameter Description Value
pipe

Specifies that the MPLS DiffServ mode is Pipe.

-

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.

uniform

Specifies that the MPLS DiffServ mode is Uniform.

-

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-base 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 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.

Example

# Configure the MPLS DiffServ mode to be Pipe in the interface view, the service class to be af1.
<HUAWEI> system-view
[~HUAWEI] interface Tunnel1
[~HUAWEI-Tunnel1] tunnel-protocol mpls te
[*HUAWEI-Tunnel1] diffserv-mode pipe af1 green
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >