manual-set pw-ac-fault

Function

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

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

By default, no PW fault is simulated.

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.

-

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

After confirming that the primary and secondary PWs run properly, you can simulate a fault on the active PW to check whether the active and standby PWs can be switched properly. The check result is saved in logs.

Prerequisites

PWs have been created using AC interfaces.

Example

# Simulate a PW fault.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet 0/1/0] mpls l2vc 1.1.1.1 100
[*HUAWEI-GigabitEthernet 0/1/0] manual-set pw-ac-fault
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >