Use of an ATM as a switch or hub