check port number of trema-switch