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.
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.