- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
08-Preprovisioning commands | 50.94 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 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
subslot subslot-number: Specifies a subslot by its subslot number. If you do not specify a subslot, preprovisioning is enabled on the slot. To specify a subslot, you must first enable provisioning on the slot and make sure the provisioned slot has subslots.
model model: Specifies the card, IRF member device, PEX, 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 or 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 LSXM1SUPER1 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