< Home

Establishing the MP-EBGP Peer Relationship Between PEs

By introducing extended community attributes to BGP, MP-IBGP can advertise VPNv4 routes between PEs. PEs of different ASs are generally not directly connected. Therefore, to set up the EBGP connection between the PEs of different ASs, configure the permitted maximum hops between the PEs.

Procedure

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

      system-view

    2. Access the BGP view.

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

    3. Specify the remote PE as the EBGP peer.

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

    4. Specify the source interface and source address that sends BGP packets.

      peer ipv4-address connect-interface interface-type interface-number [ ipv4-source-address ]

    5. Set the maximum number of hops permitted to establish the EBGP peer.

      peer ipv4-address ebgp-max-hop [ hop-count ]

    6. Access the BGP VPNv4 address family view.

      ipv4-family vpnv4

    7. Enable the VPNv4 route exchange capability with the remote PE.

      peer ipv4-address enable

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