Creating a Two-unit Linear-topology Stack Using Stack Zero-touch Provisioning

Stack zero-touch provisioning elects to form a linear-topology trunk only when the active controller has a linear-topology trunk configuration for itself. If the active controller does not have a linear-topology trunk configuration, stack zero-touch provisioning forms a ring.

The following procedure uses an ICX 8200 stack as an example. The two-unit ICX 8200 stack has one potential linear-topology trunk, (x/2/1 to x/2/4). The system configures a four-port trunk and removes the other direction.

Note: Neither stack interactive-setup nor stack zero-touch provisioning can convert a live two-unit stack to a linear-topology trunk. If you are working with a live system, you can enter the multi-stack-trunk ethernet 1/2/1 to 1/2/4 and ethernet 2/2/1 to 2/2/4 command to change the configuration on both units simultaneously. Refer to Changing a live two-unit stack to a linear-topology trunk for more information.

Complete the following steps to configure a two-unit linear-topology trunk using stack zero-touch provisioning.

Note: For more information on stack zero-touch provisioning, refer to Scenario 2 - Using zero-touch provisioning to configure a stack.

  1. Connect cables between the two units. (In this example, four cables are used as shown in ICX 8200-24P Two-unit Stack with Linear-topology Trunk as Configured in Example).
  2. On the unit that you want to become the active controller, create the desired trunk in stack unit 1 configuration sub-mode.
    ICX8200-24P Router# configure terminal
    ICX8200-24P Router(config)# stack unit 1
    ICX8200-24P Router(config-unit-1)# stack-trunk ethernet 1/2/1 to 1/2/4
    stack-trunk ethernet 1/2/1 to 1/2/4 replaces stack-port ethernet 1/2/1 and stack-port ethernet 1/2/3
    ICX8200-24P Router(config-unit-1)# exit
    
    The example configures ports 1/2/1 through 1/2/4 as a stacking trunk.
  3. On the prospective active controller, enable stacking and zero-touch provisioning as shown in the following example.
    ICX8200-24P Router(config)# stack enable
    Enable stacking. This unit actively participates in stacking
    ICX8200-24P Router(config)# stack zero-touch-enable
    

    The first unit detects the other unit within a few minutes.

    The first unit reloads the other unit as a stack member.

    A two-unit stack forms when the member boots up and joins the stack.

  4. Enter the write memory command to save the configuration.
    ICX8200-24P Router# write memory
    

The following example shows the discovery of a two-unit ICX 8200 linear-topology stack using stack zero-touch provisioning.

ICX8200-24P Router# show stack

***** Warning! stack is not enabled. *****

T=1m5.1: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX8200-24P   alone   c0c5.207c.26ec   0 local   None:0


     +---+
  2/1| 1 |2/3
     +---+
Current stack management MAC is c0c5.207c.26ec
ICX8200-24P Router# configure terminal
ICX8200-24P Router(config)# stack unit 1
ICX8200-24P Router(config-unit-1)# stack-trunk ethernet 1/2/1 to 1/2/4
stack-trunk ethernet 1/2/1 to 1/2/4 replaces stack-port ethernet 1/2/1 and stack-port ethernet 1/2/3
ICX8200-24P Router(config-unit-1)# exit
ICX8200-24P Router(config)# stack enable
Enable stacking. This unit actively participates in stacking
ICX8200-24P Router(config)# stack zero-touch-enable

====================== wait for a few minutes for ZTP to discovery and reload the other unit
ICX8200-24P Router> enable
No password has been assigned yet...
ICX8200-24P Router# show stack
T=7m8.3: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX8200-24P   active  c0c5.207c.26ec 128 local   Ready
2  D ICX8200-24P   member  c0c5.207e.daea   0 remote  Ready

    active
     +---+        +---+
     | 1 |2/1==2/1| 2 |
     +---+        +---+
There is no standby. Will assign a standby in 9 sec

Role history: N: standalone, A: active, S: standby, M: member
U1: N->A

Current stack management MAC is c0c5.207c.26ec
ICX8200-24P Router# show running-config
Current configuration:
!
ver 10.0.00_b324T253
!
stack unit 1
  module 1 icx8200-24p-port-management-module
  module 2 icx8200-4-sfp-plus-port-100g-module
  priority 128
  stack-trunk ethernet 1/2/1 to 1/2/4
stack unit 2
  module 1 icx8200-24p-port-management-module
  module 2 icx8200-4-sfp-plus-port-100g-module
  stack-trunk ethernet 2/2/1 to 2/2/4
stack enable
stack zero-touch-enable
stack mac c0c5.207c.26ec
!
hitless-failover enable
!
... snipped
ICX8200-24P Router#
ICX8200-24P Router# write memory
Standby unit not ready yet, please try again.
ICX8200-24P Router# show stack
T=7m39.4: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX8200-24P   active  c0c5.207c.26ec 128 local   Ready
2  D ICX8200-24P   standby c0c5.207e.daea   0 remote  Ready

    active       standby
     +---+        +---+
     | 1 |2/1==2/1| 2 |
     +---+        +---+
Standby u2 - Learn other units for 4 sec, protocols may not be ready in 66 s.
Role history: N: standalone, A: active, S: standby, M: member
U1: N->A

Current stack management MAC is c0c5.207c.26ec
ICX8200-24P Router#
ICX8200-24P Router# write memory

 There is no startup config file, unable to save legacy config

Automatic copy to member units:  2
Flash Memory Write (8192 bytes per dot)
.
Write startup-config done.
Copy Done.