Scenario 2 - Using Zero-touch Provisioning to Configure a Stack
All stack member candidates must be correctly connected.
Note: The zero-touch provisioning process requires clean devices, with the exception of
the active controller. Clean devices do not contain any configuration information.
Note: An ICX 7650 device with startup-config flash using 40-Gbps stacking ports but no other
configuration is treated as a clean unit. Because an ICX 7650 device that uses 40-Gbps
stacking requires the
rear-module stack-40g command followed by the
write memory and
reload commands to change the default 100-Gbps stacking ports to 40-Gbps stacking ports,
the related startup-config flash must be present.
Samples must be replaced with samples from a model other than the ICX 7750.
If you are adding clean units without a startup or run-time configuration to a stack,
you may elect to use the stack zero-touch provisioning process. Follow these steps
to construct a stack with zero-touch provisioning.
- Power on all candidate devices.
- Log into the device that you want to be the active controller.
- If necessary, on each candidate, enter the
erase startup-configcommand in Privileged-EXEC mode, and reset the device to convert it to a clean unit. - (Optional) Enter the
show running-configcommand to check the current configuration of the standalone from which you plan to construct the stack. The configuration must includestack enable. - If stacking is not enabled, configure
stack enableon the unit that will serve as active controller. - On the active controller, in global configuration mode, configure
stack zero-touch-enable. - Wait a few minutes, and the active controller should discover the new units and reload
them as stack members.
Note: When enabled, stack zero-touch provisioning is automatically triggered every three minutes.The stack forms after the members join.
- (Optional) Enter the
show stack zero-touch statuscommand to check the status of stack zero-touch provisioning.The following example shows that zero-touch provisioning has discovered additional stacking links and has created a stacking trunk that incorporates them.
ICX7750-48F Router# show stack zero-touch status I cannot be discovered by stack zero-touch or interactive-setup option 2. reason: has stack enable configuration I can be discovered by stack interactive-setup option 3. Will clean up in 89.4 sec. Sent last keep-alive 581.1 sec ago. zero-touch-enable and stack enable are configured. Have done 1 probes ZTP has converted 0 new units to members. *** ZTP is going on for 0m0s. state=start. Will trigger again 3 min after done ZTP postponed due to topology changes: 0 My MAC used in image copy is 748e.f8f9.636e. ACL #=0, ind=0 ICX7750-48F Router# stack-trunk 1/2/1 to 1/2/3 replaces stack-port 1/2/1 <-- Sequential port links Enlarge stack-port 1/2/1 to stack-trunk 1/2/1 to 1/2/3 to match links. discovered. Trunk replaces port. Configuration changed. Please do "write memory".
- (Optional) Enter the
show stackcommand to verify the units in the entire stack.ICX7750-48F Router# show stack T=15m2.5: alone: standalone, D: dynamic cfg, S: static ID Type Role Mac Address Pri State Comment 1 S ICX7750-48XGF active cc4e.246d.9e00 128 local Ready 2 D ICX7750-26QXG standby cc4e.2439.3700 0 remote Ready 3 D ICX7750-48XGC member cc4e.2439.1a00 0 remote Ready active standby +---+ +---+ +---+ =2/1| 1 |2/4--2/1| 2 |2/4--2/4| 3 |2/1= <-- Double lines | +---+ +---+ +---+ | indicate trunk | | replaces |-------------------------------------| single-port link. Standby u2 - Learn other units for 66 sec, protocols may not be ready in 4 s. Role history: N: standalone, A: active, S: standby, M: member U1: N->A Current stack management MAC is cc4e.246d.9e00 - (Optional) Enter the
show running-configcommand for additional information on the stack, including active software version, the module configuration of each stack unit, and their stacking connections.ICX7750-48F Router# show running-config Current configuration: ! ver 08.0.90 ! stack unit 1 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 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 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-trunk 3/2/1 to 3/2/3 stack-port 3/2/4 stack enable stack zero-touch-enable stack mac cc4e.246d.9e00 ! hitless-failover enable ! end
- When stack construction is complete, remove the stack zero-touch-enable configuration.
Note: Although leaving stack zero-touch provisioning enabled is harmless, the process is triggered every three minutes in background, which wastes system resources if there are no more units to discover.
- Enter the
write memorycommand to save the stack configuration.