In inter-AS VPN Option C mode, a BGP LSP needs to be established between ASs, and labeled IPv4 routes need to be exchanged between BGP peers.
The system view is displayed.
The BGP view is displayed.
A BGP peer relationship is established.
The BGP unicast labeled address family view is displayed.
The function to exchange labeled IPv4 routes with the ASBR in the same AS is enabled.
The configuration is committed.
The system view is displayed.
The interface view is displayed.
The IP address of the interface is configured.
The MPLS capability is enabled.
The configuration is committed.
Return to the system view.
The BGP view is displayed.
The peer ASBR is configured as an EBGP peer.
The BGP unicast labeled address family view is displayed.
An IPv4 address is configured for the EBGP peer in the independent labeled address family, and the EBGP peers are enabled to exchange labeled IPv4 routes.
The function to exchange labeled IPv4 routes with the PE in the same AS is enabled.
In inter-AS VPN Option C mode, you must establish an inter-AS VPN LSP. The related PEs and the ASBRs exchange public network routes with the MPLS labels.
The ASBR establishes a common EBGP peer relationship with the remote ASBR to switch labeled IPv4 routes.
The public network routes with the MPLS labels are advertised by MP-BGP. According to relevant standards (Carrying Label Information in BGP-4), the label mapping information of a route is carried in advertised BGP update packets. This feature is implemented using extended BGP attributes, which requires BGP peers to process the labeled IPv4 routes.
The configuration is committed.