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: