Configuring SPX ports and LAGs on a live system

You can create, modify, or remove an SPX LAG or link in a live configuration.

To prevent connection issues, the multi-spx-lag command changes both ends of a live CB-to-PE or PE-to-PE link at the same time to form an SPX LAG. The multi-spx-port command transforms a live SPX LAG into a single-port SPX link. Both the multi-spx-port and multi-spx-lag commands are available in SPX CB configuration mode and SPX unit configuration modes.

Note: The system blocks the multi-spx-port or multi-spx-lag command if the command would make any PE unreachable.

For more information on SPX LAG formation and using port lists, refer to Differences in Campus Fabric configuration practices.

Note: You can use the no mutli-spx-port or no multi-spx-lag command to remove a live SPX link (two SPX ports) or a live SPX LAG in order to break a ring of PE units into one or two chains. Both ends of the live link become data ports that are administratively disabled in the configuration. These commands can be used as an alternative to physically disconnecting the links to break a ring of PEs.

The following example changes a live SPX LAG to a live link between CB unit 3 and PE unit 24.

ICX7750-26Q Router# configure terminal
ICX7750-26Q Router(config)# spx cb-config
ICX7750-26Q Router(config-spx-cb)# multi-spx-port 3/1/8 and 24/4/1
spx-lag 3/1/6 3/1/8  is replaced by spx-port 3/1/8.
spx-lag 24/3/1 24/4/1 is replaced by spx-port 24/4/1.

The following example creates a live SPX LAG between PE unit 17 and PE unit 24 as part of configuring PE unit 24 from the CB in SPX unit configuration mode.

ICX7750-26Q Router# configure terminal
ICX7750-26Q Router(config)# spx unit 24
ICX7750-26Q Router(config-spx-unit-24)# multi-spx-lag 24/2/1 to 24/2/2 and 17/2/1 17/2/2
spx-port 17/2/1 is replaced by spx-lag 17/2/1 to 17/2/2.
spx-port 24/2/1 is replaced by spx-lag 24/2/1 to 24/2/2.

The following example removes SPX ports between PE 24 and PE 25.

ICX7750-26Q Router(config)# spx cb-configure
ICX7750-26Q Router(config-spx-cb)# no multi-spx-port 24/2/1 and 25/2/3
Bring down 24/2/1 and 25/2/3
Wait for 20 sec before removing spx-ports. These ports will be disabled in configuration.
ICX7750-26Q Router(config-spx-cb)# end
ICX7750-26Q Router# show spx
T=22h55m20.8: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment                   
1  S ICX7750-26QXG active  cc4e.2439.2a80 128 local   Ready
2  S ICX7750-26QXG standby cc4e.2439.3700   0 remote  Ready
3  S ICX7750-48XGC member  cc4e.2439.1680   0 remote  Ready
17 S ICX7150-C12P  spx-pe  609c.9fbc.bf26 N/A remote  Ready
18 S ICX7150-48ZP  spx-pe  609c.9fee.4320 N/A remote  Ready
23 S ICX7450-48GF  spx-pe  cc4e.246c.f850 N/A remote  Ready
24 S ICX7450-48P   spx-pe  609c.9fc2.3090 N/A remote  Ready
25 S ICX7250-24    spx-pe  cc4e.24df.0ade N/A remote  Ready

    standby      active                                                        
     +---+        +---+        +---+                                           
  3/1| 2 |2/1==2/1| 1 |3/1==3/1| 3 |2/1                                        
     +---+        +---+        +---+                                           
            +----+                                                             
 3/1/41==1/7| 17 |                                                             
            +----+                                                             
                                                                               
            +----+                                                             
 3/1/17==1/1| 18 |                                                             
            +----+                                                             
                                                                               
            +----+        +----+                                               
  2/3/6--4/1| 23 |3/1--4/1| 24 |2/1-                                           
            +----+        +----+                                               
                                                                               
            +----+                                                             
 3/1/15--1/1| 25 |2/3-                                                         
            +----+                                                             
                                                                               
Standby u2 - protocols ready, can failover
ICX7750-26Q Router#   spx-port 24/2/1 is removed
spx-port 25/2/3 is removed