Networking NVIDIA NVOS User Manual for InfiniBand Switches

User Interface Commands

System Message

nv show system message


nv show system message

Shows the messages that the switch displays before login, after login, and after logout.

Syntax Description

N/A


Default

N/A

History

25.02.2002 
25.02.3000 Updated command output

Example

admin@nvos:~$ nv show system message
             operational          applied
-----------  -------------------  -------------------
pre-login    pre_login_message    pre_login_message
post-login   post_login_message   post_login_message
post-logout  post_logout_message  post_logout_message

REST API

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

Related Commands

nv set system message pre-login <message>
nv set system message post-login <message>
nv set system message post-logout <message>

Notes

The switch prints the messages as raw, unformatted text.

nv set/unset system message pre-login


nv set system message pre-login <message>
nv unset system message pre-login

Sets the message that the switch displays before a user logs in. The unset command removes the message.

Syntax Description

message

The pre-login message (string)

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv set system message pre-login new-pre
admin@nvos:~$ nv unset system message pre-login

REST API

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

Related Commands

nv show system message

Notes


nv set/unset system message post-login


nv set system message post-login <message>
nv unset system message post-login

Sets the message that the switch displays after a user logs in. The unset command removes the message.

Syntax Description

message

The post-login message (string)

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv set system message post-login new-post
admin@nvos:~$ nv unset system message post-login

REST API

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

Related Commands

nv show system message

Notes


nv set/unset system message post-logout


nv set system message post-logout <message>
nv unset system message post-logout

Sets the message that the switch displays after a user logs out. The unset command removes the message.

Syntax Description

message

The post-logout message (string)

Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv set system message post-logout Goodbye

REST API

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

Related Commands

nv show system message

Notes


Serial Console

nv show system serial-console


nv show system serial-console

Shows the serial console settings.

Syntax Description

N/A

Default

N/A

History

25.02.2002 
25.02.3000 Updated command output
25.02.5002 Updated command output

Example

admin@nvos:~$ nv show system serial-console
                    operational  applied
------------------  -----------  --------
sysrq-capabilities  disabled     disabled    

REST API

GET https://<ip>/nvue_v1/system/serial-console

Related Commands

nv set system serial-console sysrq-capabilities <enabled|disabled>

Notes


nv set/unset system serial-console sysrq-capabilities


nv set/unset system serial-console sysrq-capabilities <enabled|disabled>

Enables or disables SysRq key capabilities.

Default

disabled

History

25.02.2002 

Example

admin@nvos:~$ nv set system serial-console sysrq-capabilities enabled

REST API

PATCH https://<ip>/nvue_v1/system/serial-console

Related Commands

nv show system serial-console

Notes

Applies after reconnection only.

System CLI

nv show system cli


nv show system cli

Shows the CLI settings.

Syntax Description

N/A

Default

N/A

History

25.02.5002

Example

admin@nvos:~$ nv show system cli
                  operational  applied
----------------  -----------  -------
inactive-timeout  20           20

REST API

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

Related Commands

nv set system cli inactive-timeout

Notes


nv set/unset system cli inactive-timeout


nv set system cli inactive-timeout <minutes>
nv unset system cli inactive-timeout

Sets the number of minutes of user inactivity before the CLI logs the user out. 0 disables the timeout. The unset command resets the value to the default.

Syntax Description

minutes

Integer: 0–86400

Default

20

History

25.02.5002

Example

admin@nvos:~$ nv set system cli inactive-timeout 300

REST API

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

Related Commands

nv show system cli

Notes


Last updated: