Wireless Access

 View Only
  • 1.  How to import internal local users to a controller's database

    Posted Feb 14, 2019 05:31 PM

    How can I import a list of local users for a Local Internal database?

     

    We use MAC addresses for dual authenticaiton on printers and otehr hardware devices.  In teh past, I needed to manually enter the MAC address as the username/password and associate the username with a specific role.

     

    show local-userdb:

    Name                    Password     Role

    00:10:40:9c:14:cb ********         "Role name here"

     

    >local-userdb add username <macaddr> password <macaddr> role guest<enter>

     

    There should be a better way with importing this information.  What if sonoen needed to enter douzens of user accounts, will they need to do this 1 at a time on each conoterller or can they import the informatin from a file?

     



  • 2.  RE: How to import internal local users to a controller's database

    Posted Feb 15, 2019 02:30 AM

    Hi, 

     

    I don't know the amount of equipments but for me create all the commande with a text edit and copy past them into a CLI is going to be my ways to achieve that.

     

    Have a good day.



  • 3.  RE: How to import internal local users to a controller's database

    Posted Feb 24, 2019 09:06 AM

    It is correct to understand that:

     

    1.  One canot add new users to teh local controllers from the WEB UI?

           a.  Onwe must add users from the Command line instead?

     

    2.  I think there was an option to add new users from the Mobilituy Master Node in the Web UI; but, that will add the users to all of the controllers under the MM.

           a.  I am not sure about #2.

           b.  We have 1 or 2 user accounts used for authenticating inot an WLAN.  It would be nice to be able to make changes to these accounts on the MM and then have that propegate down to teh other controllers.

           c.  Is this information propogation prossible, even if  added from teh command line?

     

    3.  In our case we want to add specific users to the 



  • 4.  RE: How to import internal local users to a controller's database

    Posted Jun 23, 2020 09:18 AM

    You can export/import the local-userdb and the whitelist-db, if you log into the CLI of the controller you want to export from you can use the following command:

    local-userdb export <filename>

     

    This will export to the flash: and you can then copy the file from the flash: to another host via tftp, scp, sftp, etc.

     

    Then from the "mynode" level, do a "copy" to get the file in the flash: of the AOS 8 environment. 


    Finally, run the "local-userdb import filename" command to import the entries into the database.

     

    I believe this is done from the mobility master (mynode) level, as I attempted to whitelist some RAPs at a /md/<folder> level and it ended up in the whitelist-db on mynode. Since the MM is now the Control Plane, I believe all whitelisting takes place here, and the controllers are only the Data Plane of the network traffic.

     

    NOTE** - The import option will overwrite an existing database, so be sure that if you have existing entries to merge them using a text editor prior to importing the file, see from the AOS 8 CLI:

    "import - Use this command with CAUTION, it will Replace the existing users with the user entries from the imported file."

     

    Please correct me if I'm wrong, but this is how I understand it at least in AOS 8.5.0.5.