LLDP


nv show interface lldp

Shows LLDP information such as the speed, type, remote host, and remote port for all configured interfaces.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv show interface lldp
Interface  Speed  Type  Remote Host      Remote Port      
---------  -----  ----  ---------------  -----------------
eth0       1G     eth   oob-mgmt-switch  swp10            
swp1       1G     swp   server01         48:b0:2d:76:ee:8e
swp2       1G     swp   server02         48:b0:2d:86:c1:f8
swp3       1G     swp   server03         48:b0:2d:08:de:37
swp49      1G     swp   leaf02           swp49            
swp50      1G     swp   leaf02           swp50            
swp51      1G     swp   spine01          swp1             
swp52      1G     swp   spine02          swp1             
swp53      1G     swp   spine03          swp1             
swp54      1G     swp   spine04          swp1

nv show interface lldp-detail

Shows detailed LLDP information for all configured interfaces.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv show interface lldp-detail
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------

Interface:    eth0
-------------------------------------------------------------------------------
  Time:  
    0 days, 00:02:34

  Chassis:
    ChassisID:    mac 48:b0:2d:00:00:01
    SysName:      oob-mgmt-switch
    SysDescr:     Cumulus Linux version 5.5.1 running on QEMU Standard PC (i440FX + PIIX, 1996)
    MgmtIP:       192.168.200.251
    MgmtIface:    ifname
    MgmtIP:       fe80::4ab0:2dff:fe00:1
    MgmtIface:    ifname
    Capability:   Bridge, off
    Capability:   Router, off
  Port:
    PortID:       ifname swp10
    PortDescr:    swp10
    TTL:          120
    Port is aggregated. PortAggregID: -
    PMD autoneg:  supported: {}, enabled: {}
      MAU oper type: 1000BaseTFD - Four-pair Category 5 UTP, full duplex mode
  LLDP-MED:
    Device Type:  Network Connectivity Device
    Capability:   capabilities, yes
    Capability:   inventory, yes
    Capability:   location, yes
    Capability:   mdi-pd, yes
    Capability:   mdi-pse, yes
    Capability:   policy, yes

Interface:    swp1
-------------------------------------------------------------------------------
  Time:  
    0 days, 00:02:22

  Chassis:
    ChassisID:    mac 44:38:39:22:01:7e
    SysName:      server01
    SysDescr:     Ubuntu 18.04.6 LTS Linux 4.15.0-200-generic #211-Ubuntu SMP Thu Nov 24 18:16:04 UTC 2022 x86_64
    MgmtIP:       192.168.200.31
    MgmtIface:    mac
    MgmtIP:       fe80::4638:39ff:fe22:17e
    MgmtIface:    mac
    Capability:   Bridge, off
    Capability:   Router, off
  Port:
    PortID:       ifname 48:b0:2d:76:ee:8e
    PortDescr:    eth1
    TTL:          120
    Port is aggregated. PortAggregID: -
    PMD autoneg:  supported: {'0': {'flags': {'fd': {}, 'hd': {}}, 'type': '10Base-T'}, '1': {'flags': {'fd': {}, 'hd': {}}, 'type': '100Base-TX'}, '2': {'flags': {'fd': {}}, 'type': '1000Base-T'}}, enabled: {'is-enabled': {}, 'is-supported': {}}
      MAU oper type: 1000BaseTFD - Four-pair Category 5 UTP, full duplex mode
  LLDP-MED:
    Device Type:  
...

nv show interface <interface-id> lldp

Shows LLDP configuration settings for the specified interface.

Command Syntax

Syntax Description
<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 application-tlv

Shows all application priority TLV configuration on the switch.

Command Syntax

Syntax Description
<interface-id> The interface name.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show interface swp1 lldp application-tlv 
            operational  applied  
----------  -----------  ---------
[udp-port]  4317         4317     
[tcp-port]  4217         4217     
[app]       NVME_4420    NVME_4420
[app]       NVME_8009    NVME_8009
[app]       iSCSI        iSCSI 

nv show interface <interface-id> lldp application-tlv app

