Using The Perl Client To Access The Nsm Api; Login And Logout - Juniper NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 Manual

Api guide
Table of Contents

Advertisement

CHAPTER 7
Using the Perl Client to Access the NSM
API

Login and Logout

Copyright © 2010, Juniper Networks, Inc.
This section explains how to use the Perl Client library for NSM to access the NSM API.
The library is located in the directory
Login and Logout on page 81
Enter the following commands to log into and log out of the Perl Client Library.
# Login:
my $host = [your hostname or IP here]
my $connect = MAIN::NSM->new('HOST'=>"$host");
$connect->login;
#Log out:
$connect->logout;
$NSROOT/GuiVar/webproxy/clienton
NSM server.
81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Network and security manager 2010.4

Table of Contents