stack renumber

Syntax

CODE
stack <unit-id> renumber <1-6>
no stack <unit-id> renumber

Parameter

unit-id: The current stack unit number. The valid range is 1 to 6.

renumber <1-6>: The preferred unit ID to assign to the specified unit. The valid range is 1 to 6.

Default

0 (Auto)

Mode

Privileged EXEC

Usage

Use this command to assign a preferred unit ID to a stack member. This prevents the unit ID from changing if the stack topology changes. The new unit ID takes effect after the switch is rebooted.

Use the no form of this command to remove the preferred unit ID assignment and revert to automatic assignment.

Example

This example shows how to assign unit ID 2 to the unit currently identified as unit 3:

CODE
Switch# stack 3 renumber 2

This example shows how to revert unit 2 to automatic ID assignment:

CODE
Switch# no stack 2 renumber