Topology with switches