qppb-policy qos-local-id both inbound

Function

The qppb-policy qos-local-id both inbound command enables a traffic policy for incoming traffic on an interface based on the source and destination QoS policy IDs.

The undo qppb-policy qos-local-id both inbound command disables a traffic policy for incoming traffic on an interface based on the source and destination QoS policy IDs.

By default, no traffic policy for incoming traffic is enabled on an interface based on the source and destination QoS policy IDs.

Format

qppb-policy qos-local-id both inbound

undo qppb-policy qos-local-id both inbound

Parameters

None

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 interface view, Sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

You can set different <QOS-LOCAL-ID> values (QoS policy IDs) for routes based on the BGP route attributes. If traffic classification must be implemented based on the source and destination QoS policy IDs, run the qppb-policy qos-local-id both inbound command. BGP advertises two routing policies. One routing policy matches the source address of packets, and the other routing policy matches the destination address of packets.

Prerequisites

The if-match qos-local-id source command has been configured to define a matching rule to classify traffic based on the source and destination QoS policy IDs.

Precautions

This command applies only to traffic policies but not to QPPB.

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 a traffic policy for incoming traffic on GE 0/1/0 based on the source and destination QoS policy IDs.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/0
[~HUAWEI-GigabitEthernet0/1/0] qppb-policy qos-local-id both inbound
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >