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.
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.ICX7850-48FS Router# configure terminal ICX7850-48FS Router(config)# stack enable Enable stacking. This unit actively participates in stacking ICX7850-48FS Router(config)# exit ICX7850-48FS Router# show stack T=7m23.6: alone: standalone, D: dynamic cfg, S: static ID Type Role Mac Address Pri State Comment 1 S ICX7850-48FS alone d4c1.9e18.83e1 128 local None:0 +---+ 2/1| 1 |2/5 +---+ Current stack management MAC is d4c1.9e18.83e1 ICX7850-48FS Router# - 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 converted three new units to stack members.
ICX7850-48FS Router# show stack zero status I cannot be discovered by stack zero-touch/interactive-setup. reason: in a stack Has no unit-replacement timer. trig=3, reason=has stack zero-touch-enable zero-touch-enable and stack enable are configured. Have done 3 probes ZTP has converted 3 new units to members. zero-touch-enable period: 3 minutes. Will trigger in 1 min 34 sec ZTP postponed due to topology changes: 0 My MAC used in image copy is 748e.f8f9.636e. ACL #=0, ind=0
- (Optional) Enter the
show stackcommand to verify the units in the entire stack.ICX7850-48FS Router# show stack T=12m25.7: alone: standalone, D: dynamic cfg, S: static ID Type Role Mac Address Pri State Comment 1 S ICX7850-48FS active d4c1.9e18.83e1 128 local Ready 2 D ICX7850-48F standby d4c1.9e17.7daf 0 remote Ready 3 D ICX7850-48F member d4c1.9e17.8907 0 remote Ready 4 D ICX7850-48F member d4c1.9e17.7e07 0 remote Ready active standby +---+ +---+ +---+ +---+ -2/5| 1 |2/1==2/5| 2 |2/1--2/1| 3 |2/5--2/1| 4 |2/5- | +---+ +---+ +---+ +---+ | | | |--------------------------------------------------| Standby u2 - protocols ready, can failover Role history: N: standalone, A: active, S: standby, M: member U1: N->A Current stack management MAC is d4c1.9e18.83e1 - (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.ICX7850-48FS Router# show running-config Current configuration: ! ver 09.0.00 ! stack unit 1 module 1 icx7850-48fs-port-management-module module 2 icx7800-100g-8port-800g-module priority 128 stack-trunk ethernet 1/2/1 to 1/2/4 stack-port ethernet 1/2/5 stack unit 2 module 1 icx7850-48f-sf-port-management-module module 2 icx7800-100g-8port-800g-module stack-port ethernet 2/2/1 stack-trunk ethernet 2/2/5 to 2/2/8 stack unit 3 module 1 icx7850-48f-sf-port-management-module module 2 icx7800-100g-8port-800g-module stack-port ethernet 3/2/1 stack-port ethernet 3/2/5 stack unit 4 module 1 icx7850-48f-sf-port-management-module module 2 icx7800-100g-8port-800g-module stack-port ethernet 4/2/1 stack-port ethernet 4/2/5 stack enable stack zero-touch-enable stack mac d4c1.9e18.83e1 ! 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.