Shows the application names that have application priority TLVs enabled for the interface.

Command Syntax

Syntax Description
<interface-id> The interface name.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show interface swp1 lldp application-tlv app
AppName  
---------
NVME_4420
NVME_8009
iSCSI

nv show interface <interface-id> lldp application-tlv app <app-id>

Shows application details for the LLDP application TLV on the interface.

Command Syntax

Syntax Description
<interface-id> The interface name.
<app-id> The application name.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show interface swp1 lldp application-tlv app iSCSI

nv show interface <interface-id> lldp application-tlv tcp-port

Shows the TCP port priority mapping for the interface.

Command Syntax

Syntax Description
<interface-id> The interface name.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show interface swp1 lldp application-tlv tcp-port
Ports
-----
4217

nv show interface <interface-id> lldp application-tlv tcp-port <port-id>

Shows information about the TCP port priority mapping for the interface.

Command Syntax

Syntax Description
<interface-id> The interface name.
<port-id> The TCP port ID.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show interface swp1 lldp application-tlv tcp-port 4217

nv show interface <interface-id> lldp application-tlv udp-port

Shows the UDP port priority mapping for the interface.

Command Syntax

Syntax Description
<interface-id> The interface name.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show interface swp1 lldp application-tlv udp-port
Ports
-----
4317

nv show interface <interface-id> lldp application-tlv udp-port <port-id>

Shows information about the UDP port priority mapping for the interface.

Command Syntax

Syntax Description
<interface-id> The interface name.
<port-id> The UDP port ID.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show interface swp1 lldp application-tlv udp-port 4317

nv show interface <interface-id> lldp neighbor

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

Command Syntax

Syntax Description
<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

Syntax Description
<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

Syntax Description
<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

Syntax Description
<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

Syntax Description
<interface-id> The interface name.
<neighbor-id> The LLDP neighbor name.
<vlan-id> 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 interface <interface-id> lldp tlv summary

Shows a summary of the TLV configuration on a specific interface.

Command Syntax

Syntax Description
<interface-id> The interface name.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show interface swp1 lldp tlv summary
TLV Name             egress-policy  ingress-policy
-------------------  -------------  --------------
dcbx-app-priority    enabled        enabled       
dcbx-ets-config      disabled       disabled      
dcbx-ets-recomm      disabled       disabled      
dcbx-pfc             disabled       disabled      
link-aggregation     enabled        enabled       
mac-phy-config       enabled        enabled       
management-address   enabled        enabled       
max-frame-size       enabled        enabled       
media-capabilities   enabled        enabled       
port-description     enabled        enabled       
port-vlan-id         disabled       enabled       
system-capabilities  enabled        enabled       
system-description   enabled        enabled       
system-name          enabled        enabled       
unreachable-prefix   disabled       disabled      
vlan-name            disabled       enabled

nv show interface <interface-id> lldp tlv summary <tlv-id>

Shows the configuration for the TLV type on a specific interface.

Command Syntax

Syntax Description
<interface-id> The interface name.
<tlv-id> The TLV ID.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show interface swp1 lldp tlv summary unreachable-prefix 
                operational  applied  
--------------  -----------  -------
egress-policy   disabled     enabled                    
ingress-policy  disabled     enabled

nv show system 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.

In Cumulus Linux 5.14 and earlier, this command is nv show service lldp.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv show system 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

nv show system lldp application-tlv

Shows all application priority TLV configuration on the switch.

In Cumulus Linux 5.14 and earlier, this command is nv show service lldp application-tlv.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show system lldp application-tlv
udp-port
===========
    Port  priority
    ----  --------
    4317  4       

tcp-port
===========
    Port  priority
    ----  --------
    4217  6       
app
======
    AppName    priority
    ---------  --------
    NVME_4420  5       
    NVME_8009  7       
    iSCSI      3

nv show system lldp application-tlv app

Shows the application priority mapping.

In Cumulus Linux 5.14 and earlier, this command is nv show service llldp application-tlv app.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show system lldp application-tlv app
AppName    priority
---------  --------
NVME_4420  5       
NVME_8009  7       
iSCSI      3 

