Users Guide

Table Of Contents
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.
Example
OS10# show cli mode
Current CLI session mode : rest-translate
Translated requests are available as supportbundle://
restconf_requests_1132.txt
OS10#
Supported
Releases
10.5.1.0 or later
rest authentication token validity
Configures the validity duration for the tokens.
Syntax
rest authentication token validity minutes
Parameters minutes Enter the validity duration (0 to 1200 minutes) for the REST Access Token. 0 indicates that
the token has no expiry.
Default 120 minutes
Command Mode CONFIGURATION
Usage
Information
This command updates the validity duration for the REST Access Tokens. The no version of the
command resets the validity duration to the default value.
Example
OS10(config)# rest authentication token validity 10
OS10(config)# rest authentication token validity 0
Supported
Releases
10.4.1.0 or later
RESTCONF API 1751