Chapter 14 Configuring Support for Management Using the REST API

Enabling REST API Support Using the Cisco IOS XE CLI

Table 14-3 Cisco CSR 1000V OVA Template Bootstrap Properties Required for REST API Support (Cisco IOS XE Release 3.12S and Later) (continued)

Property

Description

 

 

Management IPv4

Configures the IPv4 management default gateway

Gateway (Cisco IOS

address. If using DHCP, enter “dhcp” in the field.

XE Release 3.12S)

 

 

 

Management IPv4

Configures the IPv4 Network (such as

Network (Cisco IOS

“192.168.2.0/24” or “192.168.2.0 255.255.255.0”)

XE Release 3.12S)

that the management gateway should route to. If a

 

default route (0.0.0.0/0) is desired, this may be left

 

blank.

 

 

Enabling REST API Support Using the Cisco IOS XE CLI

Configuring the Management Interface to Support the REST API (Cisco IOS XE Release 3.11S and Later)

Configuring HTTPS Support for the REST API Using the Cisco IOS XE CLI

Disabling REST API Support

Viewing the REST API Container Status

Configuring the Management Interface to Support the REST API (Cisco IOS XE Release 3.11S and Later)

You need to configure the management interface to support REST API using the Cisco IOS XE CLI in the following situations:

If you installed the Cisco CSR 1000V using the .iso file.

If you deployed the Cisco CSR 1000V using an Amazon Machine Image (AMI).

Note If upgrading a REST API configuration from Cisco IOS XE Release 3.10S to Cisco IOS XE Release 3.11S, you must add your REST API configuration to the IOS configuration.

SUMMARY STEPS

1.enable

2.configure terminal

3.interface mgmt-interface

4.ip address mgmt-ipv4-addr

5.no shutdown

6.exit

7.interface virtualportgroup virtual-port-group-number

8.ip unnumbered management-interface

 

 

Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide

 

 

 

 

 

 

OL-27477-07

 

 

14-3

 

 

 

 

 

Page 193
Image 193
Cisco Systems CSR 1000V manual Enabling Rest API Support Using the Cisco IOS XE CLI, Enable Configure terminal, 14-3