nv show system gnmi-server
|
|
nv show system gnmi-server Displays the gNMI server configured state, actual state, and version. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/gnmi-server |
|
|
Related Commands |
nv set system gnmi-server state disabled |
|
nv show system gnmi-server mtls
|
|
nv show system gnmi-server mtls Return mTLS state information. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.4002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/gnmi-server/mtls |
|
|
Related Commands |
nv show system gnmi-server |
|
|
Notes |
|
|
nv set/unset system gnmi-server state
|
|
nv set system gnmi-server state <enabled | disabled>
Sets gNMI server state.
|
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/gnmi-server
|
|
|
Related Commands |
nv unset system gnmi-server state |
|
nv set system gnmi-server certificate
|
|
nv set system gnmi-server certificate {cert id} Set CA certificate for API mTLS connection. |
|
|
Syntax Description |
certificate |
Certificate ID string |
|
Default |
self-signed |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/gnmi-server/certificate?rev= Content-Type: application/json {"certificate": "cert_id"} |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set system gnmi-server mtls ca-certificate
|
|
nv set system gnmi-server mtls ca-certificate <cacert-id> gnmi-server security mTLS information |
|
|
Syntax Description |
cacert-id |
CA certificates [id] for validation of client during mTLS (string) |
|
Default |
N/A |
|
|
History |
25.02.4002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/gnmi-server/mtls/ca-certificate/<arg> |
|
|
Related Commands |
nv show system gnmi-server mtls |
|
|
Notes |
|
|
gNMI Subscriptions
nv show system gnmi-server status
|
|
nv show system gnmi-server status Show the operational state of the gnmi-server. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/gnmi-server/status |
|
|
Related Commands |
nv show system gnmi-server status client |
|
|
Notes |
|
|
nv show system gnmi-server status client
|
|
nv show system gnmi-server status client [client-number] Show operational state for a single client connected to the gnmi-server.
|
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/gnmi-server/status/client |
|
|
Related Commands |
nv show system gnmi-server status |
|
|
Notes |
|
|
nv clear system gnmi-server status
|
|
nv clear system gnmi-server status Clear the counters held in the gnmi server operational state. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/gnmi-server/status |
|
|
Related Commands |
nv show system gnmi-server status
|
|
|
Notes |
|
|
gRPC Tunnel (gNMI Dial-out)
nv show system grpc-tunnel
|
|
nv show system grpc-tunnel Displays all configured gRPC tunnel servers and their operational status. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/grpc-tunnel |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system grpc-tunnel server
|
|
nv show system grpc-tunnel server Displays all configured tunnel servers with configuration and connection status. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/grpc-tunnel/server |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system grpc-tunnel server
|
|
nv show system grpc-tunnel server <server-name-id> Displays detailed configuration and operational state for a specific gRPC tunnel server. |
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system grpc-tunnel server status
|
|
nv show system grpc-tunnel server <server-name-id> status Displays operational status including local and remote connection details. |
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id}/status |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system grpc-tunnel server status connection
|
|
nv show system grpc-tunnel server <server-name-id> status connection Displays connection-specific details such as registration and tunnel state. |
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id}/status/connection |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv unset system grpc-tunnel
|
|
nv unset system grpc-tunnel Remove all gRPC tunnel configuration including all servers and associated settings. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/grpc-tunnel |
|
|
Related Commands |
|
|
|
Notes |
This operation removes all configured tunnel servers and stops all associated tunnel services. |
|
nv unset system grpc-tunnel server
|
|
nv unset system grpc-tunnel server Remove all configured gRPC tunnel servers while clearing associated server configurations. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/grpc-tunnel/server |
|
|
Related Commands |
|
|
|
Notes |
All tunnel server instances will be removed and corresponding services will be stopped. |
|
nv set/unset system grpc-tunnel server
|
|
nv set system grpc-tunnel server <server-name-id>
Add new gRPC tunnel server.
|
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
All tunnel server instances will be removed and corresponding services will be stopped. |
|
nv set/unset system grpc-tunnel server address
|
|
nv set system grpc-tunnel server <server-name-id> address <address>
Set IP address or hostname of the gRPC server.
|
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
address |
Remote tunnel server IP or hostname |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system grpc-tunnel server port
|
|
nv set system grpc-tunnel server <server-name-id> port <port>
Set the port of the gRPC server.
|
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
port |
TCP port (1–65535) |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system grpc-tunnel server target-name
|
|
nv set system grpc-tunnel server <server-name-id> target-name <target-name>
Set the target name of the gRPC server.
|
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
target-name |
Device identity used for registration (e.g., nvos1) |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system grpc-tunnel server target-type
|
|
nv set system grpc-tunnel server <server-name-id> target-type <target-type>
Set the target type of the gRPC server.
|
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
target-type |
enum: gnmi-gnoi (only supported value) |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system grpc-tunnel server state
|
|
nv set system grpc-tunnel server <server-name-id> state <state>
Set the state of the gRPC server.
|
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
state |
enable | disable: Enable or disable tunnel |
|
|
Default |
Enable |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system grpc-tunnel server retry-interval
|
|
nv set system grpc-tunnel server <server-name-id> retry-interval <retry-interval>
Set the retry-interval of the gRPC server.
|
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
retry-interval |
Reconnect interval (10–300 sec) |
|
|
Default |
60 |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system grpc-tunnel server certificate
|
|
nv set system grpc-tunnel server <server-name-id> certificate <certificate-id>
Set the certificate of the gRPC server.
|
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
certificate-id |
Client TLS certificate ID from NVOS certificate store |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
Certificate must exist in NVOS certificate store before applying configuration. |
|
nv set/unset system grpc-tunnel server ca-certificate
|
|
nv set system grpc-tunnel server <server-name-id> ca-certificate <ca-certificate-id>
Set the CA certificate of the gRPC server.
|
|
|
Syntax Description |
server-name-id |
Unique identifier of the tunnel server |
|
ca-certificate-id |
CA certificate ID used to validate remote server certificate |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/grpc-tunnel/server/{server-name-id} |
|
|
Related Commands |
|
|
|
Notes |
CA certificate must be valid and present in NVOS certificate store. |
|
Last updated: