Statement introduced in Junos OS Release 12.3R1
For Link Layer Discovery Protocol, configure the port ID type, length, and value (TLV).
Default: Use the SNMP index of the interface to generate the port ID TLV. This is the default option used to generate port ID TLV.
For QFX5200 switches, the default value used to generate port ID TLV in LLDP messages is interface name, not SNMP index.
The show lldp neighbors command displays the content of the port ID TLV received from the peer in the port Info field. Changing the configuration of port-id-subtype affects the display of the show lldp neighbors command on the peer device running Junos OS.
When the value of port-id-subtype is set to locally-assigned, which is the default value, the show lldp neighbors command on the peer device running Junos OS displays the SNMP index as the port information for the local device.
When the value of port-id-subtype is set to interface-name, the show lldp neighbors command on the peer device running Junos OS displays the interface name as the port information for the local device.
The value of the MIB variable instance lldpLocPortId depends on the entity that is used to generate the port ID TLV. If the port ID TLV generation is configured to use the interface-name in the command set port-id-subtype interface-name, then the value of the MIB variable lldpLocPortId instance is the interface name and not the SNMP index.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.