LLDP


nv show interface <interface-id> lldp

Shows LLDP statistics for the specified interface.

Command Syntax

SyntaxDescription
<interface-id>The interface name.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv show interface swp1 lldp
                    operational  applied  pending
-------------------  -----------  -------  -------
dcbx-ets-config-tlv  off                          
dcbx-ets-recomm-tlv  off                          
dcbx-pfc-tlv         off                          
[neighbor]           server01

nv show interface <interface-id> lldp neighbor

Shows information about all the LLDP neighbors for the specified interface.

Command Syntax

SyntaxDescription
<interface-id>The interface name.

Version History

Introduced in Cumulus Linux 5.1.0

Example

cumulus@switch:~$ nv show interface swp51 lldp neighbor
Neighbor  Remote IP     Model  SW Version  Remote Port
--------  ------------  -----  ----------  -----------
spine01   10.10.10.101                     swp1

nv show interface <interface-id> lldp neighbor <neighbor-id>

Shows statistics for a specific LLDP neighbor for the specified interface.

Command Syntax

SyntaxDescription
<interface-id>The interface name.
<neighbor-id>The LLDP neighbor name.

Version History

Introduced in Cumulus Linux 5.1.0

Example

cumulus@switch:~$ nv show interface swp51 lldp neighbor spine01
                           operational                                                    applied  pending
-------------------------  ------------------------------------------------------------…  -------  -------
age                        323055                                                                         
bridge                                                                                                    
  [vlan]                                                                                                  
chassis                                                                                                   
  chassis-id               44:38:39:22:01:82                                                              
  management-address-ipv4  10.10.10.101                                                                   
  management-address-ipv6  fe80::4638:39ff:fe22:182                                                       
  system-description       Cumulus Linux version 5.5.0 running on QEMU Standard PC                        
                           (i440FX + PIIX, 1996)                                                          
  system-name              spine01                                                                        
lldp-med                                                                                                  
  device-type              Network Connectivity Device                                                    
port                                                                                                      
  description              swp1                                                                           
  name                     swp1                                                                           
  ttl                      120                                                                            
  type                     ifname                                                                         
  pmd-autoneg                                                                                             
    [advertised]                                                                                          
    mau-oper-type          1000BaseTFD - Four-pair Category 5 UTP, full duplex mode

nv show interface <interface-id> lldp neighbor <neighbor-id> bridge

Shows bridge information for the specified LLDP neighbor.

Command Syntax

SyntaxDescription
<interface-id>The interface name.
<neighbor-id>The LLDP neighbor name.

Version History

Introduced in Cumulus Linux 5.1.0

Example

cumulus@switch:~$ nv show interface swp51 lldp neighbor spine01 bridge
       operational  applied  pending
------  -----------  -------  -------
[vlan]

nv show interface <interface-id> lldp neighbor <neighbor-id> bridge vlan

Shows the VLANs for the specified LLDP neighbor.

Command Syntax

SyntaxDescription
<interface-id>The interface name.
<neighbor-id>The LLDP neighbor name.

Version History

Introduced in Cumulus Linux 5.1.0

Example

cumulus@switch:~$ nv show interface swp1 lldp neighbor leaf02 bridge vlan

nv show interface <interface-id> lldp neighbor <neighbor-id> bridge vlan <vid>

Shows information about a specific VLAN for the specified LLDP neighbor.

Command Syntax

SyntaxDescription
<interface-id>The interface name.
<neighbor-id>The LLDP neighbor name.
<vid>The VLAN name.

Version History

Introduced in Cumulus Linux 5.1.0

Example

cumulus@switch:~$ nv show interface swp1 lldp neighbor leaf02 bridge vlan 10

nv show service lldp

Shows global LLDP configuration, such as the LLDP mode, and LLDP timers and if 802.1 TLV transmission is on or off. By default, 802.1 TLV transmission is off and the switch sends all LLDP frames without 802.1 TLVs.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv show service lldp
                        operational  applied  pending
----------------------  -----------  -------  -------
dot1-tlv                off          off      off    
lldp-med-inventory-tlv  off          off      off    
mode                    default      default  default
tx-hold-multiplier      4            4        4      
tx-interval             30           30       30