When configuring Kompella VPLS, you need to create and configure VSIs (set RDs and VPN targets of the VSIs), configure BGP, and create site connections. Configure two VSIs with the same attributes on two dual-homed PEs.
Do as follows on the PEs:
The system view is displayed.
VSIs are created and the automatic member discovery mechanism is used.
The Kompella VPLS does not directly run on the connection between CEs. Each CE has a globally unique number. On a PE, a VSI is created for each CE that is directly connected to this PE device.
BGP is configured as the PW signaling protocol and the VSI BGP view is displayed.
The RD is configured for the VSI.
After configuring BGP as the PW signaling protocol, you must configure the RD of the VSI to validate the VSI.
A VPN target is configured for the VSI.
When using this command, note the mapping between the VPN target attribute at the local end and the VPN target at the remote end.
export-extcommunity of the local end must be consistent with import-extcommunity of the peer.
import-extcommunity of the local end must be consistent with export-extcommunity of the peer.
When locating a VPLS fault, you can use the remote-vpn-target refresh command to refresh the VPN target of the remote end.
Information about the sites of the VSI is configured.
The site ID of the local end must be less than the sum of the site-range value and default-offset value on the peer end. The site ID of the local end cannot be less than the default-offset value of the peer end.
At present, the VSIs of the two dual-homed PEs can be configured with only one label block. To enlarge the range, use the undo site command to delete all the original sites and then configure a larger range. In addition, the VSIs of the two dual-homed PEs can be configured with only one AC.
The encapsulation type for Kompella VPLS is configured to be in compliance with RFC 4761.
Before a Kompella VPLS network sends packets with encapsulation types other than encapsulation type 19, the network converts the encapsulation types of these packets to encapsulation type 19.
If a Kompella VPLS network receives packets with encapsulation type 19, the network automatically converts the encapsulation types of these packets to its own encapsulation type.