Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Help Required

Hello friends i am facing a problem regarding a concept can any body explain what is the difference between a port and interface ports are on switches like fastethernet 0/1 and interfaces like serial 0 i am really confusued what is the difference between these two terms. waiting for reply

Best Regards

Ahmad Ellahi

2 REPLIES
Green

Re: Help Required

"Port" in the computer / networking world is very contextual.

For network related hardware, a port is simply someplace to connect a cable or device (RS-232 port, Ethernet Port ..)

In a software realm, port usually refers to a layer 4 address ... where to send the information contained in the layer three packet that was contained in the layer two frame.

At the transport layer, your primary data is contained in TCP or UDP packets. Once the information has made it up the stack that far, there has to be a label or address to tell the protocol stack what kind of data it is, so it can be directed to the correct process (Telnet, FTP, SSH ...), the port number is that address.

Well known port numbers are things like port 23 (telnet), 20+21 (for FTP), 53 (DNS), SSH (22) and so on.

So if someone asked you "What is a port?" it is appropriate to ask "for hardware or software (protocol stack, programming, firwewall, IDS ...)?"

Hardware port = somewhere to plug something in

Software port = (essentially) a layer 4 address (protocol address).

There is another meaning in the software-related realm: port also means to adapt code meant for one system to another system (like porting an application that works on a PC to work on an old PowerPC Mac, or an iPhone, or from one router type to another).

Hope this helps

Good Luck

Scott

New Member

Re: Help Required

Thanxs Bro for such a detailed and informative answer.

Best Regards

Ahmad Ellahi

100
Views
5
Helpful
2
Replies
CreatePlease login to create content