qppb-policy outbound

Function

The qppb-policy outbound command applies a QPPB local policy to an outbound interface.

The undo qppb-policy outbound command cancels the configuration.

By default, no QPPB local policy is applied to an outbound interface.

Format

qppb-policy policy-name [ unshared ] outbound

undo qppb-policy [ policy-name [ unshared ] ] outbound

Parameters

Parameter Description Value
policy-name

Specifies the name of a QPPB local policy.

The value is a string of 1 to 31 case-sensitive characters with spaces not supported.

unshared

Indicates unshared QPPB, which enables the same QPPB policy applied in different interfaces occupying QPPB resources respectively.

-

Views

100GE interface view, 10G LAN interface view, 10G WAN interface view, 40GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE optical interface view, GE sub-interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

QPPB configuration on an outbound interface is determined by the QPPB configuration of the upstream traffic.

  • If a QPPB local policy is not required on the upstream traffic but is required on the outbound interface, run the qppb-policy qos-local-id { destination | source } inbound command for the upstream traffic and run the qppb-policy outbound command on the outbound interface.
  • If a QPPB local policy is required by both the upstream and downstream traffic, run the qppb-policy inbound command for the upstream traffic, and run the qppb-policy outbound command on the outbound interface.

Precautions

This command applies to VLAN-type dot1q sub-interfaces, dot1q VLAN tag termination sub-interfaces, and QinQ VLAN tag termination sub-interfaces.

If both a QPPB policy and a traffic policy are configured on an interface, the QPPB policy takes effect preferentially.

In a QPPB application scenario, if only the remark dscp command is run, the command takes effect for both IPv4 and IPv6 packets. If both the remark dscp and remark ipv6 dscp commands are run, the remark dscp command takes effect for IPv4 packets whereas the remark ipv6 dscp command takes effect for IPv6 packets.

Example

# Enable QPPB on an interface, bind a QoS local ID to a traffic behavior in a QPPB local policy, and implement the QPPB local policy.
<HUAWEI> system-view
[~HUAWEI] qppb local-policy policy1
[*HUAWEI-localpolicy-policy1] quit
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] qppb-policy policy1 outbound
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >