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

S12700 V200R011C10 Configuration Guide - VPN

This document describes the VPN configuration procedures and provides configuration examples.
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).
Controlling the Receiving and Sending of VPN Routes by Using Routing Policies

Controlling the Receiving and Sending of VPN Routes by Using Routing Policies

Context

The ASBRs accept all VPNv6 routes after they are configured not to filter VPNv6 routes by VPN targets. When there are many VPN routes on the network, the ASBRs are overburdened.

If only some of VPNs or sites need to communicate across ASs, you can configure a routing policy on the ASBRs to restrict the VPNv6 routes that can be accepted by the ASBRs. This reduces loads on the ASBRs.

This section describes how to configure the following filtering policies to control VPNv6 route advertisement and acceptance:
  • Filtering policy based VPN targets
  • Filtering policy based on RDs

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run either of the following command to configure a route filter.
    1. To configure an extended community filter, run the ip extcommunity-filter extcomm-filter-number { permit | deny } { rt { as-number:nn | ipv4-address:nn } } &<1-16> command.
    2. To configure an RD filter, run the ip rd-filter rd-filter-number { deny | permit } route-distinguisher &<1-10> command.
  3. Run route-policy route-policy-name permit node node

    The routing policy is configured.

  4. Run either of the following command to configure an if-match clause in the configured route filter:
    1. If you configured an extended community filter in 2, run the if-match extcommunity-filter { { basic-extcomm-filter-num | advanced-extcomm-filter-num } &<1-16> | advanced-extcomm-filter-name | basic-extcomm-filter-name } command to configure an if-match clause based on the extended community filter in the routing policy.
    2. If you configured an RD filter in 2, run the if-match rd-filter rd-filter-number command to configure an if-match clause based on the RD filter in the routing policy.
  5. Run quit

    Return to the system view.

  6. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  7. Run ipv6-family vpnv6

    The BGP-VPNv6 address family is displayed.

  8. Run peer ipv4-address route-policy route-policy-name { export | import }

    The routing policy is applied to controlling the VPN IPv6 routing information.

Translation
Download
Updated: 2019-04-01

Document ID: EDOC1000178118

Views: 165211

Downloads: 168

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