< Home

pnp-button mode reset-system

Function

The pnp-button mode reset-system command configures all member switches in a stack to restore to the default settings and restart after the PNP button is pressed and held.

The undo pnp-button mode reset-system command restores the default settings.

By default, a switch in a stack restores to the default settings and automatically restarts after the PNP button is pressed and held on the switch.

Format

pnp-button mode reset-system

undo pnp-button mode reset-system

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To clear all service configurations and data files, press and hold the PNP button for more than 6 seconds to restore the default settings and automatically restart the device. By default, holding the PNP button on any device in a stack will restore the device to the default settings and automatically restart the device. To clear the service configurations and data files of the stack, run the pnp-button mode reset-system command to configure the device behavior after the PNP button is pressed and held.

Example

# Configure all member switches in a stack to restore to the default settings and automatically restart after the PNP button is pressed and held.

<HUAWEI> system-view
[HUAWEI] pnp-button mode reset-system
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >