Chapter 14 Configuring Support for Management Using the REST API

Enabling REST API Support Using the Cisco IOS XE CLI

9.no shutdown

10.exit

11.virtual-service csr_mgmt

12.vnic gateway virtualportgroup virtual-port-group-number

13.guest ip address remote-mgmt-ipv4-addr

14.activate

15.ip route ip-address subnet-mask virtualportgroup virtual-port-group-number

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

interface mgmt-interface

Enters interface configuration mode for the

 

 

management interface.

 

Example:

 

 

Router(config)# interface gigabitethernet1

 

 

 

 

Step 4

ip address mgmt-ipv4-addr subnet-mask

Configures the IP address for the management

 

 

interface.

 

Example:

 

 

Router(config-if)# ip address 172.25.29.235

 

 

255.255.255.128

 

 

 

 

Step 5

no shutdown

Enables the management interface.

 

Example:

 

 

Router(config-if)# no shutdown

 

 

 

 

Step 6

exit

Exits interface configuration mode.

 

Example:

 

 

Router(config-if)# exit

 

 

 

 

Step 7

interface virtualportgroup virtualportgroup-number

Creates a virtual port group and enters virtual port

 

 

group interface configuration mode.

 

Example:

 

 

Router(config)# interface virtualportgroup 0

 

 

 

 

 

Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide

14-4

OL-27477-07

Page 194
Image 194
Cisco Systems CSR 1000V manual Activate, No shutdown, Interface virtualportgroup virtualportgroup-number, 14-4