- 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-Software upgrade commands
- 08-Preprovisioning commands
- 09-Device management commands
- 10-Tcl commands
- 11-Python commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-Preprovisioning commands | 39.82 KB |
Preprovisioning commands
display provision failed-config
Use display provision failed-config to display preprovisioned-commands application failure records.
Syntax
display provision failed-config
Views
Any view
Predefined user roles
network-admin
network-operator
A preprovisioned command cannot be applied if it conflicts with the running configuration.
Use this command to verify the application result of preprovisioned commands except for the following commands:
· duplex
· speed
· sflow
To verify the application result of the listed commands, use the display current-configuration command. The display provision failed-config command might display incorrect application results for the listed commands.
Examples
# Display preprovisioned-commands application failure records.
<Sysname> display provision failed-config
Configuration applied at: Sat Jun 14 06:06:00 2014
Slot information: slot 1
Commands that failed to be applied:
#
interface HundredGigE 1/1/1
speed 100000
#
Related commands
provision
reset provision failed-config
provision
Use provision to enable preprovisioning.
Use undo provision to disable preprovisioning.
Syntax
provision subslot subslot-number model model
undo provision subslot subslot-number model
Default
Preprovisioning is disabled.
Views
Slot view
Predefined user roles
network-admin
Parameters
subslot subslot-number: Specifies a subslot by its subslot number.
model model: Specifies the subcard model to be preprovisioned. To obtain available models, enter a question mark (?) for the model argument.
Usage guidelines
This command allows you to enable preprovisioning on offline modules, including subcards.
The device automatically creates interfaces when preprovisioning is enabled for a module. The display interface command will not display these interfaces until the module comes online.
When you disable preprovisioning on a subslot, the device removes preconfigured settings for the subslot.
Examples
# Enable preprovisioning for the LSW1D16H subcard on a slot.
<Sysname> system-view
[Sysname] slot 1
[Sysname-slot-1] provision subslot 1 model LSW1D16H
Related commands
display provision failed-config
reset provision failed-config
slot
reset provision failed-config
Use reset provision failed-config to clear preprovisioned-commands application failure records.
Syntax
reset provision failed-config
Views
User view
Predefined user roles
network-admin
Usage guidelines
Preprovisioned modules that repeatedly come online and go offline might leave in memory a large number of commands that were not applied. To release the occupied memory space, execute the reset provision failed-config command.
Examples
# Clear preprovisioned-commands application failure records.
<Sysname> reset provision failed-config
Related commands
display provision failed-config
provision
slot
Use slot to select a slot to provision and enter slot view.
Syntax
slot slot-number
Views
System view
Predefined user roles
network-admin
Parameters
slot-number: Specifies the slot number of the device, which is fixed at 1.
Examples
# Enter the view of a slot.
<Sysname> system-view
[Sysname] slot 1
[Sysname-slot-1]
Related commands
provision