Mapping remote users to default local users using the CLI

Prev Next

If a remote authentication method does not return a local user attribute string after a remote user is authenticated, the remote user will be mapped to a default local user account.

Prerequisites
  • Admin access

To specify the default local user account:

Any non-mapped users will default to the specified local user account.

  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. To specify the default local user account, use the following command:

    aaa authorization map default-user <username>

  3. Save your changes:

    hostname (config) # write memory