< Home

(Optional) Configuring Route Reflection for BGP L2VPN

Context

Assuming that there are N PE devices on a Kompella VLL network, the number of IBGP connections to be established is n (n - 1)/2. When there are a large number of IBGP peers, large amounts of network and CPU resources are used. To solve this problem, configure route reflection for BGP L2VPN. Configure one of the PE devices or the P device as the route reflector (RR) and the other PE devices as clients to establish IBGP connections between the RR and clients.

Route reflection for BGP L2VPN decreases the number of MP IBGP connections between PE devices, reduces the burden on PE devices, and facilitates network maintenance and management.

To configure route reflection for BGP L2VPN, perform the following configurations:
  • Configure the clients to establish MP IBGP connections with the RR.
  • Configure the RR to establish MP IBGP connections with all the clients.
  • Configure route reflection for BGP L2VPN routes.

Procedure

  • Configure the clients to establish MP IBGP connections with the RR.

    Perform the following operations on all the clients:

    1. Run system-view

      The system view is displayed.

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

      The BGP view is displayed.

    3. Run peer ipv4-address as-number as-number

      The RR is specified as the BGP peer.

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

      An interface is specified for establishing the TCP connection.

    5. Run l2vpn-ad-family

      The L2VPN AD address family view is displayed.

      Or run l2vpn-family

      The BGP L2VPN address family view is displayed.

      The L2VPN AD address family view is recommended. Kompella VLL, Kompella VPLS, and BGP AD VPLS share the same address family.

    6. Run peer ipv4-address enable

      The clients are enabled to exchange L2VPN instance information with the RR.

  • Configure the RR to establish MP IBGP connections with all the clients.

    Choose one of the following methods to configure the RR to establish MP IBGP connections with the clients.
    • Establish MP IBGP connections with the peer group.

      Add all the clients to a peer group and establish an MP IBGP connection between the RR and the peer group.

      1. Run system-view

        The system view is displayed.

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

        The BGP view is displayed.

      3. Run group group-name [ internal ]

        An IBGP peer group is created.

      4. Run peer group-name connect-interface interface-type interface-number

        An interface is specified for establishing the TCP connection.

      5. Run l2vpn-ad-family

        The L2VPN AD address family view is displayed.

        Or run l2vpn-family

        The BGP L2VPN address family view is displayed.

        The L2VPN AD address family view is recommended. Kompella VLL, Kompella VPLS, and BGP AD VPLS share the same address family.

      6. Run peer group-name enable

        The RR is enabled to exchange BGP L2VPN instance information with the peer group.

      7. Run peer ip-address group group-name

        The clients are added to the peer group.

    • Configure the RR to establish an MP IBGP connection with each client.

      Repeat the following operations on the RR multiple times to establish MP IBGP connections with all the clients:

      1. Run system-view

        The system view is displayed.

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

        The BGP view is displayed.

      3. Run peer ipv4-address as-number as-number

        The client is specified as a BGP peer.

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

        An interface is specified for establishing the TCP connection.

      5. Run l2vpn-ad-family

        The L2VPN AD address family view is displayed.

        Or run l2vpn-family

        The BGP L2VPN address family view is displayed.

        The L2VPN AD address family view is recommended. Kompella VLL, Kompella VPLS, and BGP AD VPLS share the same address family.

      6. Run peer ipv4-address enable

        The RR is enabled to exchange BGP L2VPN instance information with the peer group.

  • Configure route reflection for BGP L2VPN routes.

    Perform the following operations on the RR:

    1. Run system-view

      The system view is displayed.

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

      The BGP view is displayed.

    3. Run l2vpn-ad-family

      The L2VPN AD address family view is displayed.

      Or run l2vpn-family

      The BGP L2VPN address family view is displayed.

      The L2VPN AD address family view is recommended. Kompella VLL, Kompella VPLS, and BGP AD VPLS share the same address family.

    4. Run peer { group-name | ip-address } reflect-client

      The RR and its clients are specified.

    5. Run undo policy vpn-target

      The RR is configured to not filter VPN-target information carried in the L2VPN label block.

    6. (Optional) Run rr-filter { extcomm-filter-number | extcomm-filter-name }

      A route reflection policy is configured.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >