< Home

Configuring AAA Schemes

Context

To use local authentication and authorization, set the authentication mode in an authentication scheme to local authentication and the authorization mode in an authorization scheme to local authorization.

By default, the device performs local authentication and authorization for access users.

If non-authentication is configured using the authentication-mode command, users can pass the authentication using any user name or password. To protect the device and improve network security, you are advised to enable authentication to allow only authenticated users to access the device or network.

Procedure

  • Configure an authentication scheme.
    1. Run system-view

      The system view is displayed.

    2. Run aaa

      The AAA view is displayed.

    3. Run authentication-scheme authentication-scheme-name

      An authentication scheme is created and the authentication scheme view is displayed, or an existing authentication scheme view is displayed.

      Two default authentication schemes named default and radius are available on the device. These two authentication schemes can be modified but not deleted.

    4. Run authentication-mode { local | local-case }

      The authentication mode is set to local.

      By default, local authentication is used. The names of local users are case-insensitive.

    5. (Optional) Run authentication-super [ hwtacacs | radius | super ] * none

      An authentication mode for upgrading user levels is set.

      The default mode is super (local authentication).

    6. Run quit

      The AAA view is displayed.

    7. (Optional) Run domainname-parse-direction { left-to-right | right-to-left }

      The direction in which the domain name is parsed is specified.

      By default, a domain name is parsed from left to right.

    8. Run quit

      The system view is displayed.

    9. (Optional) Run aaa-authen-bypass enable time time-value

      The bypass authentication duration is set.

      By default, the bypass authentication function is disabled.

  • Configure an authorization scheme.
    1. Run system-view

      The system view is displayed.

    2. Run aaa

      The AAA view is displayed.

    3. Run authorization-scheme authorization-scheme-name

      An authorization scheme is created and the authorization scheme view is displayed, or an existing authorization scheme view is displayed.

      A default authorization scheme named default is available on the device. This authorization scheme can be modified but not deleted.

    4. Run authorization-mode { local | local-case } [ none ]

      The authorization mode is set.

      By default, local authorization is used. The names of local users are case-insensitive.

    5. Run quit

      The AAA view is displayed.

    6. (Optional) Run authorization-modify mode { modify | overlay }

      The update mode of user authorization information delivered by the authorization server is set.

      The default mode is overlay.

    7. Run quit

      The system view is displayed.

    8. (Optional) Run aaa-author-bypass enable time time-value

      The bypass authorization duration is set.

      By default, the bypass authorization function is disabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >