Wireless Access

Reply
Moderator

AMP-Tip: Change AMP's IP Address in UI or CLI

If for some reason you need to change the IP address of your AMP, here's are some simple steps to follow:

 

1. Plan ahead 

     Plan out the IP address you'll be assigning to AMP.

 

2. Get updated license

     Since your AMP license is tied to IP address, go to https://licensing.arubanetworks.com and get an updated license key ahead of time.  If you're unable to get the license key from there, then send an email to support@arubanetworks.com.

 

3. Commit change

     Make the IP change on your AMP.  The rest of the article will describe the quick way to make the change from both UI and CLI.

 

4. Apply new license key

     Go to Home -> License -> replace license key -> Save -> re-accept licensing agreement.

 

5. Update other network devices

     This is commonly the most forgotten piece of this process.  First thing is make sure the network firewalls have been adjusted to coincide with the change.  Second, if you've got your controllers sending traps to AMP, you will need to update the setting on the controller.  Third, double check that firewall.

 

 

================

Making the change from the AMP GUI

================

1. Go to AMP Setup

2. Go to Network

3. Update network information

4. Save

 

gui-ip-change.jpg

 

 

================

Making the change from the AMP CLI

================

1. Login to CLI as root (or root privilege user)

2. Run the 'network_setup' script

     # network_setup

3. Apply and commit changes

 

[root@QARob mercury]# network_setup

------------------ Primary Network Interface Configuration ---------------

1) IP Address : 10.10.10.100
2) Netmask : 255.255.255.0
3) Gateway : 10.10.10.1
4) Primary DNS :
5) Secondary DNS :

9) Commit Changes
0) Exit (discard changes)


Rob Gin
Senior QA Engineer - Network Services
Aruba Networks, a Hewlett Packard Enterprise Company
Contributor II

Re: AMP-Tip: Change AMP's IP Address in UI or CLI

Hate to do this to an old thread but on a 7.6.6 server the command #network_setup no longer works from the CLI. Has it changed?

Moderator

Re: AMP-Tip: Change AMP's IP Address in UI or CLI

It should still be there.  Check that the script's file permission and type are unchanged:

 

[root@rob mercury]# ls -la /usr/local/airwave/bin/network_setup
-rwxr-xr-x 1 root root 3673 Aug 28 08:17 /usr/local/airwave/bin/network_setup*

 

[root@rob mercury]# file /usr/local/airwave/bin/network_setup
network_setup: a /opt/airwave/bin/perl script text executable

 

Alternatively, even if the short command network_setup doesn't run, you should be able to do the following to run the script:

# cd /usr/local/airwave/bin

# ./network_setup

 


Rob Gin
Senior QA Engineer - Network Services
Aruba Networks, a Hewlett Packard Enterprise Company
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: