Configuring the Shared Management Interface to Support the REST API
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface mgmt-interface
4.
ip address mgmt-ipv4-addr subnet-mask
5.
no shutdown
6.
exit
7.
virtual-service csr_mgmt
8.
no activate
9.
ip shared host-interface mgmt-interface
10.
activate
11.
end
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
Router> enable
•
Enter your password if prompted.
Enters global configuration mode.
configure terminal
Example:
Router# configure terminal
Step 2
Enters interface configuration mode for the management
interface.
interface mgmt-interface
Example:
Router(config)# interface gigabitethernet1
Step 3
Configures the IP address for the management interface.
ip address mgmt-ipv4-addr subnet-mask
Example:
Router(config-if)# ip address 172.25.29.235
255.255.255.128
Step 4
Enables the management interface.
no shutdown
Example:
Router(config-if)# no shutdown
Step 5
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
279
Enabling Management by REST API
Configuring the Shared Management Interface to Support the REST API