Configuring AAA User Entries in Local User Databases

To enter Local User Configuration mode and add user entries to a local user database, use the following commands:

  1. Specify the subscriber’s username and the database you want to use. Use the database name default to specify the default local user database. This command also puts the router into Local User Configuration mode.
    host1(config)# aaa local username cksmith database westLocal40 host1(config-local-user)#

    Note: You can use the aaa local username command to add or modify user entries to a default database that was created by the username command.

  2. (Optional) Specify the type of encryption algorithm and the password or secret that the subscriber must use to connect to the router. A subscriber can be assigned either a password or a secret, but not both. For example:
    host1(config-local-user)#password 8 iTtakes2%
  3. (Optional) Specify the IP address to assign to the subscriber.
    host1(config-local-user)#ip-address 192.168.101.19
  4. (Optional) Specify the IP address pool used to assign the subscriber’s IP address.
    host1(config-local-user)#ip-address-pool svPool2
  5. (Optional) Assign the subscriber to an operational virtual router. This parameter is applicable only if the subscriber is authenticated in the default virtual router.
    host1(config-local-user)#operational-virtual-router boston2

Related Documentation