Configuring a VSI and BGP Signaling

This section describes how to configure a VSI and BGP signaling.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vsi vsi-name [ auto | static ]

    A VSI is created, and the VSI view is displayed.

  3. (Optional) Run description description

    A description is configured for the VSI.

  4. (Optional) Run encapsulation { ethernet | vlan }

    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.

  5. Run pwsignal bgp

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

  6. (Optional) Run control-word enable

    The control word function is enabled for all PWs in the VSI.

  7. Run route-distinguisher route-distinguisher

    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.

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

    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.

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

    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.

  10. (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.

    If a PW has been created, run the pw pw-name command to enter the VSI-BGP-PW view of the PW.

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

    • To set the maximum traffic volume of broadcast packets that are allowed to pass, run the broadcast-suppression cir cir-value [ cbs cbs-value ] command.
    • To set the maximum volume of multicast traffic that is allowed to pass, run the multicast-suppression cir cir-value [ cbs cbs-value ] command.
    • To set the maximum unknown-unicast traffic that is allowed to pass, 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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >