Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Tracing LLDP Operations

To trace LLDP operational traffic, you can specify options in the global traceoptions statement included at the [edit routing-options] hierarchy level, and you can specify LLDP-specific options by including the traceoptions statement:

You can include this statement at the following hierarchy levels:

  • [edit protocols lldp]

  • [edit routing-instances routing-instance-name protocols lldp]

You can specify the following LLDP-specific options in the LLDP traceoptions statement:

  • all—Trace all operations.

  • config—Log configuration events.

  • interface—Trace interface update events.

  • protocol—Trace protocol information.

  • rtsock—Trace real-time socket events.

  • vlan—Trace VLAN update events.

    Note:

    Use the trace flag all with caution. This flag may cause the CPU to become very busy.

For general information about tracing and global tracing options, see the statement summary for the global traceoptions statement in the Junos OS Routing Protocols Library for Routing Devices.