peer pw (VSI-BGP-MH view)

Function

The peer pw command creates a PW in the VSI-BGP-MH view and displays the VSI-BGP-PW view.

The undo peer pw command deletes a PW.

By default, no PW is created in the VSI-BGP-MH view.

Format

peer peer-address pw pw-name

undo peer peer-address pw

Parameters

Parameter Description Value
pw pw-name

Specifies the name of a PW.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

peer peer-address

Specifies the IPv4 address of a VSI peer, which is generally the IPv4 address of a VSI peer's loopback interface.

The value is an IPv4 address, in dotted decimal notation.

Views

VSI-BGP-MH view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

To create a PW in the VSI-BGP-MH view and enter the VSI-BGP-PW view of the PW, run the peer <peer-address> pw <pw-name>command.

In a BGP VPLS multi-homing scenario, you can run one of the following commands in the VSI-BGP-PW view to configure BUM traffic suppression for the BGP VPLS PW:

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

Example

# Create a PW named bgp and enter the VSI-BGP-PW view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi 2
[*HUAWEI-vsi-2] pwsignal bgp multi-homing
[*HUAWEI-vsi-2-bgp] route-distinguisher 100:1
[~HUAWEI-vsi-2-bgp] peer 2.2.2.2 pw bgp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >