3

I know this is as basic as it gets but I can't find a direct answer to this question.

Are they ports on two different switches (or routers) that are connected by a cable? Are they the ports physically neighboring each other on the same switch? Are they all the ports belonging to the same VLAN? Are they ports who are friendly and say hello when they see each other across the street?

Does this "neighboring" concept apply the same to routers and switches?

2
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.
    – Ron Maupin
    Dec 15, 2019 at 3:36
  • Thanks for the reminder. I've marked it as answered.
    – Bjarni85
    Dec 16, 2019 at 10:41

2 Answers 2

8

Most basic example of neighbor ports would be as you mentioned: "ports on two different switches (or routers) that are connected by a cable"

You won't find a defined definition for this phrase because it will also depend on the context, for example when you are talking at a L3 from the OSI Layer, you might be going across several L2 ports, which each one along the way are directly connected, however from a protocol standpoint the neighbor port might be considered several L2 hops away.

Lets say you have a dedicated line with your service provider, your neighboring port from a LLDP connectivity standpoint might be many miles and port connections along the way but all being considered L2, hence your endpoint device would be considered the actual LLDP neighbor port (L3).

So although your statement is true, it still always good to have a clear context, as some people might be referring of a neighbor port on a different perspective.

Indeed engineers might also refer to: "Are they the ports physically neighboring each other on the same switch" , which could bring confusion if not stated properly, I would say a phrase like that in this specific scenario is/would be used for clarification purpose or to rephrase a statement for further understanding, i.e while troubleshooting a linecard, although I would preferably say something like - check the port next to it, number XYZ, instead of calling it "neighbor".

5

Are they ports on two different switches (or routers) that are connected by a cable?

Yes, you have said it yourself.

Does this "neighboring" concept apply the same to routers and switches?

Yes

Are they all the ports belonging to the same VLAN?

Vlans can be used, but there is no requirement for Vlans (or even ethernet for that matter)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.