< Home

(Optional) Creating an Administrator Role

This section describes how to create an administrator role using the CLI.

Procedure

  1. Access the system view.

    system-view

  2. Access the AAA view.

    aaa

  3. Create an administrator role and access the administrator role view.

    role role-name

    The administrator role referenced by an administrator cannot be deleted.

  4. Optional: Rename an administrator role.

    rename new-role-name

  5. Optional: Add a description of an administrator role.

    description description-information

  6. Grant the role the permission for configuration modules.

    feature-name is the module name. You can set one or more module names during configuration.

    Operation

    Command

    Grant permission for the dashboard module.

    dashboard { none | read-only | read-write }

    Grant permission for the monitor module.

    monitor { none | read-only | read-write } [ feature-name ]

    Grant permission for the network module.

    network { none | read-only | read-write } [ feature-name ]

    Grant permission for the object module.

    object { none | read-only | read-write } [ feature-name ]

    Grant permission for the policy module.

    policy { none | read-only | read-write } [ feature-name ]

    Grant permission for the system module.

    system { none | read-only | read-write } [ feature-name | other]

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