Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Ethernet Switching User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Example: Configuring LLDP

date_range 20-Dec-24

The following example configures LLDP on interface ge-1/1/1 but disables LLDP on all other interfaces, explicitly configures the default values for all automatically enabled features, and configures a value of 30 seconds for the LLDP configuration notification interval and a value of 30 seconds for the physical topology trap interval.

content_copy zoom_out_map
[edit]
protocols {
    lldp {
        advertisement-interval 30;
        hold-multiplier 4;
        interface all {
            disable;
        }
        interface ge-1/1/1;
        lldp-configuration-notification-interval 30;
        ptopo-configuration-maximum-hold-time 300;
        ptopo-configuration-trap-interval 30;
        transmit-delay 2;
    }
}

You verify operation of LLDP with several show commands:

  • show lldp <detail>

  • show lldp neighbors interface-name

  • show lldp statistics interface-name

  • show lldp local-information

  • show lldp remote-global-statisitics

You can clear LLDP neighbor information or statistics globally or on an interface:

  • clear lldp neighbors interface-name

  • clear lldp statistics interface-name

You can display basic information about LLDP with the show lldp detail command:

content_copy zoom_out_map
user@host> show lldp detail
LLDP                   : Enabled
Advertisement interval : 30 Second(s)
Transmit delay         : 2 Second(s)
Hold timer             : 4 Second(s)
Notification interval  : 30 Second(s)
Config Trap Interval   : 300 Second(s)
Connection Hold timer  : 60 Second(s)


Interface      LLDP       Neighbor count
ge-1/1/1       Enabled    0         
                    
LLDP basic TLVs supported: 
Chassis identifier, Port identifier, Port description, System name, System description, System capabilities, Management address.

LLDP 802 TLVs supported: 
Link aggregation, Maximum frame size, MAC/PHY Configuration/Status, Port VLAN ID, Port VLAN name.

For more details about the output of these commands, see the CLI Explorer.

footer-navigation