Definition and configuration of ports for TIM