Supported Platforms
Related Documentation
- EX Series
- Configuring LLDP (CLI Procedure)
- Configuring LLDP-MED (CLI Procedure)
- Understanding 802.1X and LLDP and LLDP-MED on EX Series Switches
- QFabric System, QFX Series standalone switches
- Configuring LLDP
- QFX Series
- Understanding LLDP
show lldp
Syntax
Release Information
Command introduced in Junos OS Release 9.0 for EX Series switches.
Command introduced in Junos OS Release 11.1 for the QFX Series.
Description
Display information about Link Layer Discovery Protocol (LLDP) and Link Level Discovery Protocol–Media Endpoint Discovery (LLDP-MED) configuration and capabilities on the switch. LLDP and LLDP-MED are used to learn about and to distribute device information on network links.
![]() | Note: LLDP-MED is not available on the QFX Series. |
Options
none | — | Display LLDP information for all interfaces. |
detail | — | (Optional) Display detailed LLDP information for all interfaces. |
Required Privilege Level
view
Related Documentation
- EX Series
- Configuring LLDP (CLI Procedure)
- Configuring LLDP-MED (CLI Procedure)
- Understanding 802.1X and LLDP and LLDP-MED on EX Series Switches
- QFabric System, QFX Series standalone switches
- Configuring LLDP
- QFX Series
- Understanding LLDP
List of Sample Output
show lldp (EX3200 switches)show lldp (EX4300 switches)
show lldp detail (EX4300 switches)
Output Fields
Table 1 lists the output fields for the show lldp command. Output fields are listed in the approximate order in which they appear.
Table 1: show lldp Output Fields
Field Name | Field Description | Level of Output |
---|---|---|
LLDP | LLDP operating state. The state can be enabled or disabled. Note: If a VLAN that has been configured for untagged packets on an interface also has Layer 2 protocol tunneling (L2PT) enabled for LLDP, the LLDP operating state for that interface is displayed as disabled. | All levels |
Advertisement interval | Frequency, in seconds, at which LLDP advertisements are sent. This value is set by the advertisement-interval configuration statement. | All levels |
Transmit delay | Seconds of delay before advertisements are sent to neighbors following a change to a TLV (type, length, or value) element in the LLDP protocol or to the state of the local system, such as a change in hostname or management address. You can set this value to reduce the delay in notifying neighbors of a change in the local system. This value is set by the transmit-delay configuration statement. | All levels |
Hold timer | On EX4300 switches, the hold timer shows the length of time LLDP information is held before it is discarded. The hold timer value is equal to the advertisement interval multiplied by the hold multiplier. On all other switches, the hold timer shows the value of the hold multiplier. The hold multipler value is set by the hold-multiplier configuration statement. | All levels |
Notification interval | How often LLDP trap notifications are generated as a result of LLDP database changes. If the interval value is 0, LLDP trap notifications on database changes are disabled. This value is set by the lldp-configuration-notification-interval configuration statement. | All levels |
Config Trap Interval | How often LLDP trap notifications are generated as a result of changes in topology—for example, when an endpoint connects or disconnects. If the interval value is 0, LLDP trap notifications on topology changes are disabled. This value is set by the ptopo-configuration-trap-interval configuration statement. | All levels |
Connection Hold timer | Amount of time the system maintains dynamic topology entries. This value is set by the ptopo-configuration-maximum-hold-time configuration statement. | All levels |
LLDP-MED | LLDP-MED operating state. The state can be Enabled or Disabled. | All levels |
MED fast start count | Number of advertisements sent from a switch to a device, such as a VoIP telephone, when the device is first detected by the switch. These increased advertisements are temporary. After a device and a switch exchange information and can communicate, advertisements are reduced to one per second. This value is set by using the fast-start configuration statement. Note: fast-startis not available on the QFX Series. | All levels |
Interface | Name of the interface for which LLDP configuration information is being reported. | All levels |
Parent Interface | Name of the aggregated Ethernet interface, if any, to which the interface belongs. | All levels |
LLDP | LLDP operating state. The state can be Enabled or Disabled. | All levels |
Power Negotiation | LLDP power negotiation operating state. The state can be Enabled or Disabled. | All levels |
Neighbor count | Total number of new LLDP neighbors detected since the last switch reboot. | detail |
Interface | Name of the interface that is advertising VLAN information. | All levels |
Vlan-id | VLAN tag associated with the interface sending LLDP frames. If the interface is not a member of a VLAN, the VLAN ID is advertised as 0. | detail |
Vlan-name | VLAN name associated with the VLAN ID. | detail |
LLDP basic TLVs supported | Basic TLVs supported on the switch:
| detail |
Supported LLDP 802 TLVs | 802.3 TLVs supported on the switch:
| detail |
Supported LLDP MED TLVs | LLDP-MED TLVs supported on the switch:
| detail |
Sample Output
show lldp (EX3200 switches)
user@switch> show lldp
LLDP : Enabled Advertisement interval : 30 seconds Transmit delay : 2 seconds Hold timer : 4 seconds Notification interval : 0 Second(s) Config Trap Interval : 0 seconds Connection Hold timer : 300 seconds LLDP MED : Disabled MED fast start count : 3 Packets Interface Parent Interface LLDP LLDP-MED Power Negotiation all - Enabled Enabled Enabled
show lldp (EX4300 switches)
user@switch> show lldp
LLDP : Enabled Advertisement interval : 30 seconds Transmit delay : 2 seconds Hold timer : 120 seconds Notification interval : 0 Second(s) Config Trap Interval : 0 seconds Connection Hold timer : 300 seconds LLDP MED : Disabled MED fast start count : 3 Packets Interface Parent Interface LLDP LLDP-MED Power Negotiation all - Enabled Enabled Enabled
show lldp detail (EX4300 switches)
user@switch> show lldp detail
LLDP : Enabled Advertisement interval : 30 seconds Transmit delay : 2 seconds Hold timer : 120 seconds Notification interval : 0 Second(s) Config Trap Interval : 0 seconds Connection Hold timer : 300 seconds LLDP MED : Disabled MED fast start count : 3 Packets Interface Parent Interface LLDP LLDP-MED Power Negotiation Neighbor count all - Enabled Enabled Enabled 8 Interface Parent Interface Vlan-id Vlan-name xe-3/0/0.0 ae31.0 100 v100 xe-3/0/0.0 ae31.0 101 v101 xe-3/0/0.0 ae31.0 4000 v4000 xe-3/0/1.0 ae31.0 100 v100 xe-3/0/1.0 ae31.0 101 v101 xe-3/0/1.0 ae31.0 4000 v4000 xe-3/0/2.0 ae31.0 100 v100 xe-3/0/2.0 ae31.0 101 v101 xe-3/0/2.0 ae31.0 4000 v4000 LLDP basic TLVs supported: Chassis identifier, Port identifier, Port description, System name, System description, System capabilities, Management address. Supported LLDP 802 TLVs: MAC/PHY configuration/status, Power via MDI, Link aggregation, Maximum frame size, Port VLAN tag, Port VLAN name. Supported LLDP MED TLVs: LLDP MED capabilities, Network policy, Endpoint location, Extended power Via MDI.
Published: 2014-07-23
Supported Platforms
Related Documentation
- EX Series
- Configuring LLDP (CLI Procedure)
- Configuring LLDP-MED (CLI Procedure)
- Understanding 802.1X and LLDP and LLDP-MED on EX Series Switches
- QFabric System, QFX Series standalone switches
- Configuring LLDP
- QFX Series
- Understanding LLDP