Junos OS

 View Only
Expand all | Collapse all

LLDP port number is no displayed when there is description on the remote ports

  • 1.  LLDP port number is no displayed when there is description on the remote ports

    Posted 05-20-2025 07:12

    LLDP port number is not displayed when there is description on the remote ports 

    I know this looks trivial but it drives me mad. when a description is added to the far end port , it displays the description and not the port #
    I think I might have fixed in the past but  cannot recall how. 
    I want the port info just to display the port like "xe-0/0/1"  not the description of the the port when there is a description on the far end

     run show lldp neighbors   
    Local Interface    Parent Interface    Chassis Id                               Port info          System Name
    et-0/0/46          ae10                xx:xx:xx:12:23:45                       CONNECTION-TO-SWITCH PO-XXMXCR-0_re0  
    et-1/0/46          ae10                xx:xx:xx:12:23:45                       CONNECTION-TO-SWITCH PO-XXMXCR-0_re0  
    et-0/0/47          ae11                xx:xx:xx:12:23:45                       CONNECTION-TO-SWITCH PO-XXMXCR-1_re0  
    et-1/0/47          ae11                xx:xx:xx:12:23:45                       CONNECTION-TO-SWITCH PO-XXMXCR-1_re0  
    ge-0/0/0           -                   xx:xx:xx:12:23:45                       CONNECTION TO ABI VC POC-TEST-HOSTS      
    ge-1/0/0           -                   xx:xx:xx:12:23:45                       CONNECTION TO ABI VC POC-TEST-HOSTS    


    Thanks in advance

    Simon



    ------------------------------
    JNCIE-ENT 907
    ------------------------------


  • 2.  RE: LLDP port number is no displayed when there is description on the remote ports

    Posted 05-20-2025 07:26

    I found it  this is the answer

    I found it on reddit 
    Goofy LLDP info, anyone have any idea how to get the correct physical port info? : r/Juniper

    set protocols lldp port-id-subtype interface-name
    set protocols lldp port-description-type interface-alias



    ------------------------------
    JNCIE-ENT 907
    ------------------------------



  • 3.  RE: LLDP port number is no displayed when there is description on the remote ports

    Posted 05-20-2025 07:27
    Edited by asharp 05-20-2025 07:28

    https://www.juniper.net/documentation/us/en/software/junos/multicast-l2/topics/task/layer-2-services-lldp-configuring.html

    set protocols lldp port-id-subtype interface-name
    set protocols lldp port-description-type interface-alias