API Guide
• ecdhe-rsa-with-aes-256-gcm-SHA384
rest https cipher-suite
4. 在 CONFIGURATION 模式下启用 RESTCONF API。
rest api restconf
RESTCONF API 配置
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
Identifier GUID-94F37D68-9F63-4178-9F96-E5178E170D52
Version 1
Status Translation approved
RESTCONF API 的 CLI 命令
Identifier GUID-134BAA4A-6973-4EBC-B107-F2D789630C46
Version 3
Status Translation approved
rest api restconf
在交换机上启用 RESTCONF API 服务。
语法
rest api restconf
参数 无
默认
RESTCONF API 处于禁用状态。
命令模式
CONFIGURATION
使用情况信息
• 启用 RESTCONF API 之后,您可以从远程设备的 HTTPS 请求发送 curl 命令。
• 命令的 no 版本将禁用 RESTCONF API。
示例
OS10(config)# rest api restconf
支持的版本
10.4.1.0 or later
Identifier GUID-9FA69517-A09F-4BAE-935E-62BCDD95B97B
Version 2
Status Translation approved
rest https cipher-suite
限制加密和解密 REST HTTPS 数据的密码。
语法
rest https cipher-suite cipher-list
参数
cipher-list — 输入 REST API HTTPS 会话中支持的密码。用空格分隔多个条目。有效的加密套件包括:
• 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
默认
支持使用 OS10 安装的所有加密套件。
命令模式
CONFIGURATION
1322 RESTCONF API