Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

neighbor-port-info-display

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 14.1X53-D40 and Release 15.1R5 and Release 16.1R3 for EX Series switches.

Description

Configure the type of Link Layer Discovery Protocol (LLDP) neighbor port information that the switch displays in the Port info field in the output of the show lldp neighbors CLI command.

Devices in a network use LLDP to learn about and identify neighbor devices. LLDP-capable devices transmit information in type, length, and value (TLV) messages to neighbor devices.

The Port info field of the show lldp neighbors command displays the port information received from LLDP neighbors. This information is sent from the LLDP neighbor to the switch in a type, length, and value (TLV) message. You can use the neighbor-port-info-display CLI statement to configure the switch to display the information contained in either the Port Description TLV or the Port Identification TLV.

By default, the information contained in the Port Description TLV is used for the port information and is displayed in the Port info field. The Port Description TLV contains the textual description of the logical unit or the port. The description for the logical unit is used, if available; otherwise, the description for the physical interface (port) is used. For example, LAG member interfaces do not contain a logical unit; therefore, only the description configured on the physical interface is used.

The Port Identification TLV contains the identifier for the neighbor port. The SNMP index of the interface is used as the port identifier.

Default

On EX Series switches, the Port info field in the output of the show lldp neighbors CLI command displays the Port Description TLV.

Options

port-descriptionConfigure this option to display the Port Description TLV in the Port info field of the show lldp neighbors CLI command.
port-idConfigure this option to display the Port Identification TLV in the Port info field of the show lldp neighbors CLI command.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.