- 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-GIR commands
- 09-Preprovisioning commands
- 10-Emergency shell commands
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Preprovisioning commands | 56.42 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 Jan 11 06:06:00 2020
Slot information: slot 1
Commands that failed to be applied:
#
interface HundredGigE1/0/1
port access vlan 2
#
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
model model: Specifies the card or subcard model to be preprovisioned. To obtain available models, enter a question mark (?) for the model argument.
Usage guidelines
CAUTION: · When you disable preprovisioning on a slot, the device removes all preconfigured settings for the slot, including the preconfigured settings for the subslots. · When you disable preprovisioning on a subslot, the device removes preconfigured settings for the subslot. |
This command allows you to enable preprovisioning on offline interface cards and subcards.
The device automatically creates interfaces when preprovisioning is enabled for an interface card or subcard. The display interface command will not display these interfaces until the interface card or subcard comes online.
Examples
# Enable preprovisioning for the LSXM1CGQ48KBR1 module on a slot.
<Sysname> system-view
[Sysname] slot 2
[Sysname-slot-2] provision model LSXM1SUPER1
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 interface cards or subcards 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 a slot number.
Examples
# Enter the view of a slot.
<Sysname> system-view
[Sysname] slot 2
[Sysname-slot-2]
Related commands
provision