Networking NVIDIA NVOS User Manual for InfiniBand Switches

Link Diagnostic Commands


nv show interface <interface-id> link diagnostics

Shows the link diagnostics of an interface.

Syntax Description

interface-id

The interface name.

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv show interface sw1p1s1 link diagnostics
Code    Status
--------  --------------------------------------------------------
0           No issue was observed

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/link/diagnostics

Related Commands

nv show interface --view link-diagnostics

Notes



nv show interface --view link-diagnostics

Shows the link diagnostics of all interfaces.

Syntax Description

N/A

 

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv show interface --view link-diagnostics
Interface  Code  Status
---------- ----- --------------------
acp1       2     Negotiation failure
acp2       2     Negotiation failure
fnm1       2     Negotiation failure
fnm2       2     Negotiation failure
sw1p1s1    1024  Cable is unplugged
sw1p1s2    1024  Cable is unplugged

REST API

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

Related Commands

nv show interface link diagnostics

Notes


nv set/unset system lldp


nv set system lldp state [enabled | disabled]
nv set system lldp tx-interval <seconds>
nv set system lldp tx-hold-multiplier <multiplier>
nv unset system lldp [state | tx-interval | tx-hold-multiplier]

Sets the global LLDP settings: the LLDP state, the transmit interval, and the hold multiplier.
The unset form of the command restores the default values.

Syntax Description


state

The LLDP state: enabled or disabled.

tx-interval

The interval in seconds between LLDP transmissions: 5–32768.

tx-hold-multiplier

The multiplier for the TTL of transmitted LLDP packets: 1–8192. The TTL is the 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 settings.

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 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-switch-1.example.com

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-switch-1.example.com     192.0.2.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 detailed information about an LLDP neighbor of an interface.

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-switch-1.example.com
                           operational
-------------------------  -----------------------------------------------------
age                        3581
bridge
  untagged                 59
chassis
  chassis-id               00:00:5e:00:53:c0
  management-address-ipv4  192.0.2.12
  management-address-ipv6  2001:db8::4998
  system-name              mgmt-switch-1.example.com
  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-switch-1.example.com   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: