Zero-touch Provisioning Example of New Link and New Unit Discovery
The following example shows that a linear two-unit stack can learn new units as well as detect new links between existing units. The example first checks the running configuration before stack zero-touch provisioning is enabled. Once enabled, the utility discovers new links and enlarges stack-trunks. Then it detects new units.
ICX7850-48FS Router# show stack
T=4m41.5: 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 S ICX7850-48F standby d4c1.9e17.7daf 0 remote Ready
active standby
+---+ +---+
| 1 |2/1==2/5| 2 |
+---+ +---+
Standby u2 - protocols ready, can failover
Current stack management MAC is d4c1.9e18.83e1
ICX7850-48FS Router# configure terminal
ICX7850-48FS Router(config)# stack zero-touch-enable
ICX7850-48FS Router(config)# end
ICX7850-48FS Router# show running-config
Current configuration:
!
ver 09.0.00_b417T233
!
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/2 <----------- 2 ports
stack unit 2
module 1 icx7850-48f-sf-port-management-module
module 2 icx7800-100g-8port-800g-module
stack-trunk ethernet 2/2/5 to 2/2/6 <----------- 2 ports
stack enable
stack zero-touch-enable
stack mac d4c1.9e18.83e1
!
hitless-failover enable
... snipped
================ After the first background run, ZTP detects new links and enlarge stack-trunks
ICX7850-48FS Router# show stack
T=6m57.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 S ICX7850-48F standby d4c1.9e17.7daf 0 remote Ready
active standby
+---+ +---+
| 1 |2/1==2/5| 2 |
+---+ +---+
Will assign standby in 43 sec due to all ready
Standby u2 - protocols ready, can failover
Current stack management MAC is d4c1.9e18.83e1
ICX7850-48FS Router(config)# show running-config
Current configuration:
!
ver 09.0.00_b417T233
!
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 <------------- enlarged from 2 ports to 4 ports
stack unit 2
module 1 icx7850-48f-sf-port-management-module
module 2 icx7800-100g-8port-800g-module
stack-trunk ethernet 2/2/5 to 2/2/8 <------------- enlarged from 2 ports to 4 ports
stack enable
stack zero-touch-enable
stack mac d4c1.9e18.83e1
!
hitless-failover enable
... snipped
================ After the second background run, ZTP detects new units, and reload them to join the stack.
ICX7850-48FS Router# show stack
T=13m35.2: 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 S 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-
| +---+ +---+ +---+ +---+ |
| |
|--------------------------------------------------|
Will assign standby in 56 sec due to all ready
Standby u2 - protocols ready, can failover
Current stack management MAC is d4c1.9e18.83e1
ICX7850-48FS Router# show running-config
Current configuration:
!
ver 09.0.00_b417T233
!
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
... snipped
ICX7850-48FS Router# configure terminal
ICX7850-48FS Router(config)# no stack zero-touch-enable
ICX7850-48FS Router(config)# write memory
Automatic copy to member units: 2 3 4
Flash Memory Write (8192 bytes per dot)
.
Write startup-config done.
Copy Done.
ICX7850-48FS Router(config)#
Starting from FastIron release 09.0.00, the
console no longer displays the results of the zero-touch provisioning utility that
runs in
background. To display internal logs, enter the show log debug infra stack all
command as shown in the following example.
ICX7850-48FS Router(config)# show log debug infra stack all
Jul 01 22:20:52:694478:info:infra:stacking:1:403711760270080: T=9m57.1: stack zero-touch adds stack-port ethernet 2/2/1 for new units to join
T=9m57.3: stack zero-touch adds stack-port ethernet 1/2/5 for new units to join
Configuration changed. Please do "write memory".
Jul 01 22:20:42:510107:info:infra:stacking:1:395542732473088: stack zero-touch discovers 2 unit(s) and sends stack-port/trunk to chain 0:
#1 d4c1.9e17.7e07 U4, D0: 2/1, D1: 2/5
#2 d4c1.9e17.8907 U3, D0: 2/1, D1: 2/5
Jul 01 22:20:42:508937:info:infra:stacking:1:395542732473088:
stack zero-touch-enable detects the following links:
Links U1--U4, #=1: 2/5--2/5
Links U4--U3, #=1: 2/1--2/5
Links U3--U2, #=1: 2/1--2/1
standby active #1 #2
+---+ +---+ +---+ +---+
-2/1| 2 |2/5==2/1| 1 |2/5--2/5| 4 |2/1--2/5| 3 |2/1-
| +---+ +---+ +---+ +---+ |
| |
|--------------------------------------------------|
U1: MAC=d4c1.9e18.83e1 SN=FLV3333P018 running stack zero-touch
U2: MAC=d4c1.9e17.7daf SN=FLW3331P008 standby
U3: MAC=d4c1.9e17.8907 SN=FLW3331P019
U4: MAC=d4c1.9e17.7e07 SN=FLW3331P009
... snipped
Jul 01 22:17:30:617857:info:infra:stacking:1:238707706692352: stack-trunk ethernet 2/2/5 to 2/2/8 replaces stack-trunk ethernet 2/2/5 to 2/2/6
stack-trunk ethernet 1/2/1 to 1/2/4 replaces stack-trunk ethernet 1/2/1 to 1/2/2
Jul 01 22:17:28:006499:info:infra:stacking:1:236865165722368: stack zero-touch-enable detects 2 new links (classified to 1 logical link) between existing units.
Logical Link #0: U1--U2: 2 link(s): 1/2/3--2/2/7 1/2/4--2/2/8
It will enlarge (stack-trunk ethernet 1/2/1 to 1/2/2) to (stack-trunk ethernet 1/2/1 to 1/2/4) and enlarge (stack-trunk ethernet 2/2/5 to 2/2/6) to (stack-trunk ethernet 2/2/5 to 2/2/8)