By introducing extended community attributes into BGP, MP-EBGP 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, you need to configure the permitted maximum hops between PEs.
If you want to use inter-AS traffic engineering (TE) tunnels to transmit traffic in inter-AS Option C networking, perform the following steps on PEs so that the loopback interface IP addresses of the PEs used for peer relationship establishment can be advertised to peer PEs.
Perform the following steps on the PE.
To improve scalability, specify an RR in each AS and establish MP-EBGP peer relationships between the RRs in ASs to save all VPNv4 routes on the RRs. Then configure PEs in each AS as the RR's clients to exchange VPNv4 routing information with the RR. Perform the following steps on a device that needs to be configured as an RR: