< Home

Configuring MP-EBGP Between ASBRs in Different ASs

After the MP-EBGP peer relationship is established between ASBRs, either ASBR can advertise the VPNv4 routes of its AS to the other ASBR.

Context

Perform the following steps on the ASBR.

Procedure

  1. Access the system view.

    system-view

  2. Access the view of the interface connected to the ASBR interface.

    interface interface-type interface-number

  3. Set the interface IP address.

    ip address ip-address { mask | mask-length }

  4. Enable the MPLS function.

    mpls

  5. Return to the system view.

    quit

  6. Access the BGP view.

    bgp { as-number-plain | as-number-dot }

  7. Specify the peer ASBR as the EBGP peer.

    peer ipv4-address as-number { as-number-plain | as-number-dot }

  8. (Optional) Set the maximum number of hops for the EBGP connection.

    peer { ipv4-address | group-name } ebgp-max-hop [ hop-count ]

    Generally, one or multiple directly connected physical links exist between EBGP peers. If the directly connected physical link(s) are not available, run the peer ebgp-max-hop command to ensure that the TCP connection can be set up between the EBGP peers through multiple hops.

  9. Access the BGP-VPNv4 address family view.

    ipv4-family vpnv4 [ unicast ]

  10. Enable the exchange of IPv4 VPN routes with the peer ASBR.

    peer ipv4-address enable

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