Cisco Cisco ASA 5555-X Adaptive Security Appliance

下载
页码 37
 
About the ASA REST API v1.1.1 
Objects 
 
28 
TwiceNAT (Manual NAT) 
BeforeNAT and afterNAT are separated into two lists and have their own URIs. Moving a beforeNAT to afterNAT or vice-
versa is not supported. 
Limitations: 
N/A 
Error Codes: 
See above. 
Objects 
Objects are re-usable components for use in your configuration. They can be defined and used in ASA configurations in 
the place of inline IP addresses, services, names, and so on. 
Similarly to access rules, extended ACLs are created when their first ACE is created and are deleted when their last ACE 
is deleted. There is another URI for services, /objects/predefinednetworkservices; available only for a GET that returns 
the predefined services, which can be used to cut and paste as inline services, or when creating a service object. REST 
API supports inline objects and object groups on par with the ASDM GUI. 
Limitations: 
Only local users are supported in this release. 
Error Codes: 
OBJECT_USED - object used ( e.g. in an access list) and cannot be deleted 
NAME_NULL - name needs to be provided 
NAME_NO_SPACE - name cannot have spaces 
MIXED_ACE_ACTIONS - Extended ACE error: mixed ACE actions are not allowed in DAP 
Routing 
Only static routes are supported. 
Limitations: 
N/A 
Error Codes: 
"STATIC-ROUTES-DUP-SLA-ID" 
"STATIC-ROUTES-INVALID-FREQ" 
"STATIC-ROUTES-INVALID-DATA-SIZE"