Users Guide

Table Of Contents
Example
OS10(config)# rest https session timeout 60
Supported
Releases
10.4.1.0 or later
cli mode rest-translate
Enable RESTCONF translation mode in CLI session.
Syntax
cli mode rest-translate
Parameters None
Default None
Command Mode Exec
Usage
Information
This command enables translation of CLI command into equivalent RESTCONF requests in the current
session.
Example
OS10# cli mode rest-translate
Supported
Releases
10.5.1.0 or later
no cli mode
Disable RESTCONF translation mode in CLI session.
Syntax
no cli mode
Parameters None
Default None
Command Mode Exec
Usage
Information
This command disables translation of CLI command into equivalent RESTCONF requests in the current
session.
Example
REST-TRANSLATE-OS10# no cli mode
Supported
Releases
10.5.1.0 or later
show cli mode
Display the current CLI session mode.
Syntax
show cli mode
Parameters None
Default None
Command Mode Exec
Usage
Information
This command displays the active mode of the current CLI session and also the file name where the
RESTCONF requests are stored.
1516 RESTCONF API