No, L2 isn't working as I suspect it's dependent on L1 being wired correctly.
I have no idea where cable D runs to, but the colouring of the wires running in this cable look suspiciously like the sort you would find inside a switch itself. D has a red, blue, yellow and an earth (sorry, I...