Got it

Problem with display lldp neighbor brief command output | NAPALM driver

Created: Sep 4, 2020 07:01:03Latest reply: Sep 4, 2020 08:38:51 386 3 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello,

I am trying to automate my network as much as I can. I think it would be better to shortcut the neighbor device name/fqdn than having this mess. Having this field with a maximum length.

In order to prepare a driver for napalm and match a regex, this is not very usefull to find the neighbor port, neither the neighbor fqdn.

Do you know if this behaviour is fixed in newer versions?


>display lldp neighbor brief

Local Intf              Neighbor Dev         Neighbor Intf        Exptime (sec)

-------------------------------------------------------------------------------

GigabitEthernet1/0/1    HxxxxxxxxxxxxP01     GigabitEthernet4/1/1           110

GigabitEthernet1/1/0    ZXXXXXXXXXXXXXXX31.XXXXXn.XsEthernet1/48                    99

GigabitEthernet1/1/4    XXXXXXXXXXXXXX00001.XXXXXn.XsTe1/1/1                        111

GigabitEthernet1/1/6    XXXXXXXXXXXXXXXXX01.oe.XXXXXn.XsGi8.1767                        90

GigabitEthernet1/1/6    XXXXXXXXXXXXXXX0001.oe.arXXXn.XsGi8                            102

GigabitEthernetn/n/n HxxxxXXXXCXXXXX.YYYYYYe sra_xxlar X8 Pixxxxxlli        116


Here my device info:

Huawei Versatile Routing Platform Software

VRP (R) software, Version 5.170 (NE40E&80E V600R009C20SPC600)

Copyright (C) 2000-2017 Huawei Technologies Co., Ltd.

HUAWEI NE40E-X8 uptime is 283 days, 4 hours, 55 minutes

Patch version : V600R009SPH085


Regards

Featured Answers

Recommended answer

chenhui
Admin Created Sep 4, 2020 08:38:51

Hi, 

Can you please try checking the output of the command "display lldp neighbor interface g1/1/0", if the output correctly display the system name of the LLDP neighbor. Kindly refer the output below:

##########################################

<s1>display lldp neighbor interface g0/0/19 

GigabitEthernet0/0/19 has 1 neighbors:

Neighbor index : 1

Chassis type   :macAddress 

Chassis ID     :00e0-fc73-4913 

Port ID type   :interfaceName 

Port ID        :GigabitEthernet0/0/0

Port description    :HUAWEI, AR Series, GigabitEthernet0/0/0 Interface

System name         :r1-1

System description  :Huawei AR3260 Huawei Versatile Routing Platform Software  V

RP (R) software,Version 5.130 (AR3260 V200R003C00) Copyright (C) 2011-2012 Huawe

i Technologies Co., Ltd

System capabilities supported   :bridge 

System capabilities enabled     :bridge 

Management address type  :all802

Management address       : 00e0-fc73-4913  

Expired time   :101s

##########################################

View more
  • x
  • convention:

little_fish
little_fish Created Sep 22, 2020 01:06:52 (0) (0)
Cool  
All Answers
DDSN
DDSN Admin Created Sep 4, 2020 07:01:49

Hi user_3953235,
Please wait patiently. Our engineers are looking for answers to your questions.
View more
  • x
  • convention:

Hi, 

Can you please try checking the output of the command "display lldp neighbor interface g1/1/0", if the output correctly display the system name of the LLDP neighbor. Kindly refer the output below:

##########################################

<s1>display lldp neighbor interface g0/0/19 

GigabitEthernet0/0/19 has 1 neighbors:

Neighbor index : 1

Chassis type   :macAddress 

Chassis ID     :00e0-fc73-4913 

Port ID type   :interfaceName 

Port ID        :GigabitEthernet0/0/0

Port description    :HUAWEI, AR Series, GigabitEthernet0/0/0 Interface

System name         :r1-1

System description  :Huawei AR3260 Huawei Versatile Routing Platform Software  V

RP (R) software,Version 5.130 (AR3260 V200R003C00) Copyright (C) 2011-2012 Huawe

i Technologies Co., Ltd

System capabilities supported   :bridge 

System capabilities enabled     :bridge 

Management address type  :all802

Management address       : 00e0-fc73-4913  

Expired time   :101s

##########################################

View more
  • x
  • convention:

little_fish
little_fish Created Sep 22, 2020 01:06:52 (0) (0)
Cool  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.