Administrator Guide

Switch Management Commands 2089
Command History
Introduced in version 6.3.0.1 firmware.
Example
console(config)#ip http rest-api port 8081
ip http rest-api secure-port
Use the ip http rest-api secure-port command to configure the RESTful API
to listen on the configured port. Use the no form of the command to
configure the RESTful API to listen on the default port.
Syntax
ip http rest-api secure-port
port-number
no ip http rest-api secure-port
port-number
—The TCP port on which the secure RESTful API listens.
The range is 1025–65535.
Default Configuration
The default port number is 8080.
Command Mode
Global Configuration
User Guidelines
The RESTful API is enabled when the HTTP server is enabled. Disabling the
HTTP server disables the RESTful API.
The HTTP secure server can be enabled independently from the HTTP
unsecure server.
Command History
Introduced in version 6.3.0.1 firmware.
Example
console(config)#ip http rest-api port 8081
2CSNXXX_SWUM204.book Page 2089 Monday, January 25, 2016 1:25 PM