
Chapter 14 Configuring Support for Management Using the REST API
Enabling REST API Support Using the Cisco IOS XE CLI
Configuring HTTPS Support for the REST API Using the Cisco IOS XE CLI
The Cisco CSR 1000V REST API requires HTTPS server support. Beginning with Cisco IOS XE Release 3.11S, HTTPS server support is enabled by default and no additional configuration is required. However, if using Cisco IOS XE Release 3.10S, you must manually configure HTTPS support for the REST API in the following situations:
•If you did not specify the Enable HTTPS Server option when deploying the OVA.
•If you installed the Cisco CSR 1000V using the .iso file.
Note The HTTPS session must have an identity certificate. For more information, see the
SUMMARY STEPS
1.enable
2.configure terminal
3.ip http
4.
5.
6.transport type persistent webui input
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 | ip http | Enables HTTPS on port 443 (the default HTTPS |
|
| port). A |
| Example: | automatically generated. |
|
| |
| router(config)# ip http |
|
|
|
|
Step 4 | Creates and names a persistent web user interface | |
|
| transport map. |
| Example: |
|
| router(config)# |
|
|
| |
|
|
|
| Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide |
|
|