Controller Based WLANs

List of useful CLI commands for Aruba VIA Linux platform

Aruba Employee
Q:

List of useful CLI commands for Linux VIA 



A:

Here are some useful CLI commands for Linux VIA 

Get Authentication Profile List:

Execute the following download connection profile command without authentication profile name, if an authentication profile name is unknown.

via-cli profile load \

--gateway 119.82.100.27 \

--username internal04 \

--userpass aruba123

Or

via-cli –u <username> -p <Password> profile load

–proxy <proxy settings> <gatewayip>

--nocertwarn

output:

2 auth. profiles available:

#1 : AU0101IKEv1PSK [AU0101IKEv1PSK].

#2 : AU0102IKEv1RSA [AU0102IKEv1RSA].

 

Download a Connection Profile:

Execute the following commands and specify the name of the authentication profile or the corresponding number to download the connection profile.

via-cli profile load \

--gateway 119.82.100.27 \

--username internal04 \

--userpass aruba123 \

--authprofile AU0101IKEv1PSK \

OR

via-cli-nocertwarn profile load \

--gateway 119.82.100.27 \

--username internal04 \

--userpass aruba123 \

--authprofile AU0101IKEv1PSK \

OR

via-cli-nocertwarn profile load \

--gateway 119.82.100.27 \

--username internal04 \

--userpass aruba123 \

--authprofile-index 1 \

 

Terminate VPN Tunnel :

via-cli vpn disconnect

 

Clear Profile:

via-cli profile clear

 

VPN Status:

Execute the following command to print the status of the VPN connection.

via-cli vpn status

 

Version:

Execute the following command to check the CLI version.

via-cli –v

 

Print Profile:

Execute the following command to print the downloaded authentication profile details.

via-cli profile print

 

Clear Profile:

Execute the following command to erase the downloaded profile.

via-cli profile clear

 

VIA Help:

Execute the following commands to get help on VIA CLI commands.

via-cli-help

via-cli –h

 

Start VIA Session:

Execute the following commands to run VIA session.

via-cli session start

via-cli session start –keypass <Password>

via-cli session start –keypass <keyring password> --force

 

Stop VIA Session:

Execute the following commands to stop a VIA session that is in progress.

via-cli stop

via-cli session stop –-force

 

Display Session Info:

Execute the following command to view the VIA session details that is in progress.

via-cli session info

 

Send Logs

Execute the following command to send the archived logs.

via-cli logs send
via-cli logs send –-directory <pathtosavelogs>

Version history
Revision #:
2 of 2
Last update:
‎03-24-2017 07:57 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.