< Home

manual-set pw-ac-fault

Function

The manual-set pw-ac-fault command simulates a fault on the primary or secondary PW.

The undo manual-set pw-ac-fault command cancels the fault that is simulated on a primary or secondary PW.

By default, no fault is simulated on a PW.

Format

manual-set pw-ac-fault [ secondary ]

undo manual-set pw-ac-fault [ secondary ]

Parameters

Parameter Description Value
secondary Simulates a fault on the secondary PW. If this parameter is not specified, a fault is simulated on the primary PW. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a network where the primary and secondary PWs need to be configured, you can run the manual-set pw-ac-fault command to simulate a fault on the primary or secondary PW to check whether services can be switched between the primary and secondary PWs.

Prerequisites

A VC has been created.

Example

# Simulate a fault on the PW.

<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] mpls l2vc 2.2.2.2 100
[HUAWEI-Vlanif10] manual-set pw-ac-fault
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >