interface lag multi-chassis
Syntax
interface lag <LAG-ID> multi-chassis [static]
no interface lag <LAG-ID>
Description
Configures a given LAG as a dynamic multichassis LAG (VSX LAG), which supports a maximum of four member links per switch segment. A VSX LAG across a downstream switch can have at most a total of eight member links.
The
no
form of this command removes a VSX LAG.
Command context
config
Parameters
<LAG-ID>
- Specifies the LAG ID. Run the
show capacities vsx
command for the maximum number of VSX LAGs supported for your particular type of switch; however, the maximum VSX LAG value considers that one port is used for the ISL, which is not a VSX LAG. Required. static
- Specifies the multichassis LAG as static. Optional.
Authority
Administrators or local user group members with execution rights for this command.
Usage
When creating a VSX LAG, select an equal number of member links in each segment for load balancing, such as four member links (one segment) and four member links (another segment). Do not create a VSX LAG with four member links in one switch and two member links on another segment. A switch can have a maximum of four member links.
Make sure that the VSX LAG interface on both the VSX primary and secondary switches has a member port configured and enabled.
Make sure that you also have a non-VSX port that is available for the ISL.
You cannot change the mode of a multichassis LAG without removing the multichassis LAG first. To change a pre-existing VSX LAG to a static VSX LAG, first remove the VSX LAG with the
no interface lag
<LAG-ID>
command. Then, enter the
interface lag
<LAG-ID> multi-chassis static
command.
Examples
Configuring LAG 100 as a VSX LAG:
switch(config)# interface lag 100 multi-chassis
Removing LAG 100 as a VSX LAG:
switch(config)# no interface lag 100
Specifying LAG 100 as a static VSX LAG:
switch(config)# interface lag 100 multi-chassis static