The stack member number (1 to 8) identifies each member in the
switch stack. The member number also determines the interface-level
configuration that a stack member uses. You can display the stack member number
by using the
A new, out-of-the-box device (one that has not joined a device stack or has not been manually assigned a stack member number)
ships with a default stack member number of 1. When it joins a device stack, its default stack member number changes to the
lowest available member number in the stack.
Stack members in the same stack cannot have the same stack member number. Every stack member, including a standalone device,
retains its member number until you manually change the number or unless the number is already being used by another member
in the stack.
If you manually change the stack member number by using the switch
global configuration command, the new number goes into effect after that stack member resets (or after you use the reload slot
stack-member-number privileged EXEC command) and only if that number is not already assigned to any other members in the stack. Another way to
change the stack member number is by changing the device_NUMBER environment variable.
If the number is being used by another member in the stack, the device selects the lowest available number in the stack.
If you manually
change the number of a stack member and no interface-level configuration is
associated with that new member number, that stack member resets to its default
You cannot use the switch
global configuration command on a provisioned device. If you do, the command is rejected.
If you move a stack member to a different device stack, the stack member retains its number only if the number is not being
used by another member in the stack. If it is being used, the device selects the lowest available number in the stack.
If you merge device stacks, the device that join the device stack of a new active device select the lowest available numbers
in the stack.
As described in the hardware installation guide, you can use the device port LEDs in Stack mode to visually determine the
stack member number of each stack member.
In the default mode Stack LED will blink in green color only on the active switch. However, when we scroll the Mode button to Stack option - Stack LED will glow green on all the stack members.
When mode button is scrolled to Stack option, the switch number of each stack member will be displayed as LEDs on the first five ports of that switch. The switch
number is displayed in binary format for all stack members. On the switch, the amber LED indicates value 0 and green LED indicates
Example for switch number 5 (Binary - 00101):
First five LEDs glow as follows on stack member with switch number 5.
Port-1 : Amber
Port-2 : Amber
Port-3 : Green
Port-4 : Amber
Port-5 : Green
Similarly, the first five LEDs glow amber or green, depending on the switch number on all stack members.
%STACKMGR-4-HSTACK_LINK_CONFIG: Verify peer stack port setting for hstack StackPort-1 switch 5 (hostname-switchnumber)