No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C10SPC500 Configuration Guide - QoS 01

This is NE40E V800R010C10SPC500 Configuration Guide - QoS
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Routing Policies on a BGP Route Receiver

Configuring Routing Policies on a BGP Route Receiver

This section describes how to configure routing policies on a BGP route receiver.

Context

Do as follows on a BGP route receiver:

Procedure

  1. Run system-view

    The system view is displayed.

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

  3. Run one of the following commands as needed to configure a filtering rule for the routing policy on the BGP route receiver.

    • To match an AS_Path list, run the if-match as-path-filter as-path-acl-number &<1-16> command.

    • To match a community attribute list, run the if-match community-filter { basic-comm-filter-num [ whole-match ] | ext-comm-filter-num } &<1-16> command.

    • 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 a BGP route sender.

  4. Perform the following steps as required:

    • 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.
      NOTE:

      When the QoS policy ID, configured by apply qos-local-id qos-local-id, is applied to QPPB, the ID value can be configured within the range of the QoS policy ID value using qos-local-id qos-local-id behavior behavior-name.

    • Run the apply ip-precedence ip-precedence command to apply IP preference 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 to be performed on the routes that match the matching rule.

    You can configure multiple if-match clauses for 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.

  5. Run quit

    Return to the system view.

  6. Run bgp as-number

    BGP is enabled and the BGP view is displayed.

  7. Run peer ip-address route-policy route-policy-name import

    The routing policy 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.

  8. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055024

Views: 22196

Downloads: 115

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next