What can I help you with?
NVIDIA NVOS User Manual for NVLink Switches v25.02.2141

NVLink ibdiagnet Commands

nv show ib ibdiagnet

Display content of ibdiagnet log file.

Syntax Description

N/A

Default

N/A

History

25.02.1884

Example

Copy
Copied!
            

admin@nvos:~$ nv show ib ibdiagnet

REST API

GET https://<ip>/nvue_v1/ib/ibdiagnet

Related Commands

nv show ib ibdiagnet files

nv action upload ib ibdiagnet files {archive-name} {remote-url}

nv action delete ib ibdiagnet files {archive-name}

nv action run ib cmd <ib-cmd-str>

Notes

Log file is generated each time when 'nv action run ib cmd "ibdiagnet"' CLI is invoked.

nv show ib ibdiagnet files

Display available ibdiagnet archive files in the system.

Syntax Description

N/A

Default

N/A

History

25.02.1884

Example

Copy
Copied!
            

admin@nvos:~$ nv show ib ibdiagnet files File name              Ibdiagnet archive file path ---------------------  ------------------------------------- ibdiagnet2_output.tgz  /host/ibdiagnet/ibdiagnet2_output.tgz

REST API

GET https://<ip>/nvue_v1/ib/ibdiagnet/files

Related Commands

nv show ib ibdiagnet

nv action upload ib ibdiagnet files {archive-name} {remote-url}

nv action delete ib ibdiagnet files {archive-name}

nv action run ib cmd <ib-cmd-str>

Notes

Archive file is generated each time when 'nv action run ib cmd "ibdiagnet"' CLI is invoked.

nv action delete ib ibdiagnet files <archive-name>

Remove ibdiagnet archive file from file system.

Syntax Description

archive-name

Name of the ibdiagnet archive file.

Default

N/A

History

25.02.1884

Example

Copy
Copied!
            

admin@nvos:~$ nv action delete ib ibdiagnet files ibdiagnet2_output.tgz File delete successfully Action succeeded

REST API

POST https://<ip>/nvue_v1/ib/ibdiagnet/files/{archive-name}

Related Commands

nv show ib ibdiagnet

nv show ib ibdiagnet files

nv action upload ib ibdiagnet files {archive-name} {remote-url}

nv action run ib cmd <ib-cmd-str>

Notes

Available ibdiagnet archive files can be viewed via 'nv show ib ibdiagnet files' command.

nv action upload ib ibdiagnet files {archive-name} {remote-url}

Upload ibdiagnet archive file to remote host.

Syntax Description

archive-name

Name of the ibdiagnet archive file.

remote-url

ftp, tftp, scp and sftp are supported (e.g., scp://username[:password]@hostname/path/filename)

Default

N/A

History

25.02.1884

Example

Copy
Copied!
            

admin@nvos:~$ nv action upload ib ibdiagnet files ibdiagnet2_output.tgz scp://username:password@host-name/home/logs/ File upload successfully Action succeeded

REST API

POST https://<ip>/nvue_v1/ib/ibdiagnet/files/{archive-name}

Related Commands

nv show ib ibdiagnet

nv show ib ibdiagnet files

nv action delete ib ibdiagnet files {archive-name}

nv action run ib cmd <ib-cmd-str>

Notes

Available ibdiagnet archive files can be viewed via "nv show ib ibdiagnet files" command.

nv action run ib cmd <ib-cmd-str>

Run InfiniBand command (e.g., ibdiagnet).

Syntax Description

ib-cmd-str

String with InfiniBand shell command to run

Default

N/A

History

25.02.1884

Example

Copy
Copied!
            

admin@nvos:~$ nv action run ib cmd "ibdiagnet --get_phy_info" Running ib command: ibdiagnet ibdiagnet output files were archived into ibdiagnet2_output.tgz Action succeeded

REST API

POST https://<id>/nvue_v1/ib/cmd

Related Commands

nv show ib ibdiagnet

nv show ib ibdiagnet files

nv action upload ib ibdiagnet files {archive-name} {remote-url}

nv action delete ib ibdiagnet files {archive-name}

Notes

Only ibdiagnet command is currently supported in command string.

© Copyright 2025, NVIDIA. Last updated on Apr 23, 2025.