diffserv-mode(Bridge domain view)

Function

The diffserv-mode command configures a DiffServ mode for a bridge domain (BD) to implement end-to-end QoS guarantee.

The undo diffserv-mode command deletes the DiffServ mode configured for a BD.

By default, a BD uses the Uniform DiffServ mode.

Format

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

undo diffserv-mode

Parameters

Parameter Description Value
pipe

Configures the DiffServ mode for a BD as Pipe.

-

service-class

Specifies the Class of Service (CoS) when a packet enters a public network from a private network.

The value can be CS7, CS6, EF, AF4, AF3, AF2, AF1, or BE.

color

Specifies a color for marking the drop precedence of a packet that enters a public network from a private network.

The value can be green, yellow, or red.

short-pipe

Configures the DiffServ mode for a BD as Short Pipe.

-

domain ds-name

Specifies a DS domain name that uses a specified PHB on an egress node when the DiffServ mode is Short Pipe.

The value is a string of 1 to 48 characters.

uniform

Configures the DiffServ mode for a BD as Uniform.

-

Views

Bridge domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

When multiple BDs access a VPLS network, run the diffserv-mode command to configure a DiffServ mode for each BD.

When you configure a DiffServ mode, note the following:

  • If you want to differentiate service priorities in a BD, configure the Uniform mode.
  • If you do not want to differentiate service priorities in a BD, configure the Pipe or Short-Pipe mode.

Configuration Impact

When you configure a service type for packets entering a public network from a private network, you have the following options:

  • To transmit signaling protocols, configure the service type as CS7 or CS6.
  • To guarantee low-delay services, configure the service type as EF.
  • To guarantee bandwidth of key data services, configure the service type as AF4, AF3, AF2, or AF1.
  • To transmit best-effort services without a strict QoS guarantee, configure the service type as BE.

    Packets of the preceding service types are sent in descending order of priorities.

    Colors of packets enter a public network from a private network are marked green, yellow, and red in ascending order of drop precedence.

Precautions

Different DiffServ mode is configured for PE egress and ingress with the following restriction:

In the same BD view, the vxlan vni command and diffserv-mode command are mutually exclusive.

If the diffserv-mode command is configured both in the BD view and VSI view, the one configured in the BD view takes effect.

VXLAN supports only BDs in Uniform DiffServ mode but not BDs in Pipe or Short-pipe DiffServ mode. If a BD is bound to a VNI, the BD cannot be configured to work in Pipe or Short-pipe DiffServ mode. If a BD is configured to work in Pipe or Short-pipe DiffServ mode, the BD cannot be bound to a VNI.

Example

# Configure the DiffServ mode of a BD as Pipe, the service type as AF1, and the color as green.
<HUAWEI> system-view
[~HUAWEI] bridge-domain 10
[*HUAWEI-bd10] diffserv-mode pipe af1 green
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >