Creating a Two-unit Linear-topology Stack Using Stack Zero-touch Provisioning
The following procedure uses an ICX 7250 stack as an example. A two-unit ICX 7250 stack has two potential linear-topology trunks, (x/2/1 to x/2/4) and (x/2/5 to x/2/8). The system configures a four-port trunk and removes the other direction.
multi-stack-trunk 1/2/1 to 1/2/4 and 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.
- Connect cables between the two units. (In this example, four cables are used as shown in ICX 7250-24P two-unit stack with linear-topology trunk as configured in example).
- On the unit that you want to become the active controller, create the desired trunk
in stack unit 1 configuration sub-mode.
ICX7250# configure terminal ICX7250(config)# stack unit 1 ICX7250(config-unit-1)# stack-trunk 1/2/1 to 1/2/4 ICX7250(config-unit-1)# exit
The example configures ports 1/2/1 through 1/2/4 as a stacking trunk. - On the prospective active controller, enable stacking and zero-touch provisioning as shown in the following example.
- Enter the
write memorycommand to save the configuration.
The following example shows the discovery of a two-unit ICX 7250 linear-topology stack using stack zero-touch provisioning.
ICX7250-48P Router# show running-config
Current configuration:
!
ver 08.0.90
!
stack unit 1
module 1 icx7250-48p-poe-port-management-module
module 2 icx7250-sfp-plus-8port-80g-module
stack-port 1/2/1
stack-port 1/2/3
!
!
end
ICX7250-48P Router# configure terminal
ICX7250-48P Router(config)# stack unit 1
ICX7250-48P Router(config-unit-1)# stack-trunk 1/2/1 to 1/2/4
stack-trunk 1/2/1 to 1/2/4 replaces stack-port 1/2/1
ICX7250-48P Router(config)# stack enable
Enable stacking. This unit actively participates in stacking
ICX7250-48P Router(config)# stack zero-touch-enable
ICX7250-48P Router(config)# exit
ICX7250-48P Router#
T=7m3.1: Election, was alone --> active, ID=1, pri=128, 2U(1-2), A=u1, nbr#=1 0, reason: u2: enable, ,
Detect stack member 2 POE capable
T=7m3.6: Synchronize webauth files to u2
T:7m5.3: Done hot swap: active controller u1 sets u2 to Ready.
T=7m5.9: Election, was active, no change, ID=1, pri=128, 2U(1-2), A=u1, nbr#=1 0, reason: u1: stk-po-chg, ,
Config changed due to add/del units. Do write mem if you want to keep it
T=8m6.7: Assigned unit 2 to be standby
T=8m8.7: start running config sync to standby u2
T=8m9.6: Running config sync to standby u2 is complete
====================unit 2 log=============================
Unit 1 receives stack zero-touch from U1, mac=609c.9f99.3f80
ID=2 D0=2/1 to 2/4, , will reload from Primary in 20 sec
Unmounting the External USB
We are in system reset
#### Bootup printout is snipped
The system : started=warm start reloaded=by "reload"
My stack unit ID = 2, bootup role = member
[MEMBER]local-2@ICX7250-48P Router>
Creating certificate, please wait...
SSL Client Certificate is successfully created
[MEMBER]local-2@ICX7250-48P Router>
T=45.2: Election, was member, no change, ID=2, pri=0, 2U(1-2), A=u1, nbr#=1 0, reason: u1: hitle-fail-en, ,
Unit 2 becomes ready
Connecting to active controller 1 console...(Press Ctrl Shift - x to exit)
T=48.2: Election, was member, no change, ID=2, pri=0, 2U(1-2), A=u1, nbr#=1 0, reason: u1: stk-po-chg, ,
ICX7250-48P Router>UNIT2:T=1m49.1: Unit 2 is assigned standby by active u1.
T=1m51.3: Standby u2 start parsing running config from active controller u1
T=1m51.5: Standby u2 finished parsing running config from active controller u1.
T:1m53.6: Done hot swap: standby controller u2 sets u1 to Ready.
========================================================================
ICX7250-48P Router# show running-config
Current configuration:
!
ver 08.0.90
!
stack unit 1
module 1 icx7250-48p-poe-port-management-module
module 2 icx7250-sfp-plus-8port-80g-module
priority 128
stack-trunk 1/2/1 to 1/2/4
stack unit 2
module 1 icx7250-48p-poe-port-management-module
module 2 icx7250-sfp-plus-8port-80g-module
stack-trunk 2/2/1 to 2/2/4
stack enable
stack zero-touch-enable
stack mac 609c.9f99.3f80
!
!
hitless-failover enable
!
!
end
ICX7250-48P Router# show stack
T=41m18.8: alone: standalone, D: dynamic cfg, S: static
ID Type Role Mac Address Pri State Comment
1 S ICX7250-48P active 609c.9f99.3f80 128 local Ready
2 D ICX7250-48P standby 609c.9f99.1988 0 remote Ready
standby active
+---+ +---+
| 2 |2/1==2/1| 1 |
+---+ +---+
Standby u2 - protocols ready, can failover
Role history: N: standalone, A: active, S: standby, M: member
U1: N->A
Current stack management MAC is 609c.9f99.3f80
ICX7250-48P Router# write memory