nv show system lldp application-tlv app <app-id>

Shows the priority mapping for the specified application.

In Cumulus Linux 5.14 and earlier, this command is nv show service llldp application-tlv app <app-id>.

Command Syntax

Syntax Description
<app-id> The application name.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show system lldp application-tlv app iSCSI
          operational  applied
--------  -----------  -------
priority  3            3 

nv show system lldp application-tlv tcp-port

Shows the TCP port priority mapping.

In Cumulus Linux 5.14 and earlier, this command is nv show service llldp application-tlv tcp-port.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show system lldp application-tlv tcp-port
Port  priority
----  --------
4217  6

nv show system lldp application-tlv tcp-port <port-id>

Shows the priority mapping for the specified TCP port.

In Cumulus Linux 5.14 and earlier, this command is nv show service llldp application-tlv tcp-port <port-id>.

Command Syntax

Syntax Description
<port-id> The port ID.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show system lldp application-tlv tcp-port 4217
          operational  applied
--------  -----------  -------
priority  6            6 

nv show system lldp application-tlv udp-port

Shows the UDP port priority mapping.

In Cumulus Linux 5.14 and earlier, this command is nv show service llldp application-tlv udp-port.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show system lldp application-tlv udp-port
Port  priority
----  --------
4317  4

nv show system lldp application-tlv udp-port <port-id>

Shows the priority mapping for the specified UDP port.

In Cumulus Linux 5.14 and earlier, this command is nv show service llldp application-tlv udp-port <port-id>.

Command Syntax

Syntax Description
<port-id> The port ID.

Version History

Introduced in Cumulus Linux 5.9.0

Example

cumulus@switch:~$ nv show system lldp application-tlv udp-port 4317
          operational  applied
--------  -----------  -------
priority  4            4

nv show system lldp tlv profile

Shows all LLDP TLV profiles.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv profile
Profile      description
-----------  -----------
FABRIC-FULL

nv show system lldp tlv profile <profile-id>

Shows LLDP TLV configuration for a profile.

Command Syntax

Syntax Description
<profile-id> The profile ID.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv profile FABRIC-FULL
             operational  applied
-----------  -----------  -------
description                      

egress-policy
================
    TLV                  state   
    -------------------  --------
    dcbx-app-priority    disabled
    dcbx-ets-config      disabled
    dcbx-ets-recomm      disabled
    dcbx-pfc             disabled
    link-aggregation     disabled
    mac-phy-config       disabled
    management-address   enabled 
    max-frame-size       disabled
    media-capabilities   disabled
    port-description     disabled
    port-vlan-id         disabled
    system-capabilities  enabled 
    system-description   enabled 
    system-name          enabled 
    unreachable-prefix   disabled
    vlan-name            disabled

ingress-policy
=================
    TLV                  state   
    -------------------  --------
    dcbx-app-priority    disabled
    dcbx-ets-config      disabled
    dcbx-ets-recomm      disabled
    dcbx-pfc             disabled
    link-aggregation     disabled
    mac-phy-config       disabled
    management-address   disabled
    max-frame-size       disabled
    media-capabilities   disabled
    port-description     disabled
    port-vlan-id         disabled
    system-capabilities  disabled
    system-description   disabled
    system-name          disabled
    unreachable-prefix   disabled
    vlan-name            disabled

summary
==========
No Data

nv show system lldp tlv profile <profile-id> egress-policy

Shows LLDP TLV egress-policy configuration for a profile.

Command Syntax

Syntax Description
<profile-id> The profile ID.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv profile FABRIC-FULL egress-policy
 
TLV                  state   
-------------------  --------
dcbx-app-priority    disabled
dcbx-ets-config      disabled
dcbx-ets-recomm      disabled
dcbx-pfc             disabled
link-aggregation     disabled
mac-phy-config       disabled
management-address   enabled 
max-frame-size       disabled
media-capabilities   disabled
port-description     disabled
port-vlan-id         disabled
system-capabilities  enabled 
system-description   enabled 
system-name          enabled 
unreachable-prefix   disabled
vlan-name            disabled

