- Table of Contents
-
- 01-Fundamentals Command Reference
- 00-Preface
- 01-CLI commands
- 02-RBAC commands
- 03-Login management commands
- 04-FTP and TFTP commands
- 05-File system management commands
- 06-Configuration file management commands
- 07-Multichassis configuration sync commands
- 08-Software upgrade commands
- 09-ISSU commands
- 10-GIR commands
- 11-Automatic configuration commands
- 12-Target configuration management commands
- 13-Device management commands
- 14-Tcl commands
- 15-Python commands
- 16-License management commands
- 17-Preprovisioning commands
- Related Documents
-
Title | Size | Download |
---|---|---|
17-Preprovisioning commands | 39.58 KB |
Preprovisioning commands
reset provision residual-config
Use reset provision residual-config to clear the preprovisioned information left behind after the module is removed.
Syntax
In standalone mode:
reset provision residual-config { slot slot-number | all }
In IRF mode:
reset provision residual-config { chassis chassis-number slot slot-number | all }
Views
User view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a slot number. (In standalone mode.) (In IRF mode.)
chassis chassis-number slot slot-number: Specifies an interface card slot on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the module. (In IRF mode.)
all: Specifies all service modules, sub cards, member devices, or PXEs.
Usage guidelines
Applicable scenarios
After you remove the module in a slot, the system retains its configuration for the slot in the running configuration. When you reinstall the module or install a new module in the slot, the existing configuration is automatically applied to the re-installed or new module. If you replace a faulty module in the slot with a module of the same model, no manual update of the slot configuration is required. If this configuration is not desirable, use the rest provision residual-config command to clear it before you install a new module.
To view the running configuration, use the display current-configuration command.
Restrictions and guidelines
Execute the reset provision residual-config command after you remove the module in a slot and before you reinstall the module or install a new module in the slot. This command cannot take effect when a module is present in the slot.
Execute the reset provision residual-config command after you remove the module in a slot and before you reinstall the module or install a new module in the slot. This command cannot take effect when a module is present in the slot.
Examples
# Clear the preprovisioned information left behind after the module in slot 2 is removed.
<System> system-view
[System] reset provision residual-config slot 2