This section describes how to configure a VSI and BGP signaling.
The system view is displayed.
A VSI is created, and the VSI view is displayed.
A description is configured for the VSI.
An encapsulation type is set for the VSI.
The VSI supports either Ethernet or VLAN encapsulation mode. During transmission on the public network, packets encapsulated in Ethernet mode do not carry VLAN tags, and packets encapsulated in VLAN mode carry VLAN tags.
The two ends of a PW must use the same encapsulation mode.
The BGP signaling is configured, and the VSI-BGP view is displayed.
The control word function is enabled for all PWs in the VSI.
An RD is set for the VSI.
After BGP is configured as a PW signaling protocol, an RD must be set so that other configurations can be performed.
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. Specifically:
The local export-extcommunity must be the same as the remote import-extcommunity.
The local import-extcommunity must be the same as the remote export-extcommunity.
If VPN targets are added or modified in batches, a large number of route update packets will be received from the remote end. To resolve this issue, configuring a BGP VSI in the two-phase validation mode is recommended.
A site ID is set for the VSI.
The site IDs on PEs in the same VSI must be different. The local site ID must be less than the remote site-range plus remote default-offset, but greater than or equal to the remote default-offset.
A PW is created, and the VSI-BGP-PW view is displayed.
If a PW has been created, run the pw pw-name command to enter the VSI-BGP-PW view of the PW.
If the actual traffic rate reaches the configured maximum limit, the excess packets are discarded.
The configuration is committed.