Networking NVIDIA NVOS User Manual for InfiniBand Switches

ibdiagnet Commands

nv show ib ibdiagnet


nv show ib ibdiagnet

Shows the content of the ibdiagnet log file.

Syntax Description

N/A

Default

N/A

History

25.02.2002 

Example

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

The switch generates a new log file each time you run ibdiagnet with the nv action run ib cmd command.

nv show ib ibdiagnet files


nv show ib ibdiagnet files

Shows the ibdiagnet archive files on the switch.

Syntax Description

N/A

Default

N/A

History

25.02.2002 

Example

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

The switch generates an archive file each time you run ibdiagnet with the nv action run ib cmd command.

nv action delete ib ibdiagnet files


nv action delete ib ibdiagnet files <archive-name>

Deletes an ibdiagnet archive file from the switch.

Syntax Description

archive-name

The name of the ibdiagnet archive file.

Default

N/A

History

25.02.2002 

Example

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>/@delete

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

To see the available archive files, run the nv show ib ibdiagnet files command.

nv action upload ib ibdiagnet files


nv action upload ib ibdiagnet files <archive-name> <remote-url>

Uploads an ibdiagnet archive file to a remote host.

Syntax Description

archive-name

The name of the ibdiagnet archive file.

remote-url

The remote URL to upload the file to.
Format: [protocol]://username[:password]@hostname/path/filename
Supported protocols: SCP, FTP, SFTP, and HTTPS

Default

N/A

History

25.02.2002 
25.02.4002 Added HTTPS support in remote-url

Example

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>/@upload

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

To see the available archive files, run the nv show ib ibdiagnet files command.

nv action run ib cmd


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

Runs an InfiniBand diagnostic command on the switch.

Syntax Description

ib-cmd-str

The command to run, with its options, in quotation marks (for example, "ibdiagnet --get_phy_info").

Default

N/A

History

25.02.2002 

Example

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://<ip>/nvue_v1/ib/cmd/@run

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

The only supported command is ibdiagnet.

Last updated: