2. Ports are communication channels opened by computer systems for certain services, such as port 80 for opening web pages and port 23 for telnet.
3. There is also the socket of the network cable of the switch, also called port binding. Specifies an ip or mac address as an excuse for the switch.
4. On computers and switches, the relationship between ip and ports is slightly different. I don't know which one you are asking.
I hope I can help you.
All quarrels and curses are best friends. This is my warm words to your best friend, I hope you like it!
A selection of warm words for my girlfriend