Hi, if you're going to create a bond type 4 (AKA IEEE 802.3ad LACP) host side, you must do the same switch side.
The Layer 3/4 setting acts globally at switch level and the Link Aggregation configuration - say you have a two ports port trunking with LACP, that translates into trunk n,m trkX lacp on the Aruba 3810M - is valid for any peer you're connecting through aggregated links.
LAGs simply gather, if available, L4 or L3 info to calculate the egressing port for outgoing traffic through the links aggregation interface (the same could be done - it's not mandatory - host side).