Cisco Cisco ASA 5555-X Adaptive Security Appliance

下载
页码 28
 
About the ASA REST API v1.2.2 
REST API Agent in ASA 
 
11 
 
[no] rest-api agent 
agent - Starts the REST API Agent process on the ASA. 
Prerequisite: HTTP server must be enabled in order for the REST API Agent to work.  
When the REST API Agent is enabled, ‘/api’ URL requests are redirected from the ASA HTTP server to the REST API 
Agent.  
Supported Modes 
single/multiple context, routed/transparent 
‘show rest-api agent’ Command 
The "show rest-api agent" command shows the current status of the REST API Agent: 
ciscoasa(config)# show rest-api agent 
The REST API Agent is currently enabled  
 
or 
ciscoasa(config)# show rest-api agent 
The REST API Agent is currently disabled  
 
When the REST API Agent is disabled, ‘/api’ URL requests are rejected by the ASA HTTP server with a 404 status code 
response. 
Supported Modes 
single/multiple context, routed/transparent 
‘show version’ Command 
 
The version of the REST API Agent is listed in the output of the "show version" command: 
ciscoasa(config)# show version 
Cisco Adaptive Security Appliance Software Version 9.4(1) 
REST API Agent Version <version number>