Configure a routing policy to control label allocation for inter-AS BGP LSPs. If labeled IPv4 routes are advertised to the PE of the local AS, re-allocate MPLS labels to these routes. If routes sent by the PE of the local AS are advertised to the peer ASBR, allocate MPLS labels to these routes.
By importing extended community attributes to the Border Gateway Protocol (BGP), Multiprotocol Extensions for External Border Gateway Protocol (MP-EBGP) can advertise virtual private network version 4 (VPNv4) routes between provider edges (PEs). PEs of different autonomous systems (ASs) are generally not directly connected. Therefore, to set up the External Border Gateway Protocol (EBGP) connection between the PEs of different ASs, configure the permitted maximum hops between the PEs.