stack unconfigure

Returns a stack member to its pre-stacking configuration or state.
Syntax
stack unconfigure [ stack-unit | all | me | clean ]
Parameters
stack-unit
Specifies the numerical ID of a stack member. This option is available on the active controller only.
all
Specifies all stack members. This option is available on the active controller only.
me
Specifies the stack member from which the command is executed. The command removes the unit from the stack and boots it up as a standalone. When the unit rejoins the stack, its standalone startup-config file is saved in a backup file. This option is available on stack member consoles only.
clean
Specifies that the startup configuration be removed from the unit on which the command is executed and that the unit be rebooted as a clean unit. This option is available on stack member consoles only.
Modes

Privileged EXEC mode

Usage Guidelines

When a stack unit that did not have an original startup configuration file is unconfigured, it becomes a clean unit. It is possible that this unit could automatically rejoin the stack if its module configuration matches the configuration of the active controller. To prevent this from happening accidentally, disconnect the unit to be unconfigured, and then issue the stack unconfigure me command on it.

Examples

In the following example, stack unit 3 is unconfigured in a traditional stack.

ICX8200-24P Router# show stack
T=21h33m16.8: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX8200-24P   active  c0c5.2082.c774 255 local   Ready
2  S ICX8200-24    standby c0c5.2082.cbca 128 remote  Ready
3  S ICX8200-48PF  member  c0c5.207e.9a80   0 remote  Ready

    active       standby
     +---+        +---+        +---+
     | 1 |2/1==2/1| 2 |2/3==2/3| 3 |
     +---+        +---+        +---+
Standby u2 - protocols ready, can failover
Current stack management MAC is c0c5.2082.c774

ICX8200-24P Router# stack unconfigure 3
Will recover pre-stacking startup config of this unit, and reset it. Are you sure? (enter 'y' or 'n'): y
Stack 3 deletes stack bootup flash and recover startup-config from .old

ICX8200-24P Router# show stack
T=21h33m59.0: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX8200-24P   active  c0c5.2082.c774 255 local   Ready
2  S ICX8200-24    standby c0c5.2082.cbca 128 remote  Ready
3  S ICX8200-48PF  member  0000.0000.0000   0 reserve

    active       standby
     +---+        +---+
     | 1 |2/1==2/1| 2 |2/3
     +---+        +---+
Will assign standby in 54 sec due to all ready

Standby u2 - protocols ready, can failover
Current stack management MAC is c0c5.2082.c774
History
Release Command History
07.4.00 This command was introduced.
08.0.00a The mixed-stack option was added. The rollback option was deprecated.
08.0.40 Removed the mixed-stack option, as this is not supported on ICX 7750, ICX 7450, and ICX 7250 devices.