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

CLI-based Configuration Guide - VPN

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes VPN features on the device and provides configuration procedures and 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).
Configuring an EVPN BGP Peer Relationship

Configuring an EVPN BGP Peer Relationship

After two PEs establish an EVPN BGP peer relationship, they can exchange EVPN routes.

Context

In EVPN networking, PEs need to have EVPN BGP peer relationships established before they can exchange EVPN route information and implement communication between EVPN instances.

Perform the following steps on each PE:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run peer ipv4-address as-number { as-number-plain | as-number-dot }

    An EVPN BGP peer IP address is specified.

  4. Run peer ipv4-address connect-interface interface-type interface-number

    The interface on which a TCP connection to the specified peer is to be established is specified.

  5. Run l2vpn-family evpn

    The BGP-EVPN address family is enabled, and its view is displayed.

  6. Run peer { ipv4-address | group-name } enable

    The capability to exchange EVPN routes with the specified peer or peer group is enabled.

  7. (Optional) Run peer ipv4-address group group-name

    The EVPN BGP peer is added to a peer group.

    Adding EVPN BGP peers to peer groups simplifies BGP network configuration and management.

  8. (Optional) Run peer { group-name | ipv4-address } route-policy route-policy-name export

    A route-policy is specified for an EVPN BGP peer or peer group to advertise only specified routes.

    An export route-policy must be configured to precisely control EVPN routes. An export route-policy filters routes before they are advertised to other EVPN BGP peers or peer groups.

  9. (Optional) Run peer { ipv4-address | group-name } route-policy route-policy-name import

    A route-policy is specified for an EVPN BGP peer or peer group to receive only specified routes.

    An import route-policy must also be configured to precisely control EVPN routes. An import route-policy filters routes that are received from other EVPN BGP peers or peer groups.

  10. (Optional) Run undo policy vpn-target

    EVPN-VPN target-based filtering for received EVPN routes is disabled.

  11. (Optional) Run peer { group-name | ipv4-address } mac-limit mac-limit [ idle-forever | idle-timeout times ]

    The maximum number of MAC advertisement routes that can be received from each peer is configured.

    If an EVPN instance imports many invalid MAC advertisement routes from some peers and these routes occupy a large proportion of the total MAC advertisement routes, run this command to configure the maximum number of MAC advertisement routes that can be received from each peer.

Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 153345

Downloads: 369

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