< Home

diffserv domain

Function

The diffserv domain command creates a DiffServ domain and displays the DiffServ domain view, or displays an existing DiffServ domain view.

The undo diffserv domain command deletes a specified DiffServ domain.

By default, the system defines a DiffServ mode named default.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, S5735S-S, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

diffserv domain { default | ds-domain-name }

undo diffserv domain ds-domain-name

Parameters

Parameter

Description

Value

default

Indicates the default DiffServ domain preset in the system.

-

ds-domain-name

Specifies the name of a DiffServ domain.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The value cannot be n, no, non, or none.

NOTE:

The value cannot be --.

On the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S, the ds-domain-name parameter cannot be specified.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Scenario

A DiffServ domain defines the mapping between the packet priority and PHB/colors packets for managing and avoiding congestion. You can run the display diffserv domain command to view the mappings and packet colors defined in the DiffServ domain.

A DiffServ domain defines the mapping between the PHBs/colors and packet priorities (802.1p and DSCP). When binding a DiffServ domain to an interface, you can run the trust command to configure 802.1p or DSCP priority mapping on the interface.

Precautions

The DiffServ domain default exists by default. In addition to this domain, the device allows a maximum of 7 DiffServ domains. (On the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S, only the DiffServ domain default is supported.) You can only change the mapping for the DiffServ domain default, but cannot delete the domain.

Example

# Create DiffServ domain d1 and display the corresponding DiffServ domain view.

<HUAWEI> system-view
[HUAWEI] diffserv domain d1
[HUAWEI-dsdomain-d1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >