Wireless Access

last person joined: 19 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

[Tutorial] AP Boot Commands

This thread has been viewed 159 times
  • 1.  [Tutorial] AP Boot Commands

    Posted Aug 12, 2013 12:36 PM

    Hello Everyone  today i have decided to do a tutorial regarding this which can be helpful sometimes:

     

    First you need to get in the ap boot, and you do it by connecting it through console when you boot up the ap you start pressing any key for example enter and you press it untill you see apboot>

     

    Here is the list of Commands are their meaning:

     

    setenv ipaddr 172.16.3.223

    This Comand will set the static ip address to AP

     

    setenv netmask 255.255.255.0

    This command will set the subnet mask to the AP

     

    setenv gatewayip 172.16.3.1

    This command will set the ip default gateway to the AP

     

    setenv serverip 172.20.5.25

    This command will set from which controller he will download the new image

     

    setenv master 172.20.5.25

    This command will tell the ip which is the master controller

     

     

    setenv group raphome


    This command will tell the ip which group he belongs

     

     

    setenv name Carlos_AP

    This command will tell the IP his name

     

     

    saveenv

    This command will save the configuration

     

     

    dhcp

    This command will help you to know if you are reciving DHCP addresses

     

    purgeenv

    This command will delete all the variables you configured on the apboot

     

    clearos

    This command will delete the Firmware you downloaded from the controller and will put the ap OS that came from the fabric i mean from aruba when you first turned it on

     

    factory_default

    This command will totally factory default the AP

     

    I hope this commands helps you all:)

     

     

    Cheers

    Carlos

     

    [Mod note: edited subject line for readability]



  • 2.  RE: [Tutorial] AP Boot Commands

    Posted Aug 22, 2013 08:53 AM

    I think you missed boot Carlos :smileytongue:

     

    Cheers

    James



  • 3.  RE: [Tutorial] AP Boot Commands
    Best Answer

    MVP
    Posted Sep 05, 2013 02:41 PM
      |   view attached

    somewhat old but meh, find attache the .pdf 

    Attachment(s)

    pdf
    AP Commands.pdf   413 KB 1 version


  • 4.  RE: [Tutorial] AP Boot Commands

    Posted Sep 25, 2013 05:00 PM
    Regarding this post, and for clarification

    I have read that serverip is overriden by master when configured, is it Ok?
    Could serverip be a different value that master ?
    What is the sequence of booting if we hardcode ip, mask, default gateway, master and serverip in AP?.. The AP goes to serverip for Firmware download if needed then to master to get all config?.

    Thanks in advance


  • 5.  RE: [Tutorial] AP Boot Commands

    EMPLOYEE
    Posted Jan 05, 2017 05:33 PM

    Hi,

     

    Does somebody knows which is the key combination to enter in admin mode on the AP from the console ?

     

    Thank you,

    Lara



  • 6.  RE: [Tutorial] AP Boot Commands

    EMPLOYEE
    Posted Jan 05, 2017 05:38 PM

    What are you trying to do?

     

    There's not really an admin mode for APs, you can modify the AP environment variables (IP, master, name, group, etc) from interrupting the boot when prompted and then going in to the AP boot.



  • 7.  RE: [Tutorial] AP Boot Commands

    EMPLOYEE
    Posted Jan 05, 2017 05:42 PM

    No, I am not refering to the boot meniu.

    I want to access the admin mode in order to check a log file.

     

    ~ # tail -f /tmp/sapd_debug_log
    tail: Permission denied
    ~ #

     

    I know that it is a sequence of keys to enter in admin mode , but I dont remenber which is and I couldnt find it .

     

    Thank you,

    Lara



  • 8.  RE: [Tutorial] AP Boot Commands

    EMPLOYEE
    Posted Jan 05, 2017 05:44 PM

    Ah, try ESC+CTRL+K, should give priv access to look at the log files.



  • 9.  RE: [Tutorial] AP Boot Commands

    EMPLOYEE
    Posted Jan 05, 2017 05:49 PM

    It's working  :)

     

    Thank you for prompt response !

    Laura



  • 10.  RE: [Tutorial] AP Boot Commands

    Posted Nov 30, 2017 03:42 PM

    If I dont have a console cable, but I can ssh to the AP, how can I change the IP address from the command line?



  • 11.  RE: [Tutorial] AP Boot Commands

    EMPLOYEE
    Posted Nov 30, 2017 04:26 PM

    Is this a Campus AP or an Instant AP?



  • 12.  RE: [Tutorial] AP Boot Commands

    Posted Nov 30, 2017 04:41 PM
    It is an instant AP, I changed the IP address of the AP to be incorrect, I
    was able to ssh to it by adding a secondary address on my router interface
    and from there I could ssh to it.

    I solved it by changing the VC address to be unique, logged into the new VC
    address, reset the AP back to DHCP and after a reboot, it rejoined my
    original IAP cluster.