Replacing PE Units with the Zero-touch or SPX Interactive Utility

You can use either the zero-touch or SPX interactive utility to replace existing PE units. If you use zero-touch, all replacement units must be new (clean) units.

Note: The first time you enable zero-touch configuration, the system sends a zero-touch probe within 60 seconds. If a port specified in the zero-touch-ports configuration or a CB SPX port or LAG with no connection becomes active, a zero-touch probe is also triggered within a minute. Otherwise, a probe is sent every three minutes. It is recommended that you disable zero-touch provisioning once PE discovery is complete.

If the replacement unit has startup configuration, you must use the SPX interactive setup utility. The SPX interactive-setup utility can also be used for clean units.

Follow these steps to replace one or more PE units. The detailed example following the procedure uses SPX interactive-setup to replace two PE units.

  1. Execute the write memory command if you have not already done so.
    device# write memory
    
  2. Power down the unit or units to be replaced, and remove connections.
  3. Replace each PE unit with a new unit or a unit running switch or router mode.
  4. If the replacement units are clean units and you opt to use the zero-touch utility, enter the zero-touch-enable command; otherwise, skip to the next step.
    device# configure terminal
    device(config)# spx cb-configure
    device(config-spx-cb)# zero-touch-enable
    
    The zero-touch utility discovers the replacement units and assigns them the PE IDs of the units they are replacing. Then it reloads the replacement units as PEs.
  5. Note: Follow this step only after disabling the zero-touch-enable command.
    If the replacement units are in switch or router mode, run the spx interactive-setup utility, and select option 3. If you are using the utility to discover new units, select option 2.
    device# spx interactive-setup
    You can abort spx interactive-setup at any stage by <ctrl-c>
    0: quit
    1: change PE IDs
    2: discover and convert new units (no startup-config flash) to PEs
    3: discover and convert existing/new standalone units to PEs
    2&3 can also find new links and convert chain(s) to ring.
    Please type your selection: 3
    Probing topology to find new units...
    
    The SPX interactive-setup utility discovers the replacement units and assigns them the PE IDs of the units they are replacing. Then it reloads the replacement units as PEs.

The following set of examples replaces two PE units. In the example below, the active Campus Fabric configuration is first saved. The show spx command displays the Campus Fabric topology. The show running-config command displays details on the active configuration, including details on the modules installed in each CB and PE unit. The output shows that Campus Fabric is enabled (spx cb-enable) and lists the configured SPX ports and SPX LAGs. It indicates a ring of three PE units (20, 27, and 24) are connected through CB-SPX ports 1/1/1 and 1/1/3. Port 1/1/3 is part of a two-port SPX LAG.

device# write memory
device# show spx
T=12m21.0: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment                   
1  S ICX7750-48XGF standby 609c.9f1f.9900 128 remote  Ready
2  S ICX7750-48XGF active  cc4e.246d.9b00 128 local   Ready
20 D ICX7450-48GF  spx-pe  cc4e.246d.10b8 N/A remote  Ready
24 D ICX7450-48G   spx-pe  cc4e.248e.2f90 N/A remote  Ready
27 D ICX7450-48GF  spx-pe  cc4e.246c.f850 N/A remote  Ready

    active       standby                                                       
     +---+        +---+                                                        
     | 2 |2/4--2/1| 1 |2/4                                                     
     +---+        +---+                                                        
            +----+        +----+        +----+                                 
  1/1/1--2/1| 20 |2/3--2/3| 27 |2/1--2/3| 24 |2/1==1/1/3                       
            +----+        +----+        +----+                                 
                                                                               
device# show running-config
Current configuration:
!
ver 08.0.50b1T203
!
stack unit 1
  module 1 icx7750-48-xgf-port-management-module
  module 2 icx7750-qsfp-6port-qsfp-240g-module
  priority 128
  stack-port 1/2/1 1/2/4
stack unit 2
  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-port 2/2/4
spx unit 20
  module 1 icx7450-48f-sf-port-management-module
  module 2 icx7400-xgf-4port-40g-module
  module 3 icx7400-xgf-4port-40g-module
  module 4 icx7400-xgf-4port-40g-module
  spx-port 20/2/1
  spx-port 20/2/3
