pw (VSI-BGP-MH view)

Function

The pw command displays the VSI-BGP-PW view of a created PW.

The undo pw command quits the VSI-BGP-PW view of a created PW.

By default, no VSI-BGP-PW view is displayed.

Format

pw pw-name

undo pw pw-name

Parameters

Parameter Description Value
pw-name

Specifies the name of a PW.

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

Views

VSI-BGP-MH view, VSI-BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

If a PW has been configured in the VSI-BGP or VSI-BGP-MH view, run the pw pw-name command to enter the VSI-BGP-PW view corresponding to the PW Name.

In the VSI-BGP-PW view, you can configure BUM traffic suppression for PWS on a BGP VPLS Multi-homing network.

Prerequisites

A PW has been created in the VSI-BGP or VSI-BGP-MH view using the peer peer-address remote-site remote-site-id pw pw-name command.

Example

# Enter the VSI-BGP-PW view of the PW named bgp that has been created in the VSI-BGP-MH 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
[*HUAWEI-vsi-2-bgp-pw-bgp] quit
[*HUAWEI-vsi-2-bgp] pw bgp
# Enter the VSI-BGP-PW view of the PW named bgp that has been created in the VSI-BGP view.
<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
[*HUAWEI-vsi-2-bgp-pw-bgp] quit
[*HUAWEI-vsi-2-bgp] pw bgp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >