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 2 is unconfigured in a traditional stack.

device(config)# show stack
alone: standalone, D: dynamic config, S: static config
ID  Type          Role    Mac Address    Pri State  Comment
1 S ICX7250-24    active  0012.f2eb.a900 128 local  Ready
2 S ICX7250-24P   standby 00f0.424f.4243 0   remote Ready
3 S ICX7250-24    member  00e0.5201.0100 0   remote Ready

device# stack unconfigure 2
Will recover pre-stacking startup config of this unit, and reset it. Are you sure?
(enter 'y' or 'n'): y

Stack 2 deletes stack bootup flash and recover startup-config.txt from .old

device# show stack
alone: standalone, D: dynamic config, S: static config
ID  Type           Role    Mac Address    Pri  State     Comment
1 S ICX7250-24     active  0012.f2eb.a900 128  local     Ready
2 S ICX7250-24P    member  0000.0000.0000 0    reserved
3 S ICX7250-24     standby 00e0.5201.0100 0    remote    Ready
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 7450 and ICX 7250 devices.