peer remote-site pw

Function

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

The undo peer remote-site pw command deletes a PW in the VSI-BGP view.

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

Format

peer peer-address remote-site remote-site-id pw pw-name

undo peer peer-address remote-site remote-site-id pw

Parameters

Parameter Description Value
remote-site remote-site-id

specifies the remote site ID.

The value is an integer ranging from 0 to 65534.

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 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 view and enter the VSI-BGP-PW view of the PW, run the peer <peer-address> remote-site <remote-site-id> pw <pw-name> command.

In a BGP VPLS 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 in the VSI-BGP view and enter the VSI-BGP-PW view of the PW.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi 2
[*HUAWEI-vsi-2] pwsignal bgp
[*HUAWEI-vsi-2-bgp] route-distinguisher 100:1
[*HUAWEI-vsi-2-bgp] peer 2.2.2.2 remote-site 2 pw bgp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >