Source-based QPPB differentiates routes from different sources and associates differentiated QoS policies with them.
QPPB is applicable to both IBGP and EBGP and can be configured for one or more ASs.
As shown in Figure 1, traffic is transmitted from provider B (AS 200) and provider C (AS 300) to provider D (AS 400) through provider A (AS 100). Providers B and C function as BGP route senders and provider A functions as a BGP route receiver. Based on the traffic control policies signed between providers A, B, and C, provider A needs to implement the CAR action on the traffic sent from providers B and C.
Providers B and C advertise BGP routes carrying the community attribute to provider A. After receiving the BGP routes, provider A matches the routes with the community list, ACL list, or AS_Path list, and configures QoS policy IDs and QoS behaviors for the routes. Source-based QPPB is enabled on the provider A interface that allows traffic to pass through. Therefore, QPPB local policies are applied to all traffic that passes through provider A.
Source-based QPPB is applicable to both incoming and outgoing traffic on a device.