Command Line Manual Instructions

AnyConnect Persistent Client Setup Instructions

Getting Started Using the Command Line:

Download the compressed tar file (anyconnect-linux-2.4.0202-k9.tar.gz)

Uncompress file:

>>gunzip anyconnect-linux-2.4.0202-k9.tar.gz

This leaves behind the tar file anyconnect-linux-2.4.0202-k9.tar

[shell prompt]tar xvf anyconnect-linux-2.4.0202-k9.tar
ciscovpn/
ciscovpn/vpn_install.sh
ciscovpn/vpnagentd
ciscovpn/vpnagentd_init
ciscovpn/vpn_uninstall.sh
ciscovpn/libssl.so.0.9.8
ciscovpn/libcrypto.so.0.9.8
ciscovpn/vpnui
ciscovpn/anyconnect.desktop
ciscovpn/vpn
ciscovpn/pixmaps/
ciscovpn/pixmaps/company-logo.png
ciscovpn/pixmaps/cvc-about.png
ciscovpn/pixmaps/cvc-configure.png
ciscovpn/pixmaps/cvc-connect.png
ciscovpn/pixmaps/cvc-disconnect.png
ciscovpn/pixmaps/cvc-info.png
ciscovpn/pixmaps/systray_connected.png
ciscovpn/pixmaps/systray_disconnecting.png
ciscovpn/pixmaps/systray_notconnected.png
ciscovpn/pixmaps/systray_reconnecting.png
ciscovpn/pixmaps/vpnui48.png
ciscovpn/manifesttool
ciscovpn/VPNManifestClient.xml
ciscovpn/vpndownloader
ciscovpn/update.txt
ciscovpn/AnyConnectProfile.tmpl
ciscovpn/AnyConnectProfile.xsd
ciscovpn/AnyConnectLocalPolicy.xsd
ciscovpn/license.txt

Install the anyclient application:
[shell prompt] cd ciscovpn/
[shell prompt] sudo ./vpn_install.sh
Installing Cisco AnyConnect VPN Client ...
Client Software License Agreement of Cisco Systems
Starting the VPN agent...
Done!

Starting the anyconnect application.
[shell prompt] ./opt/cisco/vpn/bin/vpn
Cisco AnyConnect VPN Client (version 2.4.0202) .

Copyright (c) 2004 - 2009 Cisco Systems, Inc.
All Rights Reserved.
>> state: Disconnected
>> registered with local VPN subsystem.
>> state: Disconnected

VPN> connect
>> you must specify a host to connect to:

[hosts]:

> vpn.llnl.gov

VPN> connect vpn.llnl.gov
>> contacting host (vpn.llnl.gov) for login information...
>> notice: Contacting vpn.llnl.gov.
>> notice: Posture Assessment: Required for access
>> notice: Posture Assessment: Checking for updates...
>> notice: Posture Assessment: Initiating...
VPN> csd.linux.i386
>> notice: Posture Assessment: Active
>> notice: Posture Assessment: Initiating...
VPN>
>> Please enter your username and password.
0) llnl-vpn
1) llnl-vpnb
2) llnl-vpnc
Group: [llnl-vpn]

Username: [barber2]
Password:
>> notice: Please respond to banner.
VPN>
Warning! This is a Department of Energy (DOE) computer system. By accessing this system you are agreeing to the following terms of use:https://access.llnl.gov/notice.php

accept? [y/n]: y
>> state: Connecting
>> notice: Establishing VPN session...
>> notice: Checking for profile updates...
>> notice: Checking for product updates...
>> notice: Checking for customization updates...
>> notice: Checking for localization updates...
>> notice: Establishing VPN session...
>> notice: Establishing VPN - Initiating connection...
>> notice: Establishing VPN - Examining system...
>> notice: Establishing VPN - Activating VPN adapter...
>> notice: Establishing VPN - Configuring system...
>> notice: Establishing VPN...
>> state: Connected
>> notice: VPN session established to vpn.llnl.gov.
VPN>

Getting Help with the command line:

VPN> help

[ VPN Connection commands ]
connect      disconnect      hosts      stats      state

[ Misc commands ]

help      version      exit

For help with a specific command, try: help <command>