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

Configuration Guide - VPN 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
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).
(Optional) Configuring a Router ID for a BGP-VPN Instance IPv4 Address Family

(Optional) Configuring a Router ID for a BGP-VPN Instance IPv4 Address Family

You can configure different router IDs for BGP VPN instance IPv4 address families on the same device.

Context

By default, no router ID is configured for a BGP-VPN instance IPv4 address family, and the BGP router ID is used. As a result, different BGP-VPN instance IPv4 address families on the same device have the same router ID. In some cases, different router IDs need to be configured for different BGP-VPN instance IPv4 address families. For example, BGP peer relationships need to be established between different BGP-VPN instance IPv4 address families on the same PE.

Two methods are available for configuring a router ID for a BGP-VPN instance IPv4 address family. Choose either of the following methods as required:
  • Configure router IDs for all BGP-VPN instance IPv4 address families.

  • Configure a router ID for a specified BGP-VPN instance IPv4 address family.

The router ID configured in the BGP-VPN instance IPv4 address family view takes precedence over the router ID configured in the BGP view.

If a BGP session has been established in a BGP-VPN instance IPv4 address family, changing or deleting the configured router ID resets the BGP session.

Procedure

  • Configure router IDs for all BGP-VPN instance IPv4 address families.
    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

    3. Run router-id { ipv4-address | vpn-instance auto-select }

      Automatic router ID selection is configured for all BGP-VPN instance IPv4 address families.

      In the BGP view, the router-id vpn-instance auto-select command takes precedence over the router-id ipv4-address command.

      NOTE:

      Rules for automatically selecting a router ID for a BGP VPN instance IPv4 address family are as follows:

      • If the loopback interfaces configured with IP addresses are bound to the VPN instance enabled with the IPv4 address family, the highest IP address among the IP addresses of the loopback interfaces is selected as the router ID.

      • If no loopback interfaces configured with IP addresses are bound to the VPN instance enabled with the IPv4 address family, the highest IP address among the IP addresses of other interfaces bound to the VPN instance is selected as the router ID, regardless of whether the interface is Up or Down.

    4. Run commit

      The configuration is committed.

  • Configure a router ID for a specified BGP-VPN instance IPv4 address family.
    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

    3. Run ipv4-family vpn-instance vpn-instance-name

      The BGP-VPN instance IPv4 address family view is displayed.

    4. Run router-id { ipv4-address | auto-select }

      A router ID or automatic route ID selection is configured for the current BGP-VPN instance IPv4 address family.

    5. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 33257

Downloads: 59

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