< Home

Establishing the EBGP Peer Relationship Between ASBRs

The EBGP peer relationship is established between ASBRs to advertise routes destined for the loopback interfaces on PEs.

Procedure

  • Perform the following steps on ASBRs:
    1. Access the system view.

      system-view

    2. Access the view of the interface that connects the remote ASBR.

      interface interface-type interface-number

    3. Set the IP address.

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

    4. Return to the system view.

      quit

    5. Access the BGP view.

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

    6. Configure the remote ASBR as the EBGP peer.

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

    7. (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.

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