Cisco Cisco Security Manager 4.11 Specification Guide
Cisco Security Manager 4.4 API Specification (Version 1.1)
OL- 29074-01
Page 149
Table 78: Method execDeviceReadOnlyCLICmds Request Elements and Attributes Descriptions
Element.
Attribute
Name
Definition
execDeviceReadOnlyCLICmdsRequest The execDeviceReadOnlyCLICmds request executes a command on the
set of identified devices
deviceReadOnlyCLICmd
The device command details to be executed.The choice of deviceIP;
deviceName or deviceGID to identify the device that the command is
executed against is given. deviceName and deviceGID will perform more
efficiently than deviceIP as they avoid having to search for the device
credentials.
deviceName or deviceGID to identify the device that the command is
executed against is given. deviceName and deviceGID will perform more
efficiently than deviceIP as they avoid having to search for the device
credentials.
deviceIP
The device IP address that the command will be executed against
deviceName
The device Name that the command will be executed against
deviceGID
The device object identifier that the command will be executed against
cmd
Fixed command ”show”. The regex allows mixed case [sS][hH][oO][wW]
argument
The show command arguments. Like “run” to show the running config of
the device or “access-list” to show the access list details.
the device or “access-list” to show the access list details.
execTimeout
The execTimeout attribute optionally takes timeout in seconds. The
execTimeout attribute will take be an unsigned Integer. Default is set to
180 Seconds.
execTimeout attribute will take be an unsigned Integer. Default is set to
180 Seconds.
CSM will try the exec command for 3 times with a delay of 15 seconds.
Each trial will have a timeout of the value provided for the execTimeout
attribute.
Each trial will have a timeout of the value provided for the execTimeout
attribute.
reqId
The request identifier that uniquely identifies the request/response
transaction pair between the CSM client and CSM server
transaction pair between the CSM client and CSM server
HTTP Method
POST
HTTP Header: asCookie
The cookie returned by the login method that identifies the authentication
session
session
Returns
200 OK + XML
401 Unauthorized