By introducing extended community attributes into BGP, MP-EBGP can advertise VPNv4 routes between PEs. After an MP-EBGP peer relationship is established between ASBRs in Different ASs, an ASBR can advertise the VPNv4 routes of its AS to the other ASBR.
The system view is displayed.
The BGP view is displayed.
The peer ASBR is specified as an EBGP peer.
The loopback interface is specified as the outbound interface of BGP sessions.
The maximum number of hops between PEs for which an EBGP peer relationship is to be configured is specified. PEs of different ASs are generally not directly connected. To set up the EBGP peer relationship between PEs of different ASs, configure the maximum number of hops between PEs and ensure that PEs are reachable.
The unicast IPv4 address family view is displayed.
The capability to exchange IPv4 routes is enabled.
The BGP view is displayed.
The BGP-VPNv4 address family view is displayed.
The capability to exchange VPNv4 routes is enabled.
The configuration is committed.