Cisco Cisco ASA 5555-X Adaptive Security Appliance

下载
页码 28
 
About the ASA REST API v1.2.2 
REST API Online Documentation 
 
27 
python script.py <username> <password>  
The Perl scripts require some additional set-up. You will need five components: Perl itself, and four Perl libraries: 
Perl, found at 
Bundle::CPAN, found at 
REST::Client, found at 
MIME::Base64, found at 
JSON, found at 
Here is an example Perl installation on a Macintosh: 
Boot strapping for MAC: 
$ sudo perl -MCPAN e shell 
cpan> install Bundle::CPAN 
cpan> install REST:: Client 
cpan> install MIME::Base64 
cpan> install JSON  
 
After installing the dependencies, you can run your script with: 
perl script.pl <username> <password>