nv show system lldp tlv profile <profile-id> egress-policy <tlv-id>

Shows LLDP TLV egress-policy configuration for a specific TLV type.

Command Syntax

Syntax Description
<profile-id> The profile ID.
<tlv-id> The TLV ID.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv profile FABRIC-FULL egress-policy unreachable-prefix
       operational  applied
-----  -----------  -------
state  disabled

nv show system lldp tlv profile <profile-id> ingress-policy

Shows LLDP TLV ingress-policy configuration for a profile.

Command Syntax

Syntax Description
<profile-id> The profile ID.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv profile FABRIC-FULL ingress-policy
TLV                  state   
-------------------  --------
dcbx-app-priority    disabled
dcbx-ets-config      disabled
dcbx-ets-recomm      disabled
dcbx-pfc             disabled
link-aggregation     disabled
mac-phy-config       enabled
management-address   disabled
max-frame-size       disabled
media-capabilities   disabled
port-description     disabled
port-vlan-id         disabled
system-capabilities  enabled
system-description   disabled
system-name          disabled
unreachable-prefix   disabled
vlan-name            disabled 

nv show system lldp tlv profile <profile-id> ingress-policy <tlv-id>

Shows LLDP TLV ingress-policy configuration for a specific TLV type.

Command Syntax

Syntax Description
<profile-id> The profile ID.
<tlv-id> The TLV ID.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv profile FABRIC-FULL ingress-policy unreachable-prefix

nv show system lldp tlv profile <profile-id> summary

Shows LLDP TLV profile configuration.

Command Syntax

Syntax Description
<profile-id> The profile ID.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv profile FABRIC-FULL summary
TLV Name             egress-policy  ingress-policy
-------------------  -------------  --------------
dcbx-app-priority    disabled       disabled      
dcbx-ets-config      disabled       disabled      
dcbx-ets-recomm      disabled       disabled      
dcbx-pfc             disabled       disabled      
link-aggregation     disabled       disabled      
mac-phy-config       disabled       disabled      
management-address   enabled        disabled      
max-frame-size       disabled       disabled      
media-capabilities   disabled       disabled      
port-description     disabled       disabled      
port-vlan-id         disabled       disabled      
system-capabilities  enabled        disabled      
system-description   enabled        disabled      
system-name          enabled        disabled      
unreachable-prefix   disabled       disabled      
vlan-name            disabled       disabled 

nv show system lldp tlv profile <profile-id> summary <tlv-id>

Shows LLDP TLV profile configuration for a TLV type.

Command Syntax

Syntax Description
<profile-id> The profile ID.
<tlv-id> The TLV ID.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv profile FABRIC-FULL summary system-description
                 operational  applied 
--------------  -----------  --------
egress-policy   enabled      enabled 
ingress-policy  disabled     disabled

nv show system lldp tlv summary

Shows a summary of the LLDP TLV configuration.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv summary
TLV Name             egress-policy  ingress-policy
-------------------  -------------  --------------
dcbx-app-priority    enabled        enabled       
dcbx-ets-config      disabled       disabled      
dcbx-ets-recomm      disabled       disabled      
dcbx-pfc             disabled       disabled      
link-aggregation     enabled        enabled       
mac-phy-config       enabled        enabled       
management-address   enabled        enabled       
max-frame-size       enabled        enabled       
media-capabilities   enabled        enabled       
port-description     enabled        enabled       
port-vlan-id         disabled       enabled       
system-capabilities  enabled        enabled       
system-description   enabled        enabled       
system-name          enabled        enabled       
unreachable-prefix   disabled       disabled      
vlan-name            disabled       enabled       

nv show system lldp tlv summary <tlv-id>

Shows a summary for a specific LLDP TLV type.

Command Syntax

Syntax Description
<tlv-id> The TLV ID.

Version History

Introduced in Cumulus Linux 5.17.0

Example

cumulus@switch:~$ nv show system lldp tlv summary unreachable-prefix
                operational  applied
--------------  -----------  -------
egress-policy   disabled                     
ingress-policy  disabled