configuration prevent-misoperation disable

Function

The configuration prevent-misoperation disable command disables the re-confirmation function when an undo command is run.

The undo configuration prevent-misoperation disable command enables the re-confirmation function when an undo command is run.

By default, the re-confirmation function is enabled when an undo command is run.

Format

configuration prevent-misoperation disable

undo configuration prevent-misoperation disable

Parameters

None

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
cli write

Usage Guidelines

Usage Scenario

If you run some undo commands by mistake, configurations of related features are deleted, causing interruption of services or networks. To avoid misoperations, re-confirmation is required by default when running the following commands: undo mpls, undo mpls te, undo mpls rsvp, undo mpls ldp, undo mpls l2vpn, undo multicast ipv6 routing-enable, undo multicast routing-enable, undo pim, undo igmp, undo bfd, and undo stp enable.

Precautions

You are advised to enable the function because misoperations will cause services to be unavailable.

Example

# Disable the re-confirmation function.
<HUAWEI> system-view
[~HUAWEI] configuration prevent-misoperation disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >