For those of you familiar with EOS, a similar problem can be found in VSB (Virtual Switch Bonding), the virtual "stacking" functionality available in S-Series, K-Series and 7100 Series switches.

EOS allows the management of user traffic accross bonding ports (the equivalent to the stacking ports) with the command
set lacp outportLocalPreference [none | weak | strong | all-local]
to encourage a chassis-bonded switch to use local egress ports on a LAG, where
None = Do not prefer LAG ports based on chasis
Weak = Use a weak preference towards ports on the local chassis
Strong = Use a strong preference towards ports on the local chassis
All-local = Force all packets onto local chassis ports, if possible