14-5
Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide
OL-27477-07
Chapter14 Configuring Support for Management Using the REST API
Enabling REST API Support Using the Cisco IOS XE CLI
Step8 ip unnumbered management-interface
Example:
router(config-if)# ip unnumbered gigabitethernet1
Enables IP processing on an interface without
assigning it an explicit IP address.
Step9 no shutdown
Example:
router(config-if)# no shutdown
Enables the virtual port group interface.
Step10 exit
Example:
router(config-if)# exit
Exits virtual port group interface mode.
Step11 virtual-service csr_mgmt
Example:
router(config)# virtual-service csr_mgmt
Configures the csr_mgmt virtual services container
and enters virtual services configuration mode.
Step12 vnic gateway virtualportgroup virtualportgroup_number
Example:
router(config-virt-serv)# vnic virtualportgroup 0
Creates a vNIC gateway interface for the virtual
services container and maps it to the virtual port
group.
Step13 guest ip address remote-mgmt-ipv4-addr
Example:
router(config-virt-serv-intf)# guest ip address
172.25.29.500
Configures the remote-management IP address for
the vNIC gateway interface for the virtual services
container.
Step14 exit
Example:
router(config-virt-serv-intf)# exit
Exits virtual services interface configuration mode
and enters virtual services configuration mode.
Step15 activate
Example:
router(config-virt-serv)# activate
Activates the csr_mgmt virtual services container.
Step16 end
Example:
router(config-virt-serv)# end
Exits virtual services configuration mode and enters
global configuration mode.
Step17 ip route ipaddress subnetmask virtualportgroup
virtualportgroupnumber
Example:
router(config)# ip route 172.25.29.500
255.255.255.255 VirtualPortGroup0
Creates an IP route that maps to the virtual port
group. Use the same IP address that was configured
using the guest ip address command.
Command or Action Purpose