Changing Stack Unit IDs with Stack Interactive-setup

The selection Option 1: change stack unit IDs allows you to change the ID of a stack unit, except for the active controller. You can change a unit ID to a used or an unused ID. If the ID is used, the system forces you to change the ID of the unit that already uses the ID. As a result, you can use this option to swap IDs or to change to new IDs. If the changed ID would cause the unit to become non-operational due to a module mismatch, the system displays a warning.

Note: An ID change requires a reload.
Note: The system does not change the configuration of a unit when its ID is changed. For example, if the ID for unit 2 is changed to be unit 3, the configuration of unit 2 ports does not change.

The following example uses stack interactive-setup option 1 to change unit IDs.

ICX7850-48FS Router# show stack
T=5m5.4: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX7850-48FS  active  d4c1.9e18.83e1 128 local   Ready
2  S ICX7850-48F   standby d4c1.9e17.7e07   0 remote  Ready
3  S ICX7850-48F   member  d4c1.9e17.7daf   0 remote  Ready
4  S ICX7850-48F   member  d4c1.9e17.8907   0 remote  Ready
5  S ICX7850-48F   member  0000.0000.0000   0 reserve

    active       standby
     +---+        +---+        +---+        +---+
 -2/1| 1 |2/5--2/5| 2 |2/1--2/5| 4 |2/1--2/1| 3 |2/5-
 |   +---+        +---+        +---+        +---+   |
 |                                                  |
 |--------------------------------------------------|
Will assign standby in 57 sec due to all ready

Standby u2 - protocols ready, can failover
Current stack management MAC is d4c1.9e18.83e1

ICX7850-48FS Router# stack interactive-setup
You can abort stack interactive-setup at any stage by <ctrl-c>
0: quit
1: change stack unit IDs
2: discover and convert new units (no startup-config flash) to members
3: discover and convert existing/new standalone units to members
2&3 can also find new links and auto-trunk or convert chain(s) to ring.
Please type your selection: 1
    active       standby
     +---+        +---+        +---+        +---+
 -2/1| 1 |2/5--2/5| 2 |2/1--2/5| 4 |2/1--2/1| 3 |2/5-
 |   +---+        +---+        +---+        +---+   |
 |                                                  |
 |--------------------------------------------------|

You can change ID of any standby/member. However, the configuration will not change.
Type "done" to finish, or a new ID for unit 3 (default 3): 4 <-- ID is not default.
ID 4 will be used by unit 3. Please type a new ID for unit 4: 3 <-- ID 3 and 4 are switched.
Type "done" to finish, or a new ID for unit 2 (default 2): 2
Change IDs: 3->4, 4->3,
Warning! some units will be reloaded to take new IDs.  <-- System must reload units.

Once you enter y to accept, the ID changes are applied.

                                  
Do you want to proceed? (enter 'y' or 'n'): y


 
	 

The ID change is displayed in the show stack command output. However, the units are marked as Reset, and the bootup ID is displayed as different from the stack ID number. If you enter the write memory command, the unit state resolves to Ready.

ICX7850-48FS Router# show stack
T=18m15.5: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX7850-48FS  active  d4c1.9e18.83e1 128 local   Ready
2  S ICX7850-48F   standby d4c1.9e17.7e07   0 remote  Ready
3  S ICX7850-48F   member  d4c1.9e17.8907   0 remote  Reset: u3 bootup-id=4 interactive-setup or unit-replacement
4  S ICX7850-48F   member  d4c1.9e17.7daf   0 remote  Reset: u4 bootup-id=3 interactive-setup or unit-replacement
5  S ICX7850-48F   member  0000.0000.0000   0 reserve

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

Standby u2 - protocols ready, can failover
Current stack management MAC is d4c1.9e18.83e1

Once you have confirmed the configuration, be sure to save the configuration with the write memory command.

ICX7850-48FS Router# configure terminal
ICX7850-48FS Router(config)# write memory

ICX7850-48FS Router# show stack
T=31m4.7: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX7850-48FS  active  d4c1.9e18.83e1 128 local   Ready
2  S ICX7850-48F   standby d4c1.9e17.7e07   0 remote  Ready
3  S ICX7850-48F   member  d4c1.9e17.8907   0 remote  Ready
4  S ICX7850-48F   member  d4c1.9e17.7daf   0 remote  Ready
5  S ICX7850-48F   member  0000.0000.0000   0 reserve

    active       standby
     +---+        +---+        +---+        +---+
 -2/1| 1 |2/5--2/5| 2 |2/1--2/5| 3 |2/1--2/1| 4 |2/5-
 |   +---+        +---+        +---+        +---+   |
 |                                                  |
 |--------------------------------------------------|
Standby u2 - protocols ready, can failover
Current stack management MAC is d4c1.9e18.83e1
ICX7850-48FS Router#