spx unit 24
  module 1 icx7450-48-port-management-module                      
  module 2 icx7400-xgf-4port-40g-module
  module 3 icx7400-qsfp-1port-40g-module
  module 4 icx7400-qsfp-1port-40g-module
  spx-lag 24/2/1 to 24/2/2
  spx-port 24/2/3
spx unit 27
  module 1 icx7450-48f-sf-port-management-module
  module 2 icx7400-xgf-4port-40g-module
  module 3 icx7400-qsfp-1port-40g-module
  module 4 icx7400-qsfp-1port-40g-module
  spx-port 27/2/1
  spx-port 27/2/3
stack enable
stack rconsole-off
stack mac 609c.9f1f.9900
!
!
!
spx cb-enable
spx cb-configure
  spx-port 1/1/1 
  spx-lag  1/1/3 to 1/1/4 
  pe-id 1/1/1 20 27 24 1/1/3
!

In the following example, PE 24 and PE 27 have been powered down, disconnected, replaced by two new units, and reconnected. The show spx command displays the current Campus Fabric topology. All units are listed; however, the two units that were removed are in the "reserve" state, and the topology is no longer complete (the PE units and their SPX connections are lost).

device# show spx
T=16m0.6: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment                   
1  S ICX7750-48XGF standby 609c.9f1f.9900 128 remote  Ready
2  S ICX7750-48XGF active  cc4e.246d.9b00 128 local   Ready
20 S ICX7450-48GF  spx-pe  cc4e.246d.10b8 N/A remote  Ready
24 S ICX7450-48G   spx-pe  0000.0000.0000 N/A reserve <-------unit lost
27 S ICX7450-48GF  spx-pe  0000.0000.0000 N/A reserve <-------unit lost 

    active       standby                                                       
     +---+        +---+                                                        
     | 2 |2/4--2/1| 1 |2/4                                                     
     +---+        +---+                                                        
            +----+                                                             
  1/1/1--2/1| 20 |2/3-                                                         
            +----+                                                             

In the following example, the spx interactive-setup command is entered to discover the replacement PE units. In this example, menu option 2 is selected because the two replacement PE units have no configuration. (As an alternative, you can enable and run the zero-touch utility as explained earlier.) The SPX interactive-setup utility probes the existing Campus Fabric topology for new units. It discovers the two new units in the same positions as the PE units that were removed. The user is given the default option to accept each old PE ID in turn and presses Enter to accept each one. The utility presents the accepted topology and asks for user confirmation. Once the user accepts the topology, the utility reloads the replacement units as PE units.


device# spx interactive-setup
You can abort spx interactive-setup at any stage by <ctrl-c>
0: quit
1: change PE IDs
2: discover and convert new units (no startup-config flash) to PEs
3: discover and convert existing/new standalone units to PEs
2&3 can also find new links and convert chain(s) to ring.
Please type your selection: 2
Probing topology to find new units...

Horizontal bars link to discovered units. Vertical bars link to CB or PEs.

Chain #0: link to PE(s), so display PE chain(s). =============================
#1: icx7450-48f-sf-port-management-module CC4E.246C.F850
#2: icx7450-48-port-management-module CC4E.248E.2F90
            +----+                                                             
  1/1/1--2/1| 20 |2/3-                                                         
            +----+                                                             
                                                                               

  20/2/3         1/1/3                                                         
     |            ||                                                           
     |            ||                                                           
    2/3           2/1                                                          
  +----+        +----+                                                         
  |  1 |2/1--2/3|  2 |                                                         
  +----+        +----+                                                         
                                                                                
Discovered 1 chain/ring
chain #0: Do you want to select this chain?(enter 'y' or 'n'): y
#2: icx7450-48-port-management CC4E.2489.1A00, type an ID (No: 0, default: 24): <----- Type Enter.
#1: icx7450-48f-sf-port-management CC4E.246E.1080, type an ID (No: 0, default: 27): <----- Type Enter.

You selected 2 unit(s): #1: ID=27, #2: ID=24,  

                            #1            #2                                   
            +----+        +----+        +----+                                 
  1/1/1--2/1| 20 |2/3--2/3| 27 |2/1--2/3| 24 |2/1==1/1/3                       
            +----+        +----+        +----+                                 
Proceeding will produce the above topology. Do you accept it? (enter 'y' or 'n'): y
spx interactive-setup discovers 1 chain(s). valid #=1, selected #=1