cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a switch to show 'system-name' of connected device when issuing "show LLDP neighbors"?

How to get a switch to show 'system-name' of connected device when issuing "show LLDP neighbors"?

Jim_Keeffe
New Contributor
I have a severa; BD8810 access-layer switches connect to a Summit distribution switch. All devices have LLDP enabled on their uplink ports such as:

8810 switch:
enable lldp port 5:1
configure lldp port 5:1 advertise system-name

Summit switch
enable lldp port 21
config lldp port 21 advertise system-name

'Show lldp neighbors' on either device gives this simple output format:

Port Neighbor Chassis-ID Neighbor Port ID TTL Age

The 'Neighbor Chassis-ID' is the MAC address of the connected device. However, I'd like to have the system name of the connected device displayed in the simple output format instead of the chassis-id. Otherwise I have to issue 'show lldp port 21 neighbor detail' to get the system-name.

Our Summit distribution switch will end up having uplinks to many 8810 access switches and I'd like to see all the 8810 system-names when issuing 'show lldp neighbors.'

Is this possible to do?
6 REPLIES 6

Mike_D
Extreme Employee


Hello Jim,

EOS includes the S-series modular style CLI and O/S as well as the fixed port 'stackable' CLI.

for the fixed port products, enable the lldp port option "tx-tlv sys-name". If mib II sys-name is configured this TLV will now be sent across.

To show the neighbor's sys-name use show lldp port remote-info - output is similar to the data described by Alex.

Not an perfect match for "sys-name output in show neighbors?" but its what's available.




Best regards,

Mike

aloeffle
Contributor
Hi Mike.

thanks, there is actually a similar command in EOS:

SSA-TLAB(su)->show neighbors -verbose ge.1.1
Port ge.1.1
Neighbor : 00-1f-45-17-03-9a
System Name : G3-LAB
Description : Extreme Networks, Inc. G3 -- Model G3G124-24 Rev 06.61.15.0003
Port : ge.2.2
MTU : 0
Last Update : THU JAN 01 00:00:00 1970
LLDP
Chassis Id : 00-1f-45-17-03-9a
Port : ge.2.2
Support :
Enabled :
CDP
Neighbor IP : 10.0.0.30
Chassis IP : 10.0.0.30
Chassis MAC : 00-1f-45-17-03-9a
Device Type : dot1qSwitch
Support : ieee8021q, gvrp, igmpSnoop
CiscoDP
Device Id : 001f4517039a
Address : 10.0.0.30
Port : ge.2.2
Version : 2
Primary Management : 10.0.0.30
Duplex : Full Duplex
Power : 0 milliwatts
Support : 0x02b01

SSA-TLAB(su)->



This works for me!

thanks again and best regards

Alex

Mike_Lane
Extreme Employee
Actually, though EDP does work great, it is not interoperable with other vendors so...

Just add "detail at the end of the command and you will have ALOT of info, depending on what is advertised by the neighbor.

770_R4U3_CORE1.1 # sh lldp neigh det
-----------------------------------------------------------------------------
LLDP Port 1 detected 1 neighbor
Neighbor: 00:04:96:98:45:C6/1, age 25 seconds
- Chassis ID type: MAC address (4)
Chassis ID : 00:04:96:98:45:C6
- Port ID type: ifName (5)
Port ID : "1"
- Time To Live: 120 seconds
- Port Description: ""
- System Name: "R4-672x-CORE3" As far as EOS is concerned, is there no detail option as well?

- Mike

aloeffle
Contributor
Dear all. Is there also a solution für EOS devices?

CDP, CiscoDP or LLDP does only show the IP-Adress, not the remote System name

G3-LAB(su)->show neighbors
Port Device ID Port ID Type Network Address
---------------------------------------------------------------------------------
ge.2.2 00-1f-45-fb-6a-be ge.1.1 ciscodp 10.0.0.88
ge.2.2 00-1f-45-fb-6a-be ge.1.1 cdp 10.0.0.88
ge.2.2 00:1F:45:FB:6A:BE ge.1.1 lldp
G3-LAB(su)->

Thanks in advance
Alex
GTM-P2G8KFN