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:
- Access the system view.
system-view
- Access the BGP view.
bgp { as-number-plain | as-number-dot }
- Specify the remote PE as the EBGP peer.
peer ipv4-address as-number { as-number-plain | as-number-dot }
- Specify the source interface and source address that
sends BGP packets.
peer ipv4-address connect-interface interface-type interface-number [ ipv4-source-address ]
- Set the maximum number of hops permitted to establish
the EBGP peer.
peer ipv4-address ebgp-max-hop [ hop-count ]
- Access the BGP VPNv4 address family view.
ipv4-family vpnv4
- Enable the VPNv4 route exchange capability with the
remote PE.
peer ipv4-address enable