Enabling QPPB on the route receiving interface
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable
interface.
Configuring a QoS policy
The classes in the QoS policy use the IP precedence and local QoS ID set by the routing policy as
match criteria.
Applying the QoS policy to an interface
Step
1.
Enter system view.
2.
Enter interface view.
3.
Apply the specified policy
to the interface.
QPPB configuration examples
QPPB configuration example in an IPv4 network
Network requirements
As shown in
Configure QPPB so that Router B can perform the following operations:
•
Receive routes.
•
Set IP precedence values and local QoS IDs according to the routing policy.
•
Use the QoS policy to limit the traffic rate to 512 kbps.
Figure 27 Network diagram
GE1/0/1
1.1.1.2/24
Router A
Command
system-view
interface
interface-number
bgp-policy
QPPB
on
the
source
ip-qos-map } *
Command
system-view
interface
interface-number
qos
{ inbound | outbound }
Figure
27, all routers run BGP.
AS 2000
AS 1000
GE1/0/2
168.1.1.1/24
GE1/0/2
168.1.1.2/24
interface-type
{
destination
}
{
ip-prec-map
interface-type
apply
policy
policy-name
GE1/0/1
2.2.2.2/24
Router B
98
Remarks
N/A
N/A
By default, QPPB is disabled.
|
|
This command applies only to
incoming traffic.
Remarks
N/A
N/A
By default, no QoS policy is
applied.