< Home

authorization-scheme (administrator view)

Function

The authorization-scheme command binds an administrator account to an authorization scheme.

The undo authorization-scheme command removes the binding between an administrator account and an authorization scheme.

Format

authorization-scheme scheme-name

undo authorization-scheme

Parameters

Parameter Description Value

scheme-name

Specifies the name of an authorization scheme.

The authorization scheme must exist.

Views

Administrator view

Default Level

2: Configuration level

Usage Guidelines

An authorization scheme must be created before you run the authorization-scheme command.

Each administrator account can be bound only to a single authorization scheme. If a binding exists and the authorization-scheme command is executed, the latest binding overrides the previous one.

Example

# Bind an administrator account named abc to an authorization scheme named autctscheme.

<sysname> system-view
[sysname] aaa
[sysname-aaa] manager-user abc
[sysname-aaa-manager-user-abc] authorization-scheme aurztscheme
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >