multi-spx-lag

Changes both ends of live SPX ports to form an SPX LAG.
Syntax
multi-spx-lag port-list1 and port-list2
no multi-spx-lag port-list1 and port-list2
Command Default

Individual SPX links, rather than an SPX LAG, exist before the command is executed.

Parameters
port-list1
Designates the ports that form one end of the SPX LAG.
port-list2
Designates the ports that form the other end of the SPX LAG.
Modes

CB configuration mode

SPX unit configuration mode

Usage Guidelines

The no form of the command removes SPX LAGs in a live link.

The no multi-spx-port and no multi-spx-lag commands provide the only way to change a PE ring to two chains or one chain without physically removing the cable. The removed spx-ports and spx-lags are brought down and disabled in configuration.

The system blocks the multi-spx-lag command if executing the command would make any PE unreachable.

This command changes both ends of a live CB-to-PE or PE-to-PE link at the same time to form an SPX LAG. Using the command avoids generating transit port-to-LAG connections and breaking internal communication.

Both multi-spx-port and multi-spx-lag are available in CB configuration mode and SPX unit configuration modes.

Examples

The following example creates a live LAG in CB configuration mode between the designated ports on CB unit 3 and PE unit 24.

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

The following example creates a live LAG between PE unit 17 and PE unit 24 as part of configuring PE unit 24 from the CB in SPX unit configuration mode. In this case, the command could be configured either under spx unit 17 or spx unit 24.

device# configure terminal
device(config)# spx unit 24
device(config-spx-unit-24)# multi-spx-lag 24/2/1 to 24/2/2 and 17/2/1 to 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 uses the no multi-spx-lag command to remove an SPX LAG between PE units 26 and 27 in a live system and disables related ports on both units.

device# show spx 

… snipped 


    active       standby 
     +---+        +---+        +---+ 
 =2/1| 2 |2/4--2/4| 3 |2/1==2/1| 1 |2/4= 
 |   +---+        +---+        +---+   | 
 |                                     |
 |-------------------------------------| 
            +----+        +----+        +----+        +----+        +----+ 
  1/1/5==3/1| 17 |2/2--2/2| 27 |2/3==2/1| 26 |2/5==2/5| 25 |2/1==2/5| 24 |2/1= 
            +----+        +----+        +----+        +----+        +----+   | 
                                                                             | 
                                                                    +----+   | 
                                                          2/1/9--4/1| 23 |2/1= 
                                                                    +----+ 



device# config terminal 
device(config)# spx unit 27 
device(config-spx-unit-27)# no multi-spx-lag 27/2/3 to 27/2/4 and 26/2/1 to 26/2/2 
Bring down ports: 26/2/1 to 26/2/2 27/2/3 to 27/2/4 
Wait for 20 sec before removing spx-lags. These ports will be disabled in configuration. 
spx-lag 26/2/1 to 26/2/2 is removed 
spx-lag 27/2/3 to 27/2/4 is removed 

device(config-spx-unit-27)# 
device(config-spx-unit-27)# show spx 

… snipped 


    active       standby 
     +---+        +---+        +---+ 
 =2/1| 2 |2/4--2/4| 3 |2/1==2/1| 1 |2/4= 
 |   +---+        +---+        +---+   | 
 |                                     | 
 |-------------------------------------| 
            +----+        +----+ 
  1/1/5==3/1| 17 |2/2--2/2| 27 | 
            +----+        +----+ 

            +----+        +----+        +----+        +----+ 
  2/1/9--4/1| 23 |2/1==2/1| 24 |2/5==2/1| 25 |2/5==2/5| 26 | 
            +----+        +----+        +----+        +----+ 
History
Release version Command history
08.0.40 This command was introduced.
08.0.80 The no form of the command became available.