Configuring Trunking for Link Aggregation (LAG)



Note: You must create unique names for each VLAG.



To configure a trunk for aggregating the links connected to ports 1, 2, 3, use the following steps:


1. Create a trunk called trunk-1 on ports 1, 2, 3, enter the following command:


CLI (network-admin@switch) > trunk-create name trunk-1 port 1,2,3


To verify the configuration, use the trunk-show command:


CLI (network-admin@switch) > trunk-show


name           port       speed   autoneg    jumbo

--------       -----      ------  -------    ------

trunk-1        1-3        10g     off        off

 


Modify the trunk configuration by removing port 2:


CLI (network-admin@switch) > trunk-modify name trunk-1 port 1,3


Verify the updated trunk configuration.


CLI (network-admin@switch) > trunk-show


name           port       speed   autoneg    jumbo

--------       -----      ------  -------    ------

trunk-1        1,3        10g     off        off

 

Notice that the ports have changed from 1-3 to 1,3 indicating that port 2 is no longer a member of the trunk configuration.


Delete the trunk configuration from the switch:


CLI (network-admin@switch) > trunk-delete name trunk-1


Verify that the trunk configuration is removed by using the trunk-show command.