Yes. Typically, stacking cables of different lengths will work as long as each cable meets the maximum supported distance of the switch. Typically, Cisco MS150 stacking is flexible as far as cable lengths are concerned. Therefore, using shorter cables within a rack and longer cables between racks is acceptable.
... View more