Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to display actual the LLDP remote neighbor interface name in the 'show lldp neighbors' output

0

0

Article ID: KB27575 KB Last Updated: 18 Jun 2013Version: 1.0
Summary:
This article explains how to find the remote port information, which can be shown under the 'Port Info' as the remote interface's SNMP index when viewing the output of the command 'show lldp neighbors'.

Symptoms:
In reviewing the 'show lldp neighbors' output, remote interface SNMP index information may be displayed.

Here is an example output of the command (without the 'interface-name' configured):

user@host> show lldp neighbors
LLDP Remote Devices Information

LocalInterface ChassisId PortInfo SysName
ge-0/0/0 10.209.192.12 00 19 bb 20 de 80 AVA4C357D
ge-0/0/1 10.209.192.12 00 19 bb 20 de 80 AVA4C357D
ge-0/0/1 10.209.192.13 00 19 bb 20 de 81 AVA4C357E
ge-0/0/3 00 19 bb 20 de 79 5 apg-hp1
ge-0/0/3 00 19 bb 20 de 80 3 apg-hp1
ge-0/0/4 00 19 bb 20 de 79 5 apg-hp1
ge-0/0/4 00 19 bb 20 de 80 3 apg-hp1
ge-0/0/5 00 19 bb 20 de 81 ge-0/0/3 MX480-1
ge-0/0/6 00 19 bb 20 de 82 ge-0/0/4 MX960-2


Cause:
 The 'interface-name' configuration knob is not present in the [edit protocols lldp port-id-subtype] configuration hierarchy.
Solution:
To ensure the actual LLDP remote interface name information is shown in the 'show lldp neighbors' output, add the following configuration to the [edit protocols lldp] configuration hierarchy:

[edit protocols lldp]
port-id-subtype {
    interface-name;
}


After committing this configuration, the 'show lldp neighbors' output would look similar to this:

user@host> show lldp neighbors
LLDP Remote Devices Information

LocalInterface ChassisId                    PortInfo SysName
ge-0/0/0       00 19 bb 20 de 80            ge-1/0/0 AVA4C357D
ge-0/0/1       00 19 bb 20 de 80            ge-1/0/1 AVA4C357D
ge-0/0/1       00 19 bb 20 de 81            ge-1/0/1 AVA4C357E
ge-0/0/3       00 19 bb 20 de 79            ge-3/0/0 apg-hp1
ge-0/0/3       00 19 bb 20 de 80            ge-3/0/1 apg-hp1
ge-0/0/4       00 19 bb 20 de 79            ge-3/0/2 apg-hp1
ge-0/0/4       00 19 bb 20 de 80            ge-3/0/4 apg-hp1
ge-0/0/5       00 19 bb 20 de 81            ge-2/0/1 MX480-1
ge-0/0/6       00 19 bb 20 de 82            ge-2/0/2 MX960-2


Please refer to the following Technical Documentation link for additional information on the 'show lldp neighbors' output:


Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search