Connectivity Guide

Table Of Contents
3 (Optional) Limit the ciphers that the switch uses in a RESTCONF HTTPS session to encrypt and decrypt data in CONFIGURATION
mode. By default, all cipher suites installed on OS10 are supported. Separate multiple entries with a blank space. Valid cipher-suite
values are:
dhe-rsa-with-aes-128-gcm-SHA256
dhe-rsa-with-aes-256-gcm-SHA384
ecdhe-rsa-with-aes-128-gcm-SHA256
ecdhe-rsa-with-aes-256-gcm-SHA384
rest https cipher-suite
4 Enable RESTCONF API in CONFIGURATION mode.
rest api restconf
RESTCONF API conguration
OS10(config)# rest https server-certificate name OS10.dell.com
OS10(config)# rest https session timeout 60
OS10(config)# rest https cipher-suite dhe-rsa-with-aes-128-gcm-SHA256
dhe-rsa-with-aes-256-gcm-SHA384 ecdhe-rsa-with-aes-256-gcm-SHA384
OS10(config)# rest api restconf
CLI commands for RESTCONF API
rest api restconf
Enables the RESTCONF API service on the switch.
Syntax
rest api restconf
Parameters None
Default RESTCONF API is disabled.
Command Mode CONFIGURATION
Usage Information
After you enable the RESTCONF API, you can send curl commands in HTTPS requests from a remote device.
The no version of the command disables the RESTCONF API.
Example
OS10(config)# rest api restconf
Supported Releases 10.4.1.0 or later
rest https cipher-suite
Limits the ciphers to encrypt and decrypt REST HTTPS data.
Syntax
rest https cipher-suite cipher-list
Parameters cipher-list — Enter the ciphers supported in a REST API HTTPS session. Separate multiple entries with a
blank space. Valid cipher suites are:
dhe-rsa-with-aes-128-gcm-SHA256
dhe-rsa-with-aes-256-gcm-SHA384
ecdhe-rsa-with-aes-128-gcm-SHA256
916 RESTCONF API