Added switch port numbering scheme

The new numbering scheme can be enabled via the option "switch=1".