No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - VPN 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring VSIs

Configuring VSIs

When configuring BGP VPLS, you need to configure VSIs, which include configuring the BGP signaling, RDs, VPN targets, and site connections.


  1. Run system-view

    The system view is displayed.

  2. Run vsi vsi-name

    A VSI is created.

  3. (Optional) Run description text

    The VSI description is configured.

    By default, no description is configured for a VSI.

  4. Run encapsulation { ethernet | vlan }

    The encapsulation mode is configured for the VSI.

    Note that:

    • VSIs have two encapsulation modes: Ethernet and VLAN. On the public network, a packet encapsulated in Ethernet mode does not carry a VLAN tag, and a packet encapsulated in VLAN mode carries a VLAN tag.

    • The two ends of a PW must be configured with the same encapsulation mode.

    • The default PW encapsulation mode is VLAN.

  5. Run pwsignal bgp

    The BGP signaling is configured, and the VSI-BGP view is displayed.

    By default, no signaling mode is configured for a VSI.

  6. Run route-distinguisher route-distinguisher

    An RD is configured for the VSI.

    The VPN target and site ID of a BGP VSI can be configured only after the RD of the VSI is configured.

    By default, no RD is configured for a VSI.

  7. Run vpn-target vpn-target &<1-16> [ both | export-extcommunity | import-extcommunity ]

    A VPN target is configured for the VSI.

    By default, a VSI is not associated with any VPN targets.

    Note that:

    • 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.

  8. Run site site-id [ range site-range ] [ default-offset { 0 | 1 } ]

    A site ID is configured for the VSI.

    The site IDs on both ends of a VPLS PW must be different. The local site ID must be smaller than the remote site-range plus remote default-offset, but greater than or equal to the remote default-offset.

    By default, no site ID is configured for a VSI.

  9. (Optional) Run peer peer-address remote-site remote-site-id pw pw-name

    A PW is created, and the VSI-BGP-PW view is displayed.

  10. (Optional) Run pw pw-name

    The VSI-BGP-PW view is displayed.

    After a PW is created in the preceding step, you can perform this step in the VSI-BGP view to enter the VSI-BGP-PW view.

  11. (Optional) Run one of the following commands to configure BUM traffic suppression for the BGP VPLS VSI:

    • To configure the maximum broadcast traffic rate that is allowed, run the broadcast-suppression cir cir-value [ cbs cbs-value ] command.
    • To configure the maximum multicast traffic rate that is allowed, run the multicast-suppression cir cir-value [ cbs cbs-value ] command.
    • To configure the maximum unknown unicast traffic rate that is allowed, run the unknown-unicast-suppression cir cir-value [ cbs cbs-value ] command.

    If the actual traffic rate reaches the configured maximum limit, the excess packets are discarded.

  12. Run commit

    The configuration is committed.

Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 33279

Downloads: 59

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next