Naming a Stack Unit

You can assign names to stack units to help identify them. Stack unit names can be up to 63 characters long. A stack unit name must start with an alpha character and must not contain spaces.
Perform these steps to assign a name to one or more stack members.
  1. Enter global configuration mode.
    device# configure terminal
    
  2. Enter the stack unit command followed by the number of the stack unit you want to name.
    device(config)# stack unit 1
    
    The device enters stack unit configuration mode.
  3. Enter the unit-name command followed by the name that you want to represent the unit in configuration output.
    device(config-unit-1)# unit-name operations
    
    The example assigns the name operations to stack unit 1.
  4. (Optional) Repeat steps 3 and 4. You can repeat this step as many times as needed.
    device(config-unit-1)# stack unit 2
    device(config-unit-2)# unit-name engineering
    
    The example enters stack unit configuration mode for unit 2 and assigns the name engineering to the unit.
  5. When you are finished naming units, enter the write memory command in Privileged Exec mode to save the configuration.
    device(config-unit-2)# end
    device# write memory
    

The following example assigns names to the members of a three-unit stack, based on the building they support.

Samples in this section must be replaced with samples from a model other than the ICX 7750.

device# configure terminal
device(config)# stack unit 1
device(config-unit-1)# unit-name building1
device(config-unit-1)# stack unit 2
device(config-unit-2)# unit-name building2
device(config-unit-2)# stack unit 3          
device(config-unit-3)# unit-name building3
device(config-unit-3)# end
device# write memory

Automatic copy to member units:  2  3
Flash Memory Write (8192 bytes per dot) 
.
Copy Done.

device# show running-config
Current configuration:
!
ver 08.0.90
!
stack unit 1
  unit-name building1
  module 1 icx7750-48-xgf-port-management-module
  module 2 icx7750-qsfp-6port-qsfp-240g-module
  module 3 icx7750-6q-6port-qsfp-240g-module
  priority 128
  stack-trunk 1/2/1 to 1/2/3
  stack-port 1/2/4
stack unit 2
  unit-name building2
  module 1 icx7750-20-qxg-port-management-module
  module 2 icx7750-qsfp-6port-qsfp-240g-module
  module 3 icx7750-6q-6port-qsfp-240g-module
  stack-port 2/2/1
  stack-port 2/2/4
stack unit 3
  unit-name building3
  module 1 icx7750-48-xgc-port-management-module
  module 2 icx7750-qsfp-6port-qsfp-240g-module
  module 3 icx7750-6q-6port-qsfp-240g-module                      
  stack-port 3/2/1
  stack-port 3/2/4
stack enable
stack mac cc4e.246d.9e00
!
ip route 0.0.0.0/0 10.176.131.129
!
hitless-failover enable
!                                                                 
interface management 1
 ip address 10.176.131.142 255.255.255.128
!
end