Cisco Cisco ASA 5580 Adaptive Security Appliance

Page of 29
 
About the ASA REST API v1.3.2 
REST API Agent in ASA 
 
12 
ciscoasa(config)# show version 
Cisco Adaptive Security Appliance Software Version 9.4(1) 
REST API Agent Version <version number> 
 
REST API Agent Debugging 
The "debug rest-api " command enables REST API Agent debug traces on the CLI terminal. 
When invoked, the command triggers a message from the REST API daemon to the REST API Agent to enable and 
forward debug logs. Subsequently, the REST API Agent forwards debug logs over TCP to the REST API daemon, and 
these logs are displayed during the CLI session. When the CLI session closes, or when the ‘no debug rest-api’ command 
is issued, the REST API daemon informs the REST API Agent to disable logging for the session. 
debug rest-api [agent | cli | client | daemon | process | token-auth] {event, error} 
agent - Debugging information for REST API Agent operations. 
cli - Debugging information for REST API CLI daemon to REST API Agent communications. 
client - Debugging information for Message routing between a REST API client and the REST API Agent. 
daemon - Debugging information for REST API daemon to the REST API Agent communications. 
process - Debugging information for REST API Agent start/stop processing. 
token-auth - Debugging information for REST API Token Authentication processing. 
Supported Modes 
single/multi-context, routed/transparent 
Output of Show Commands 
"debug rest-api agent is enabled" or "debug rest-api agent is disabled" 
"debug rest-api cli is enabled" or "debug rest-api cli is disabled" 
"debug rest-api daemon is enabled" or "debug rest-api daemon is disabled" 
"debug rest-api http is enabled" or "debug rest-api http is disabled" 
"debug rest-api process is enabled" or "debug rest-api process is disabled" 
"debug rest-api token-auth is enabled" or "debug rest-api token-auth is disabled"