I was redesigning my home network and added some VLANS for storage (I use FreeNAS and iSCSI) to me the most obvious way of configuring a LACP bond was with the below.
switch1# conf t switch1(config)# int 5-6 lacp active switch1(config)# exit switch1# wr mem
The problem with this is it creates a dymanic trunk and remains on the native VLAN even if the ports are set to untagged in the respected VLAN interface. This is great if the device the LACP bond is for is on the native VLAN, but in my case it wasn’t.
switch1# show lacp PORT LACP TRUNK PORT LACP LACP NUMB ENABLED GROUP STATUS PARTNER STATUS ---- ------- ------- ------- ------- ------- 5 Active Dyn1 Up Yes Success 6 Active Dyn1 Up Yes Success switch# show trunks Port | Name Type | Group Type ---- + -------------------------------- --------- + ----- ----- 5 | FREENAS 100/1000T | Dyn1 LACP 6 | FREENAS 100/1000T | Dyn1 LACP
Don’t get me started on trying to remove it once a Dymanic Trunk port is setup! Something simple isn’t so simple.
switch1(config)# int 5-6 no lacp Operation failed on Port 5: Port is a member of a Dynamic Trunk. switch1(config)# int 5 switch1(eth-5)# no lacp 5: Operation is not allowed for a trunked port.
The easiest way is to get around this is to disconnect the device from the switch and re-run the above. Once the Dymanic Trunk has been removed, a proper trunk port can be setup for LACP and added to a VLAN.
switch1(config)# trunk 5,6 trk1 lacp switch1(config)# vlan 30 switch1(vlan-101)# untagged Trk1 switch1(vlan-101)# end switch1# wr mem
switch# show lacp PORT LACP TRUNK PORT LACP LACP NUMB ENABLED GROUP STATUS PARTNER STATUS ---- ------- ------- ------- ------- ------- 5 Active Trk1 Up Yes Success 6 Active Trk1 Up Yes Success switch# show trunks Port | Name Type | Group Type ---- + -------------------------------- --------- + ----- ----- 5 | FREENAS 100/1000T | Trk1 LACP 6 | FREENAS 100/1000T | Trk1 LACP
Connect the device back up again and all should be good to go!
References
Dymanic Trunk on Native VLAN
Be the first to comment on "HP Procurve / FreeNAS – LACP Configuration"