Prepare a slot for IOC Module Preconfiguration using CLI

About this task

Use this procedure to designate a slot in the switch for IOC module preconfiguration. You can designate a slot for only one module type at a time.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Enter Global Configuration mode:

    enable

    configure terminal

  3. Designate a slot for IOC module preconfiguration:

    preconfig slot <1-8> WORD<1-20> [lock]

  4. Verify IOC module preconfiguration:

    show sys-info card

Example

The following examples prepare a slot for IOC module preconfiguration:

Prepare a slot for IOC module preconfiguration, with card lock enabled on the slot.

Switch:1>en
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.

Switch:1(config)#preconfig slot 5 8624XT lock 

Verify the configuration:

Switch:1(config)#show sys-info card 

Card Info :
  Slot 5 :

        CardType          : 8624XT
        CardDescription   : 8624XT
        CardSerial#       : SDNI86XSD282
        CardPart#         : EC8604002-E6
        CardAssemblyDate  : 20161125
        CardHWRevision    : D2
        CardHWConfig      : 0
        AdminStatus       : up
        OperStatus        : up
        PowerStatus       : on
        Preconfigured     : yes
        Preconfig CardType: 8624XT
        Preconfig Lock    : yes

If card lock is enabled on the slot, and the module type of the inserted IOC module does not match the preconfigured IOC module type (for example, if the inserted module is type 8624XT but the preconfigured module type is 8624XS), then the operational status of the inserted IOC module displays as down-Mismatch.

Switch:1(config)show sys-info card 

Card Info :
  Slot 5 :

        CardType          : 8624XS
        CardDescription   : 8624XS
        CardSerial#       : SDNI86XSD282
        CardPart#         : EC8604002-E6
        CardAssemblyDate  : 20161125
        CardHWRevision    : D2
        CardHWConfig      : 0
        AdminStatus       : down
        OperStatus        : down-Mismatch
        PowerStatus       : down
        Preconfigured     : yes
        Preconfig CardType: 8624XT
        Preconfig Lock    : yes

Prepare another slot for IOC module preconfiguration, with no card lock enabled on the slot.

Switch:1>en
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.

Switch:1(config)#preconfig slot 6 8624XS 

Verify the configuration:

Switch:1(config)show sys-info card 

Card Info :
  Slot 6 :

        CardType          : 8624XS
        CardDescription   : 8624XS
        CardSerial#       : SDNI86XSD282
        CardPart#         : EC8604002-E6
        CardAssemblyDate  : 20161125
        CardHWRevision    : D2
        CardHWConfig      : 0
        AdminStatus       : up
        OperStatus        : up
        PowerStatus       : on
        Preconfigured     : yes
        Preconfig CardType: 8624XS
        Preconfig Lock    : no

If card lock is disabled on the slot, and the IOC module type of the inserted card does not match the preconfigured module type, the existing configuration is deleted and the slot is automatically preconfigured with the module type of the inserted IOC module. The inserted module then boots up with default configuration.

In the following example, when the 8624XT module is inserted in a slot preconfigured for the 8624XS, the pre-configuration for the 8624XS is deleted because it is not locked. The slot is then automatically preconfigured for 8624XT when the IOC module is physically inserted in that slot.

Switch:1(config)show sys-info card 

Card Info :
  Slot 6 :

        CardType          : 8624XT
        CardDescription   : 8624XT
        CardSerial#       : SDNI86XSD282
        CardPart#         : EC8604002-E6
        CardAssemblyDate  : 20161125
        CardHWRevision    : D2
        CardHWConfig      : 0
        AdminStatus       : up
        OperStatus        : up
        PowerStatus       : on
        Preconfigured     : yes
        Preconfig CardType: 8624XT
        Preconfig Lock    : no

Variable Definitions

The following table defines parameters for the preconfig slot command.

Variable Value
<1-8>

Specifies the slot number designated for pre-configuration.

WORD <1-20>

Specifies the card type that can be assigned to the pre-configured slot.

lock Specifies that the IO card will be locked to the pre-configured slot. Only the IO card that matches the card type assigned to the pre-configured slot will operate.