Configuring Static Trunking for Link Aggregation


To statically configure a Link Aggregation Group (LAG), also known as trunk, you can use the trunk-create command.


For example, in order to aggregate the three links connected to ports 1, 2, 3 on a switch, use the following steps:


1) Create a trunk called trunk-1 on ports 1, 2, 3 by entering the following command:


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


2) To verify the result of 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

 

3) You can modify the trunk configuration for example by removing port 2 from the group:


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


4) 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 list of ports has changed from 1-3 to 1,3 indicating that port 2 is no longer a member of the trunk.


To remove the trunk from the switch, use the trunk-delete command:


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


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