Port switch