Junos OS

 View Only
last person joined: 23 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  LLDP port number is no displayed when there is description on the remote ports

    Posted 29 days ago

    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 29 days ago

    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 29 days ago
    Edited by asharp 29 days ago

    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