Destination-based QPPB differentiates the routes to different destinations and associates
differentiated QoS policies with them.
QPPB is applicable to both IBGP and EBGP and can be configured for one or more ASs.
Before configuring QPPB, complete the following tasks:
1 Configuring basic BGP functions
2 Configuring local network routes advertised by BGP
3 Configuring interfaces for setting up a BGP connection
How to Configure Routing Policies on a BGP Route Receiver on Huawei NE40 Router
Procedure
Step 1Run: system-view
The system view is displayed.
Step 2Run:
route-policy route-policy-name { permit | deny } node node-number
The node of a routing policy is created, and the view of the routing policy is displayed.
Step 3Run one of the following commands as needed to configure a matching rule for the routing policy on a BGP route receiver.
1 To match an AS_Path list, run the if-match as-path-filter as-path-acl-number &<1-16>
command.
2 To match a community attribute list, run the if-match community-filter { basic-comm-filternum [ whole-match ] | ext-comm-filter-num } &<1-16> command.
3 To match a route cost, run the if-match cost value command.
NOTE
The route attribute configured for a BGP route must be the same as that of the route advertised by the BGP route sender.
Step 4Perform the following steps as required:
When an LPUF-10, LPUF-50, LPUF-51, LPUI-41, LPUS-41, LPUI-100, LPUF-101, LPUF-100 is used:
1 Run the apply qos-local-id qos-local-id command to apply a QoS policy to the route that meets the matching rule in the routing policy.
When an LPUF-21, LPUF-40 is used:
2 Run the apply ip-precedence ip-precedence command to apply IP preference to the route that meets the matching rule in the routing policy.
When an LPUF-10 , LPUF-50, LPUF-51is used:
3 Run the apply behavior behavior-name command to apply traffic behavior to the route that meets the matching rule in the routing policy.
A routing policy consists of multiple nodes. Each node comprises multiple if-match and
apply clauses. The if-match clauses define matching rules of a node. The apply clauses define QoS behaviors that are to be implemented for the routes that match the matching rule.
You can configure multiple if-match clauses on a node. The relationship between these rules is "AND". This means that a route passes the filtering only when it meets all the matching rules.
The relationship between routing policy nodes is "OR". That is, if a route matches a node of a routing policy, it matches the routing policy. If none of the routing policy nodes is matched, the route does not match the routing policy.
Step 5 Run:
bgp as-number
BGP is enabled and the BGP view is displayed.
Step 6 Run:
peer ip-address route-policy route-policy-name import
The routing policy configured on the route receiver is applied to the routes sent from the peer (route sender).
NOTE
Ensure that BGP peer relationships have been set up before the routing policy is applied.
----End
Telephone: 852-30623083
Email: Sales@Thunder-Link.com
Website: http://www.thunder-link.com
More related:
Different VLAN with the same IP address segment communicate through the layer three switches
MA5600T Series Maintenance Feature Glance
MA5600T&MA5603T&MA5608T 10G GPON Feature Glance
How to Configure the H.248-based Voice Service?
How to Login Huawei Equipment Through the Local Serial Port
No comments:
Post a Comment