Chapter 14 Configuring Support for Management Using the REST API

Enabling REST API Support Using the Cisco IOS XE CLI

 

Command or Action

Purpose

 

 

 

Step 5

secure-server

Enables the secure HTTPS server.

 

Example:

 

 

router(config)# secure-server

 

 

 

 

Step 6

transport type persistent webui input transport-map-name

Enables the transport map to support HTTPS.

 

Example:

 

 

router(config)# transport type persistent webui

 

 

input https-webui

 

 

 

 

Disabling REST API Support

Beginning with Cisco IOS XE Release 3.11S, you can disable REST API support on the remote management interface. Support for the REST API is enabled by default.

SUMMARY STEPS

1.enable

2.configure terminal

3.remote-management

4.no restful-api

5.end

DETAILED STEPS

 

Command or Action

Purpose

 

 

 

Step 1

enable

Enables privileged EXEC mode.

 

 

Enter your password if prompted.

 

Example:

 

 

router> enable

 

 

 

 

Step 2

configure terminal

Enters global configuration mode.

 

Example:

 

 

router# configure terminal

 

 

 

 

Step 3

remote-management

Enters remote-management configuration mode.

 

Example:

 

 

router(config)# remote-management

 

 

 

 

 

 

Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide

 

 

 

 

 

 

OL-27477-07

 

 

14-7

 

 

 

 

 

Page 197
Image 197
Cisco Systems CSR 1000V manual Disabling Rest API Support, Enables the secure Https server, 14-7