This command is used to display Link Layer Discovery Protocol (LLDP) information on the switch. Link Layer Discovery Protocol (LLDP) allows Ethernet network devices such as switches and routers to receive and transmit device-related information to directly connected devices on the network that are also using the protocols, and to store the information that is learned about other devices.

Syntax   lldp-show local-port local-port-number chassid-id chassis-id-string port-id port-id-string

Specify any of the following options:

local-port local-port-number

Specifies the local port where the LLDP packet is received.

chassis-id chassis-id-string

Specifies the chassis ID of the switch.

port-id port-id-string

Specifies the port of the switch sending the LLDP packet.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.


Display output in ascending order.


Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.


Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.


Display the number of entries in the output. This is useful with vRouter show commands.


Display full values in the output instead of scaled approximate values.


Display integer values instead of mapped values


Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

Access   CLI

History   Command introduced in nvOS Version 2.0

Usage   Use this command to display LLDP information on the switch.

Examples  To display all LLDP information, use the following command:

CLI network-admin@switch > lldp-show


switch      local-port chassis-id port-id port-desc          sys-name    

----------- ---------- ---------- ------- ------------------ -----------

Leaf2       41         0a0000c5   41      PN Switch Port(41) Spine1  

Leaf2       42         0a0000c5   42      PN Switch Port(42) Spine1  

Leaf2       63         0a0001ca   63      PN Switch Port(63) Spine2

Leaf2       64         0a0001ca   64      PN Switch Port(64) Spine2

Spine2      11         0c0000b3   11      PN Switch Port(11) Leaf1   

Spine2      12         0c0000b3   12      PN Switch Port(12) Leaf1   

Spine2      43         0a0000c5   43      PN Switch Port(43) Spine1  

Spine2      44         0a0000c5   44      PN Switch Port(44) Spine1  

Spine2      63         0a0001c8   63      PN Switch Port(63) Leaf2  

Spine2      64         0a0001c8   64      PN Switch Port(64) Leaf2  

Leaf1       11         0a0001ca   11      PN Switch Port(11) Spine2

Leaf1       12         0a0001ca   12      PN Switch Port(12) Spine2

Leaf1       31         0a0000c5   31      PN Switch Port(31) Spine1  

Leaf1       32         0a0000c5   32      PN Switch Port(32) Spine1  

Spine1      31         0c0000b3   31      PN Switch Port(31) Leaf1   

Spine1      32         0c0000b3   32      PN Switch Port(32) Leaf1   

Spine1      41         0a0001c8   41      PN Switch Port(41) Leaf2  

Spine1      42         0a0001c8   42      PN Switch Port(42) Leaf2  

Spine1      43         0a0001ca   43      PN Switch Port(43) Spine2

FSpine1     44         0a0001ca   44      PN Switch Port(44) Spine2