In inter-AS LDP VPLS Option C, a device on an SP network only needs to establish a public tunnel with a PE in a different AS. ASBRs do not need to maintain inter-AS L2VPN information or reserve AC interfaces for inter-AS L2VPN PWs. As L2VPN information is exchanged only between PEs, this solution requires fewer resources and less configuration workload.
Run system-view
The system view is displayed.
Run bgp as-number
The BGP view is displayed.
Run peer ipv4-address label-route-capability
The PE is enabled to exchange labeled IPv4 routes with the ASBR within the local AS.
The configuration is committed.
Run system-view
The system view is displayed.
Run interface interface-type interface-number
The view of a local interface connected to the peer ASBR in another AS is displayed.
Run ip address ip-address { mask | mask-length }
An IP address is configured for the interface.
Run mpls
MPLS is enabled.
Run quit
Return to the system view.
Run bgp as-number
The BGP view is displayed.
Run peer ipv4-address label-route-capability
The capability to exchange labeled IPv4 routes with each PE in the local AS is enabled.
In inter-AS Option C, an inter-AS VPN LSP must be established, and the public network routes advertised between PEs and ASBRs must carry MPLS labels.
An EBGP peer relationship must be established between ASBRs in different ASs for them to exchange labeled IPv4 routes.
The public network routes carrying MPLS labels are advertised through MP-BGP. According to relevant standard protocols, label mappings about routes can be piggybacked inside the BGP Update messages that are used to advertise these routes. This feature is implemented through an extended BGP attribute, which enables BGP peers to process labeled IPv4 routes.
Run peer ipv4-address as-number peer-as
A peer ASBR is specified as an EBGP peer.
Run peer ipv4-address label-route-capability [ check-tunnel-reachable ]
The configuration is committed.
Configure a route-policy to control MPLS label allocation for IPv4 routes on each ASBR. The ASBR only allocates labels to the routes that match filter rules defined in the policy.
By default, no MPLS labels are assigned to IPv4 routes.
Configure each ASBR.
Run system-view
The system view is displayed.
Run bgp as-number
The BGP view is displayed.
Run network ip-address [ mask | mask-length ] [ route-policy route-policy-name ]
A loopback interface address used for BGP session creation on the PEs are advertised in the AS.
The configuration is committed.
Run system-view
The system view is displayed.
Run bgp as-number
The BGP view is displayed.
Run peer ipv4-address as-number peer-as
A peer is specified.
Run l2vpn-ad-family
The L2VPN-AD address family view is displayed.
Run peer ipv4-address enable
The device is enabled to exchange routing information with a specified BGP peer is enabled.
Run signaling vpls or peer ipv4-address signaling vpls
The VPLS signaling capability is enabled.
Run peer ipv4-address next-hop-invariable
The device is disabled from changing the next hop addresses in routes before sending routes to a specified peer. Repeat running this command with the ipv4-address value set to the IPv4 address of each of the local RR and peer ASBR.
Run system-view
The system view is displayed.
Run bgp as-number
The BGP view is displayed.
Run peer ipv4-address as-number peer-as
The RR within the local AS is specified as an IBGP peer of the PE.
Run l2vpn-ad-family
The L2VPN-AD address family view is displayed.
Run peer ipv4-address enable
The PE is enabled to exchange routing information with a specified BGP peer.
Run signaling vpls or peer ipv4-address signaling vpls
The VPLS signaling capability is enabled.
Configure each RR.
Run system-view
The system view is displayed.
Run bgp as-number
The BGP view is displayed.
Run peer ipv4-address as-number peer-as
An IBGP peer is specified. Repeat running this command with the ipv4-address value set to the IPv4 address of each of the local PE and ASBR.
Run l2vpn-ad-family
The L2VPN-AD address family view is displayed.
Run peer ipv4-address enable
The device is enabled to exchange routing information with a specified PE or ASBR within the local AS.
Run signaling vpls or peer ipv4-address signaling vpls
The VPLS signaling capability is enabled.
The device is configured as an RR, and its peer is configured as the client of the RR.