1141
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter P Commands
provision
Command History
Usage Guidelines
Use this command to define the modules (line card or Cisco Nexus 2000 Series Fabric Extender) to
preprovision. If the card type does not match the card in the slot or the module is not compatible with
the chassis, you see the following messages:
ERROR: The card type does not match the card in slot
or
ERROR: This module cannot be configured for this chassis
You can configure features or interfaces (Ethernet, Fibre Channel) on the modules before the modules
are inserted in the switch chassis. You can also use this command to manage the configuration of these
features or interfaces when the module is offline due to a failure or scheduled downtime. These
configurations are applied when the module comes online.
When you preprovision a module by specifying the type of module, platform manager will allow only
modules of matching type to come online. If you configure the interfaces for the module without
specifying the module type, the configuration is applied when the module comes online, regardless of
the module type.
You can preprovision modules and interfaces in a switch profile. The modules and interfaces are
preprovisioned when you apply (commit) the switch profile. Once the module is inserted and interfaces
are created, the preprovisioning module passes on the configuration to the respective applications before
the interfaces come up.
Mutual exclusion is a mechanism where configuration outside the switch profile is not allowed in the
switch profile and vice-versa. This requirement is to ensure that configuration in the switch profile is
exactly the same on both switches. Preprovisioned configuration is the same as a configuration when the
module is online, so mutual exclusion checks would continue to apply normally.
When you downgrade from a release which supports preprovisioning, to an earlier release of Cisco
NX-OS that does not support module preprovisioning, you will be prompted to remove preprovisioning
configuration that you configured on the switch.
Examples
This example shows how to preprovision a module in slot 2 of the chassis:
switch(config)#
slot 2
switch(config-slot)#
provision model N5K-M1404
switch(config-slot)#
This example shows how to configure a switch profile to enable a chassis slot for preprovisioning of a
module:
switch#
config sync
Enter configuration commands, one per line. End with CNTL/Z.
switch(config-sync)#
switch-profile sp
Switch-Profile started, Profile ID is 1
switch(config-sync-sp)#
slot 2
switch(config-sync-sp-slot)#
provision model N5K-M1600
switch(config-sync-sp-slot)#
This example shows how to remove a preprovisioned module from a chassis slot:
switch(config)#
slot 2
Release
Modification
5.2(1)N1(1)
This command was introduced.