Configuring Inter-AS Kompella VPLS in OptionA Mode
Pre-configuration Task
Before configuring inter-AS Kompella VPLS in OptionA mode, complete the following tasks:
Configure IGP for the MPLS backbone network of each AS to ensure IP connectivity of the backbone network within an AS.
Configure basic MPLS functions on the MPLS backbone network of each AS.
Establish a tunnel between the PE and ASBR within an AS.
Context
The configuration is described as follows:
Configuring BGP VPLS in each AS.
An ASBR considers a peer ASBR as a CE.
VSIs are configured on the PE and ASBR, and these VSIs are bound to AC interfaces. The VSI for PE is used to access CE; the VSI for ASBR is used to access the peer ASBR.
The configuration details are not mentioned here.
In the inter-AS VPLS OptionA, the VPN targets of the ASBRs and PEs in the same AS must match; the VPN targets of the PEs in different ASs do not need to match.
In inter-AS Martini VPLS OptionA, each ASBR must reserve an AC interface for each inter-AS VC. OptionA can be used when the number of inter-AS VCs is small. Compared with the L3VPN, the inter-AS L2VPN OptionA consumes more resources and requires more configuration workload. Therefore, the inter-AS L2VPN OptionA is not recommended.
Verifying the Configuration
Run the display bgp vplsgroup [ group-name ] command to check the BGP VPLS peer group relationship on a PE or an ASBR PE.
Run the display bgp vplspeer [ [ ipv4-address ] verbose ] command to check the BGP VPLS peer relationship on a PE or an ASBR PE.
Run the display bgp vplsall command to check BGP VPLS label blocks on a PE or an ASBR PE.
Run the display vpls connection [ bgp | vsivsi-name ] [ down | up ] [ verbose ] command to check the VPLS connection on a PE.
Run the display bgp routing-table label command to check label information about IPv4 routes on a PE or an ASBR PE.
Run the ping vpls macmac-addressvsivsi-name [ vlanvlan-id | -ccount | -mtime-value | -spacksize | -ttimeout | -expexp | -rreplymode ] * command to check the connectivity of Layer 2 links on the VPLS network.
Run the trace vpls macmac-addressvsivsi-name [ vlanvlan-id ] [-ttimeout | -ffirst-ttl | -mmax-ttl | -expexp | -rreplymode ] * command to check the PEs and P that packets pass from the sender to the receiver and check the connectivity of Layer 2 links, which helps locate the faulty node on the network.
In OptionA mode, the ping and trace functions support intra-AS detection.