Campus Switching and Routing

Reply
Contributor I
Posts: 67
Registered: ‎12-02-2013

How to identify neighbor switches

On the S2500/3500 switches is there a command in either the cli or the web UI to show the identity (probably by the MAC address of the uplink port) of neighbor switches? I've tried a number of things: looking at the MAC address table, LLDP output, neighbor-devices output, but none of that shows me what's at the other end of a link. Any ideas?

 

Thanks.

 

Jon Koelker

Oyster River School District

Durham, NH

Aruba
Posts: 429
Registered: ‎05-30-2012

Re: How to identify neighbor switches

Jon,

Are you saying that the neighbor-devices output is empty for those ports or that command doesn't show you enough detail. The MAC address table will only show you MAC addresses. We can't do an OUI lookup to tell you the vendor of that MAC.

 

Best regards,

 

Madani

Aruba
Posts: 1,368
Registered: ‎12-12-2011

Re: How to identify neighbor switches

Is LLDP enabled on all the inter switch links?

 

A show LLDP neighbor should tell you...

 

 

Seth R. Fiermonti
Consulting Systems Engineer - ACCX, ACDX, ACMX
Email: seth@hpe.com
-----
If you found my post helpful, please give kudos
Contributor II
Posts: 57
Registered: ‎12-10-2011

Re: How to identify neighbor switches

Hi Jon,

 

Can you check & confirm if LLDP transmit & recive processing is enabled  under the applied lldp-profile?

Verify configs at both at interface-group & interface level.

 

By default, if you haven't changed/touched any config w.r.t to LLDP, It show with 'show lldp neighbor' & 'show neighbor-devices'

 

Thanks,

-Vinay

Contributor I
Posts: 67
Registered: ‎12-02-2013

Re: How to identify neighbor switches

Hi, Madani - as far as I can tell, the output from 'show lldp neighbor' shows only APs and phones - not the switchport at the other end of an uplink. If I specify 'show lldp neighbor interface gigabitethernet 2/1/1', which is an interface that I know to be an inter-switch link, it returns 'Number of neighbors: 0'. Perhaps that's because that interface is part of a port channel?

 

I don't really need to know the OUI because the connected switch is also an Aruba switch. I'm just trying to confirm (for documentation purposes) which switchports on each device connect to which switchports on the upstream/downstream device.

 

Contributor I
Posts: 67
Registered: ‎12-02-2013

Re: How to identify neighbor switches

Hi, Vinay - please see my response to Madani's post.

 

Here's the lldp profile info from one of our switch stacks:

 

interface-profile lldp-profile "lldp-factory-initial"
lldp transmit
lldp receive
med enable

 

Thanks.

 

                        jk

Contributor I
Posts: 67
Registered: ‎12-02-2013

Re: How to identify neighbor switches

Hi, Seth - all the 'show lldp neighbor' command gives me is phones and APs - no directly connected switches......

Aruba
Posts: 429
Registered: ‎05-30-2012

Re: How to identify neighbor switches

[ Edited ]

John,

Send the actual "interface gigabitethernet...", "interface-group gigabitethernet..." and/or "interface port-channel..." config output that covers the switch to switch links and from both sides.

 

Best regards,

 

Madani

Search Airheads
Showing results for 
Search instead for 
Did you mean: