trust upstream default

Function

The trust upstream default command binds a DS domain to an interface to support BA classification and modify the priorities of IP packets and MPLS packets.

The undo trust upstream default command unbinds a DS domain from an interface.

By default, no DS domain is bound to an interface.

Format

For NetEngine 8000 F1A, NetEngine 8000 F2A:

trust upstream { 5p3d | ds-domain-name | default } [ inbound | outbound ]

For NetEngine 8000 F1A, NetEngine 8000 F2A:

undo trust upstream [ 5p3d | ds-domain-name | default ] [ inbound | outbound ]

For NetEngine 8000 F1A, NetEngine 8000 F2A:

trust upstream { ds-domain-name | default }

undo trust upstream [ ds-domain-name | default ]

Parameters

Parameter Description Value
5p3d

Specifies the 5p3d DS domain, which is predefined in the system.

-

ds-domain-name

Specifies the name of a DS domain. A DS domain consists of a group of connected DS nodes that provide the same service policy and implement the same PHB set.

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

default

Specifies the default DS domain, which is predefined in the system.

-

inbound

Specifies the inbound direction of a interface which the DS domain is bound.

-

outbound

Specifies the outbound direction of a interface which the DS domain is bound.

-

Views

100GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, BAS interface view, Eth-Trunk interface view, GE optical interface view, GE sub-interface view, GE electrical interface view, PW-VE sub-interface view, PW-VE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

To configure the traffic policy based on BA classification on an interface (such as the priorities of IP packets and MPLS packets), you can configure a DS domain on the interface and configure the mappings between priorities and DS domains.

You can specify inbound or outbound to have the command take effect for only incoming or outgoing packets. If neither inbound nor outbound is specified, the command takes effect for both incoming and outgoing packets. If the inbound parameter is specified, the priority fields, dscp, exp, 8021p, configured in the DS domain is mapped to the internal priorities (queue, color) for the inbound interface traffic. If the outbound parameter is specified, the internal priorities (queue, color) configured in the DS domain is mapped to the priority fields, dscp, exp, 8021p, for the outbound interface traffic.

Prerequisites

The DS domain specified by ds-domain-name has been created.

Precautions

After a physical interface is added to a trunk interface, BA classification is not supported on the physical interface.

The command cannot be configured on VLANIF interface.

This command takes effect only for untagged packets after being configured on a Layer 2 interface configured with the port vlan-stacking ce-default-vlan stack-vlan command. This command can be delivered but does not take effect after being configured on a Layer 2 interface configured with the port vlan-stacking vlan command. This command is not supported on any other Layer 2 interface.

Example

# Bind a DS domain to GE 0/1/16.
<HUAWEI> system-view
[~HUAWEI] diffserv domain 1
[~HUAWEI-dsdomain-1] quit
[~HUAWEI] interface GigabitEthernet0/1/16
[*HUAWEI-GigabitEthernet0/1/16] trust upstream 1
# Bind a DS domain to Eth-Trunk 10.
<HUAWEI> system-view
[~HUAWEI] diffserv domain t1
[~HUAWEI-dsdomain-t1] quit
[~HUAWEI] interface eth-trunk 10
[*HUAWEI-Eth-Trunk10] trust upstream t1
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >