Cisco Cisco Security Manager 4.11 Guia Do Utilizador

Página de 301
 
 
 
  
 
Cisco Security Manager 4.11 API Specification (Version 2.3) 
 
Page  217
 
 
Figure 180: ExecDeviceReadOnlyCLICmdsRequest XML Schema   
 
The following are error codes specific to this method. There could be additional generic errors that the method 
might return in cases of error 
 
Code 
Description 
3000 
This error will be returned if the API is unable to execute the show commands on the 
network device. 
3001 
This error will be returned if CSM Server does not have any device with the 
requested IP Address. 
3002 
This error will be returned if the requested device is an IPS Device.  
3003 
This error will be returned if API encounters any issues when contacting the device, 
for example send a request for a device with invalid credentials. 
27 
Exectimeout Failure: No Response from the device within the timeout. 
Table 115: ExecDeviceReadOnlyCLICmdsRequest Method Error Codes 
 
 
 
 
<
xs:complexType
 name
="
DeviceCmdResult
">
 
 
 
<
xs:sequence
>
 
 
 
 
<
xs:element
 name
="
deviceIP
"
 type
="
xs:string
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
<
xs:element
 name
="
deviceGID
"
 type
="
ObjectIdentifier
"
 minOccurs
="
1
"
 maxOccurs
="
1
"/>
 
 
 
 
<
xs:element
 name
="
deviceName
"
 type
="
xs:string
"
 minOccurs
="
1
"
 maxOccurs
="
1
"/>
 
 
 
 
<
xs:element
 name
="
result
"
 type
="
Result
"
 minOccurs
="
1
"
 maxOccurs
="
1
"/>
 
 
 
 
<
xs:element
 name
="
resultContent
"
 type
="
xs:string
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
</
xs:sequence
>
 
 
</
xs:complexType
>
 
 
 
<xs:element
 name
="execDeviceReadOnlyCLICmdsResponse"
 type
="ExecDeviceReadOnlyCLICmdsResponse"/> 
 
<xs:complexType
 name
="ExecDeviceReadOnlyCLICmdsResponse"> 
 
 
<xs:complexContent>
 
 
 
 
<xs:extension
 base
="
BaseReqResp
">
 
 
 
 
 
<xs:sequence>
 
 
 
 
 
 
<xs:element
 name
="deviceCmdResult"
 type
="DeviceCmdResult"
 minOccurs
="1"
 
maxOccurs
="1"/> 
 
 
 
 
</xs:sequence>
 
 
 
 
</xs:extension>
 
 
 
</xs:complexContent>
 
 
</xs:complexType>