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 8 | ip unnumbered | Enables IP processing on an interface without | |||||
|
|
| assigning it an explicit IP address. | |||||
|
| Example: |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| ||||
| Step 9 | no shutdown | Enables the virtual port group interface. | |||||
|
| Example: |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| ||||
| Step 10 | exit | Exits virtual port group interface mode. | |||||
|
| Example: |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| ||||
| Step 11 |
| Configures the csr_mgmt virtual services container | |||||
|
|
| and enters virtual services configuration mode. | |||||
|
| Example: |
|
|
|
|
|
|
|
| router(config)# |
|
|
|
|
|
|
|
|
|
|
| ||||
| Step 12 | vnic gateway virtualportgroup virtualportgroup_number | Creates a vNIC gateway interface for the virtual | |||||
|
|
| services container and maps it to the virtual port | |||||
|
| Example: | group. | |||||
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |
|
|
|
|
| ||||
| Step 13 | guest ip address | Configures the | |||||
|
|
| the vNIC gateway interface for the virtual services | |||||
|
| Example: | container. | |||||
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |
|
| 172.25.29.500 |
|
|
|
|
|
|
|
|
|
|
| ||||
| Step 14 | exit | Exits virtual services interface configuration mode | |||||
|
|
| and enters virtual services configuration mode. | |||||
|
| Example: |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| ||||
| Step 15 | activate | Activates the csr_mgmt virtual services container. | |||||
|
| Example: |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| ||||
| Step 16 | end | Exits virtual services configuration mode and enters | |||||
|
|
| global configuration mode. | |||||
|
| Example: |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| ||||
| Step 17 | ip route ipaddress subnetmask virtualportgroup | Creates an IP route that maps to the virtual port | |||||
|
| virtualportgroupnumber | group. Use the same IP address that was configured | |||||
|
|
| using the guest ip address command. | |||||
|
| Example: |
|
|
|
|
|
|
|
| router(config)# ip route 172.25.29.500 |
|
|
|
|
|
|
|
| 255.255.255.255 VirtualPortGroup0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
| Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide |
|
|
|
| ||
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|