Scenario 2 - Automatically configuring a three-member traditional stack in a ring topology

If you are adding clean units without a startup or run-time configuration to a stack, you may elect to use the automatic setup process.

Complete the following steps to configure a three-member traditional stack in a ring topology using the automatic setup process.

NOTE
FastIron stackable devices determine stacking port candidates through the default-ports setting if configured. A FastIron stackable device with the default port configuration is still considered a clean unit. To ensure that the device remains a clean unit, do not enter the write memory command on the device.
  1. Power on the devices.
  2. This process requires clean devices (except for the active controller) that do not contain any configuration information. To change a device to a clean device, enter the erase startup-config command and reset the device. When all of the devices are clean, continue with the next step.
    NOTE
    The physical connections must be sequential and must match the stack configuration.
  3. Log in to the device that you want to be the active controller.
  4. Configure the rest of the units by assigning ID numbers and module information for each unit. The stack ID can be any number from 1 through 12 for ICX 7250, ICX 7450, and ICX 7750 devices.
    ICX7750-26Q Router# configure terminal
    ICX7750-26Q Router(config)# stack unit 2
    ICX7750-26Q Router(config-unit-2)# module 1 icx7750-20-qxg-port-management-module
    ICX7750-26Q Router(config-unit-2)# module 2 icx7750-qsfp-6port-qsfp-240g-module
    ICX7750-26Q Router(config-unit-2)# module 3 icx7750-6q-6port-qsfp-240g-module
    ICX7750-26Q Router(config-unit-2)# stack unit 3
    ICX7750-26Q Router(config-unit-3)# module 1 icx7750-20-qxg-port-management-module
    ICX7750-26Q Router(config-unit-3)# module 2 icx7750-qsfp-6port-qsfp-240g-module
    ICX7750-26Q Router(config-unit-3)# module 3 icx7750-6q-6port-qsfp-240g-module
    ICX7750-26Q Router(config-unit-3)#
    
  5. After configuring the last stack unit (unit 3 in this example), create any stacking trunks needed for your configuration.
    NOTE
    Each ICX 7750 stack unit can support two stacking trunks.
    NOTE
    If you configure stacking trunks on some, but not all, stack units, make sure both ends of a link have the same number of trunk ports. If the two ends do not have the same number of ports, the stack is likely to exhibit packet-forwarding problems.
    In the following example, the stack-trunk command is used to configure a trunk on stack unit 2 and stack unit 3.
    ICX7750-20Q Router(config)# stack unit 2
    ICX7750-20Q Router(config-unit-2)# module 1 icx7750-20-qxg-port-management-module
    ICX7750-20Q Router(config-unit-2)# module 3 icx7750-6q-6port-qsfp-240g-module
    ICX7750-20Q Router(config-unit-2)# stack-trunk 2/2/1 to 2/2/3
    ICX7750-20Q Router(config-unit-2)# stack unit 3
    ICX7750-20Q Router(config-unit-3)# module 1 icx7750-20-qxg-port-management-module
    ICX7750-20Q Router(config-unit-2)# module 3 icx7750-6q-6port-qsfp-240g-module
    ICX7750-20Q Router(config-unit-3)# stack-trunk 3/2/4 to 3/2/6
    ICX7750-20Q Router(config-unit-3)# exit
    
    The show running-config command displays the configuration for all three stack units. Stack unit 1 has no trunks configured. By default, all the units have two stacking ports, x/2/1 and x/2/4. Stack units 2 and 3 are both configured with a three-port stack.
    ICX7750-20Q Router(config)# show run
    !
    stack unit 1
      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 1/2/1 1/2/4
    stack unit 2
      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-trunk 2/2/1 to 2/2/3
      stack-port 2/2/1 2/2/4
    stack unit 3
      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-trunk 3/2/4 to 3/2/6
      stack-port 3/2/1 3/2/4
    
  6. Assign a priority to the active controller using the priority command.
    ICX7750-26Q Router(config)# stack unit 1
    ICX7750-26Q Router(config-unit-1)# priority 255
    Priority change needs 120 seconds to take effect.
    

    Syntax: priority num

    The num variable is a value from 0 through 255, where 255 is the highest priority.
  7. Assign a priority to the unit that will act as standby controller.
  8. Enter the write memory command to save your settings.
  9. Enter the stack enable command.
    ICX7750-26Q Router(config-unit-1)# stack unit 2
    ICX7750-26Q Router(config-unit-2)# priority 240
    ICX7750-26Q Router(config-unit-2)# exit
    ICX7750-26Q Router(config)# write memory
    ICX7750-26Q Router(config)# stack enable
    
  10. Physically connect the devices in a stack topology. This triggers an election during which the stack is automatically configured. For more information about cabling the devices, refer to the appropriate hardware installation guide.
    NOTE
    When you are configuring individual stack units, you can skip ID numbers. However, the sequence in which the units are connected must match the order in which you configure them.
  11. Verify your final stack configuration by entering the show running-config command.
    ICX7750-26Q Router(config)# show running-config
    Current configuration:
    !
    ver 08.0.40b1T203
    !
    stack unit 1
      module 1 icx7750-20-qxg-port-management-module
      module 2 icx7750-qsfp-6port-qsfp-240g-module
      module 3 icx7750-6q-6port-qsfp-240g-module
      priority 255
      stack-port 1/2/1 1/2/4
    stack unit 2
      module 1 icx7750-20-qxg-port-management-module
      module 2 icx7750-qsfp-6port-qsfp-240g-module
      module 3 icx7750-6q-6port-qsfp-240g-module
      priority 240
      stack-trunk 2/2/1 to 2/2/3
      stack-port 2/2/1 2/2/4
    stack unit 3
      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-trunk 3/2/4 to 3/2/6
      stack-port 3/2/1 3/2/4
    stack enable
    stack mac 748e.f8f9.6300
    
  12. To see information about your stack, enter the show stack command.
    ICX7750-26Q Router# show stack
    T=11h33m28.5: alone: standalone, D: dynamic cfg, S: static
    ID   Type          Role    Mac Address    Pri State   Comment
    1  S ICX7750-20QXG active  748e.f8f9.6300 255 local   Ready
    2  S ICX7750-20QXG standby cc4e.2438.7280 240 remote  Ready
    3  S ICX7750-20QXG member  cc4e.2438.7500   0 remote  Ready
    
        active                    standby
        +---+        +---+        +---+
    -2/1| 1 |2/4--2/1| 3 |2/4==2/1| 2 |2/4-
    |   +---+        +---+        +---+   |
    |                                     |
    |-------------------------------------|
    Standby u2 - protocols ready, can failover
    Current stack management MAC is 748e.f8f9.6300
    
  13. To display detailed information on each stack unit, enter the show version command.
    ICX7750-26Q Router# show version
      Copyright (c) 1996-2015 Brocade Communications Systems, Inc. All rights reserved.
        UNIT 1: compiled on Jul 31 2015 at 18:37:27 labeled as SWR08040b1
          (20197181 bytes) from Primary SWR08040b1.bin
            SW: Version 08.0.40b1T203
        UNIT 2: compiled on Jul 31 2015 at 18:37:27 labeled as SWR08040b1
          (20197181 bytes) from Primary SWR08040b1.bin
            SW: Version 08.0.40b1T203
        UNIT 3: compiled on Jul 31 2015 at 18:37:27 labeled as SWR08040b1
          (20197181 bytes) from Primary SWR08040b1.bin
            SW: Version 08.0.40b1T203
          Compressed Boot-Monitor Image size = 1835008, Version:10.1.01T205 (swz10101)
           Compiled on Fri Jun 27 22:01:35 2014
    
      HW: Stackable ICX7750-26Q
      Internal USB: Serial #: 40D509003CF9007D
          Vendor: UNIGEN, Total size = 1910 MB
    ==========================================================================
    UNIT 1: SL 1: ICX7750-20QXG 20-port Management Module
          Serial  #:CRK2234J00J
          License: ICX7750_L3_SOFT_PACKAGE   (LID: etmHHIJlFFl)
          P-ASIC  0: type B850, rev 03  Chip BCM56850_A2
    ==========================================================================
    UNIT 1: SL 2: ICX7750-QSFP 6-port QSFP 240G Module
    ==========================================================================
    UNIT 1: SL 3: ICX7750-6Q 6-port QSFP 240G Module
          Serial  #:4J04N
    ==========================================================================
    UNIT 2: SL 1: ICX7750-20QXG 20-port Management Module
          Serial  #:CRK2246J01Y
          License: ICX7750_L3_SOFT_PACKAGE   (LID: etmHHJLlFGa)
    ==========================================================================
    UNIT 2: SL 2: ICX7750-QSFP 6-port QSFP 240G Module
    ==========================================================================
    UNIT 2: SL 3: ICX7750-6Q 6-port QSFP 240G Module
          Serial  #:CRK2246J010
    ==========================================================================
    UNIT 3: SL 1: ICX7750-20QXG 20-port Management Module
          Serial  #:CRK2246J023
          License: ICX7750_L3_SOFT_PACKAGE   (LID: etmHHJLlFHI)
    ==========================================================================
    UNIT 3: SL 2: ICX7750-QSFP 6-port QSFP 240G Module
    ==========================================================================
    UNIT 3: SL 3: ICX7750-6Q 6-port QSFP 240G Module
          Serial  #:CRK2246J01C
    ==========================================================================
    1500 MHz Power PC processor (version 8023/0022) 88 MHz bus
    8192 KB boot flash memory
    2048 MB code flash memory
    3840 MB DRAM
    STACKID 1  system uptime is 11 hour(s) 33 minute(s) 33 second(s)
    STACKID 2  system uptime is 13 minute(s) 38 second(s)
    STACKID 3  system uptime is 11 minute(s) 40 second(s)
    The system : started=warm start   reloaded=by "reload"