Cisco Systems 1000 Series Network Router User Manual


 
17-5
Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide
Chapter 17 Enabling Management by REST API
Overview of Installation
Configuring the REST API Local Port and AutoSave Options
Beginning with Cisco IOS XE 3.13S, you can configure the REST API local port and autosave options.
SUMMARY STEPS
1. remote-management
2. restful-api local port local-port-number
3. restful-api autosave interval
DETAILED STEPS
Command or Action Purpose
Step 1
remote-management
Example:
router(config)# remote-management
Enters remote-management configuration mode.
Step 2
restful-api local-port local-port-number
Example:
router(cfg-remote-mgmt)# restful-api local-port
55433
Configures the REST API local port number. The
valid range depends on whether the REST API
virtual services container uses the same IP address
as the management interface, or if it uses a different
IP address:
Valid range if the dual management interface is
configured is from 1 to 61000.
Valid range if the shared management interface
is configured is from 55001 to 61000.
In both cases, the default value is 55433.
Step 3
restful-api autosave interval
Example:
Router(cfg-remote-mgmt)# restful-api autosave 60
Configures the REST API autosave interval. The
range is from 30-300 seconds, and the default is 30.