mpls l2vc diffserv domain

Function

The mpls l2vc diffserv domain command specifies a DS domain to which a VLL-enabled interface is bound and to which the private network tag preference to be marked belongs.

The undo mpls l2vc diffserv domain command restores the default setting.

By default, the private network tag preference that a VLL-enabled interface uses is marked to be that in the default domain.

Format

mpls l2vc diffserv domain { 5p3d | domain-name | default }

undo mpls l2vc diffserv domain

Parameters

Parameter Description Value
5p3d

Indicates the DS domain with the name 5P3D that is predefined by the system. 5P3D domain takes effect only in the Layer 2 GE interface view or GE sub-interface view.

-

domain-name

Specifies the name of a DS domain.

The value is a string of 1 to 48 case-sensitive characters.

default

Specifies the default domain.

-

Views

100GE interface view, 10G LAN interface view, 10G WAN interface view, 25GE interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE sub-interface view, GE electrical interface view, Global VE interface view, VE sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

In the VLL networking, after a PE receives user packets, the PE's AC interface encapsulates a private network tag into the user packets and then the PE's PW interface encapsulates a public network tag into the user packets. Both tags have their own EXP values.

By default, when the trust upstream command is configured on the AC or PW interface to bind the interface to a DS domain, the EXP values of the public network tag and the private network tag are changed to the same value. In this case, carriers fail to differentiate services or users based on the EXP values of inner (private network) tags and outer (public network) tags.

Example

# Specify the DS domain named ds1 for marking the private network tag priority of GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] diffserv domain ds1
[*HUAWEI-dsdomain-ds1] quit
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] mpls l2vc diffserv domain ds1
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >