Can LACP be set up to connect to two different firewalls?
If LSW-1 and LSW-2 are indeed multi chassis LACP capable (Stack, Stackwise, M-LAG, multichassis LACP, VPC, VSS ... feature names vary by vendor), then .. probably not quite the way you word it, but a working setup is still possible.
Assuming that FW1 and FW2 are a "bread and butter" variety of active/standby firewall cluster, they probably won't be Multi Chassis LACP capable. Then again, they don't have to be.
- On FW1, configure a single LACP bundle of 4 ports.
- On LSW-1 and LSW-2 configure one multi chassis LACP bundle with 2 ports on each switch, for FW1 to connect to.
- be sure to configure the multi chassis LACP bundle the same as the one for FW2 (same set of allowed VLANs, same spanning-tree settings etc)
- connect FW1 to both LSW-1 and LSW-2 accordingly
and
- On FW2, configure a single LACP bundle of 4 ports.
- On LSW-1 and LSW-2 configure a second multichassis LACP bundle with 2 ports on each switch, for FW2 to connect to.
- be sure to configure the multi chassis LACP bundle the same as the one for FW1 (same set of allowed VLANs, same spanning-tree settings etc)
- connect FW2 to both LSW-1 and LSW-2 accordingly
To FW1 and FW2, their LACP bundle will appear to come from one single switch.
LSW1 and LSW2 will see two separate Multi Chassis LACP bundles, one for FW1, one for FW2.
This way, FW1 and FW2 can fail over and back as they see fit; LSW-1 and LSW-2 will just see traffic shift from one (multichassis) bundle to the other and back.
If either LSW-1 or LSW-2 were to fail, FW1/FW2 would not necessarily have to track/replicate the switch's failure in their active/standby states. Of course, the FWs will perceive the loss of 2 of the 4 links in their 4x LACP bundle - but that's just as well.