spx-lag
By default, a LAG does not exist.
CB configuration mode
Provisional-PE mode
PE mode
The
no form of the command with the correct list of ports in the LAG removes the LAG. The
optional
pe-group configuration is ignored when removing the SPX LAG.
An SPX LAG can contain from 2 through 16 ports. An SPX LAG allows noncontiguous ports.
The
spx-lag command can be configured for a control bridge (CB) as a cascade LAG or for a PE
unit. An SPX LAG on a CB can span multiple units. An SPX LAG on a PE unit can contain
only ports on the same unit.
You can remove a LAG member by re-entering the
spx-lag command without the port number that you want to remove. If you create a new SPX
LAG that contains a member of another SPX LAG or a previously configured SPX port,
the new LAG replaces the old LAG or SPX port.
SPX LAGs and SPX ports are mutually exclusive in their membership. For example, if you configure an SPX LAG containing ports 17/2/1 to 17/2/3, the system removes the configured SPX port 17/2/1. If you configure SPX port 17/2/1, the system removes the port from the LAG and creates the two-port LAG 17/2/2 to 17/2/3.
The system blocks the
spx-lag command if executing it would make any PE unreachable. However, it allows the command
to break a ring into two chains.
The optional PE group name can be used when assigning PE IDs from the CB with the
pe-id command. It can also be used in the
show spx pe-group command to focus command output. If you enter the
spx-lag command and omit the previously assigned PE group name, the name is removed from
the LAG, and it is replaced by the primary port of the SPX LAG in the SPX configuration.
The following example configures a LAG that includes ports from CB units 1, 2, and 3.
device# configure terminal device(config)# spx cb-configure device(config-spx-cb)# spx-lag 1/1/10 2/1/2 3/1/1
The following example configures a LAG and then configures a second LAG that replaces the first because port 2/1/9 is in both LAGs.
device# configure terminal device(config)# spx cb-configure device(config-spx-cb)# spx-lag 1/1/7 2/1/9 3/1/10 device(config-spx-cb)# spx-lag 2/1/9 3/1/12 spx-lag 1/1/7 2/1/9 3/1/10 is replaced by spx-lag 2/1/9 3/1/12.
The following example configures a two-port SPX LAG on a provisional PE.
device# configure terminal device(config)# spx pe-enable Enter provisional PE mode. CLI is limited to spx unit 1. After finishing all configuration, please "write memory" and reload this unit to be a PE. [Provisional-PE]device(config)# [Provisional-PE]device(config)# spx unit 1 [Provisional-PE]device(config-spx-unit-1)# spx-lag 1/2/1 to 1/2/2
The following example is executed from the CB and removes an SPX LAG from a PE unit. The command can be entered from the CB for a live PE or for a reserved configuration.
device# configure terminal device(config)# spx unit 17 device(config-spx-unit-17)# no spx-lag 17/2/1 to 17/2/2 spx-lag 17/2/1 to 17/2/2 is removed
| Release version | Command history |
|---|---|
| 08.0.40 | This command was introduced. |