Networking NVIDIA NVOS User Manual for InfiniBand Switches

Link Layer Discovery Protocol Commands

nv set/unset system lldp


nv set system lldp [state <enabled | disabled> | tx-interval <5–32768> | tx-hold-multiplier <1–8192>]
nv unset system lldp [state | tx-interval | tx-hold-multiplier]

Sets the global LLDP configuration. The nv unset command resets a setting to its default.

Syntax Description


state

Enables or disables LLDP: enabled or disabled.

tx-interval

The number of seconds between LLDP transmissions: 5–32768.

tx-hold-multiplier

The TTL multiplier: 1–8192. The TTL of transmitted LLDP packets is tx-interval multiplied by this value.

Default


state

enabled

tx-interval

30

tx-hold-multiplier

4

History

25.02.2002 

Example

admin@nvos:~$ nv set system lldp state disabled
admin@nvos:~$ nv set system lldp tx-interval 50

REST API

PATCH https://<ip>/nvue_v1/system/lldp

Related Commands

 nv show system lldp

Notes


nv show system lldp


nv show system lldp

Shows the global LLDP configuration.

Syntax Description

N/A

 

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv show system lldp
                    operational  applied
------------------  -----------  -------
state               enabled      enabled
tx-interval         30           30
tx-hold-multiplier  4            4

REST API

GET https://<ip>/nvue_v1/system/lldp

Related Commands

nv set system lldp

Notes


nv show interface id lldp


nv show interface <interface-id> lldp 

Shows a summary of the LLDP neighbors of an interface.

Syntax Description

interface-id

The interface name.

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv show interface eth0 lldp
            operational    applied
----------  -------------  -------
[neighbor]  mgmt-switch01

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/lldp

Related Commands

nv show interface <interface-id> lldp neighbor

Notes

This command applies only to management interfaces.

nv show interface lldp neighbor


nv show interface <interface-id> lldp neighbor

Shows the LLDP neighbors of an interface.

Syntax Description

interface-id

The interface name.

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv show interface eth0 lldp neighbor
Neighbor       Remote IP     Model  SW Version  Remote Port
-------------  ------------  -----  ----------  -----------
mgmt-switch01  192.168.0.12                     11

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/lldp/neighbor

Related Commands

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

Notes

This command applies only to management interfaces.

nv show interface lldp neighbor id


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

Shows the details of an LLDP neighbor.

Syntax Description

interface-id

The interface name.

neighbor-id

The neighbor name.

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv show interface eth0 lldp neighbor mgmt-switch01
                           operational
-------------------------  -----------------------------------------------------
age                        3581
bridge
  untagged                 59
chassis
  chassis-id               00:00:5e:00:53:01
  management-address-ipv4  192.168.0.12
  management-address-ipv6  2001:db8::12
  system-name              mgmt-switch01
  system-description       HP J9775A 2530-48G Switch, revision YA.16.11.0015, ROM YA.15.20 ...
port
  ttl                      120
  name                     11
  type                     local
  description              11
  pmd-autoneg
    [advertised]           0
    [advertised]           1
    [advertised]           2
    mau-oper-type          1000BaseTFD - Four-pair Category 5 UTP, full duplex mode
lldp-med
  device-type

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/lldp/neighbor/<neighbor-id>

Related Commands

nv show interface <interface-id> lldp neighbor

Notes

This command applies only to management interfaces.

nv show interface lldp


nv show interface lldp 

Shows the LLDP neighbors of all interfaces.

Syntax Description

N/A

 

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv show interface lldp
Interface  Speed  Type      Neighbor       Remote Port
---------  -----  --------  -------------  -----------
eth0       1G     eth       mgmt-switch01  11
ib0               ipoib
lo                loopback
sw1p1      200G   ib
sw1p2      200G   ib
sw2p1             ib
...

REST API

GET https://<ip>/nvue_v1/interface/lldp

Related Commands

nv show interface <interface-id> lldp

Notes


Last updated: