API
nv show system api
Shows the NVUE REST API port configuration, state (enabled or disabled), and connection information.
Version History
Introduced in Cumulus Linux 5.6.0
Example
cumulus@switch:~$ nv show system api
operational applied
------------------- ----------- ---------
port 8888 8888
state enabled enabled
[listening-address] localhost localhost
connections
accepted 1
active 1
handled 1
reading 0
requests 1
waiting 0
writing 1
nv show system api listening-address
Shows the NVUE REST API listening address.
Version History
Introduced in Cumulus Linux 5.6.0
Example
cumulus@switch:~$ nv show system api listening-address
---------
localhost
nv show system api listening-address <listening-address-id>
Shows information about a specific NVUE REST API listening address.
Command Syntax
Syntax | Description |
---|---|
<listening-address-id> | The listening address. |
Version History
Introduced in Cumulus Linux 5.6.0
Example
cumulus@switch:~$ nv show system api listening-address localhost
nv show system api connections
Shows NVUE REST API connection information.
Version History
Introduced in Cumulus Linux 5.6.0
Example
cumulus@switch:~$ nv show system api connections
operational applied
-------- ----------- -------
accepted 5
active 1
handled 5
reading 0
requests 5
waiting 0
writing 1