show lldp
Syntax
show lldp <detail>
Description
Port ID TLV
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.
Options
none | Display LLDP information for all interfaces. |
detail | (Optional) Display detailed LLDP information for all interfaces. |
Required Privilege Level
view
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.
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 |
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 |
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 |
Port ID TLV subtype |
|
|
Port Description TLV type |
Following value used for port description TLV:
|
|
LLDP-MED |
LLDP-MED operating state. The state can be |
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. |
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 |
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. For switches running Junos OS releases with Enhanced Layer 2
Software (ELS), this column displays the string |
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)
- show lldp (EX4300 switches)
- show lldp detail (EX4300 switches)
- show lldp detail (EX3400 switches with VLAN name TLV)
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 vlan-100 xe-3/0/0.0 ae31.0 101 vlan-101 xe-3/0/0.0 ae31.0 4000 vlan-4000 xe-3/0/1.0 ae31.0 100 vlan-100 xe-3/0/1.0 ae31.0 101 vlan-101 xe-3/0/1.0 ae31.0 4000 vlan-4000 xe-3/0/2.0 ae31.0 100 vlan-100 xe-3/0/2.0 ae31.0 101 vlan-101 xe-3/0/2.0 ae31.0 4000 vlan-4000 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.
show lldp detail (EX3400 switches with VLAN name TLV)
user@switch> show lldp detail LLDP : Enabled Advertisement interval : 30 seconds Transmit delay : 2 seconds Hold timer : 120 seconds Notification interval : 5 Second(s) Config Trap Interval : 0 seconds Connection Hold timer : 300 seconds LLDP MED : Enabled MED fast start count : 3 Packets Port ID TLV subtype : locally-assigned Port Description TLV type : interface-alias (ifAlias) Interface Parent Interface LLDP LLDP-MED Power Negotiation Neighbor count all - - Enabled - 5 Interface Parent Interface Vlan-id Vlan-name ge-0/0/0 - 2 dc-vlan ge-0/0/1 - 2 dc-vlan ge-0/0/2 - 2 dc-vlan ge-0/0/3 - 2 dc-vlan ge-0/0/4 - 2 dc-vlan ge-0/0/5 - 2 dc-vlan
Release Information
Command introduced in Junos OS Release 9.0.