< Home

domain (AAA view)

Function

The domain command creates a domain and displays its view.

The undo domain command deletes a domain.

By default, the device has two domains: default and default_admin. The two domains can be modified but cannot be deleted.

Format

domain domain-name [ domain-index domain-index ]

undo domain domain-name

Parameters

Parameter Description Value

domain-name

Specifies the name of a domain.

The value is a string of 1 to 64 case-insensitive characters. It cannot contain spaces or the following symbols: * ? ". The value cannot be - or --.

domain-index domain-index

Specifies the index of a domain.

The value is an integer that ranges from 0 to 31.

Views

AAA view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The device can manage users through domains. A domain is the minimum user management unit. A domain name can be an ISP name or the name of a service provided by an ISP. A domain can use the default authorization attribute, and be configured with a RADIUS template and authentication and accounting schemes.

If the domain to be configured already exists, the domain command displays the domain view.

If a user that belongs to this domain is online, you cannot run the undo domain command to delete the domain.

Prerequisites

To perform AAA for access users, you need to apply the authentication schemes, authorization schemes, and accounting schemes in the domain view. Therefore, authentication, authorization, and accounting schemes must be configured in the AAA view in advance.

Precautions

  • The domain default is a global default common domain for user access, for example, NAC. By default, the domain is activated, and is bound to the authentication scheme radius and accounting scheme default, but is not bound to any authorization scheme.
  • The domain default_admin is a global default management domain for users who log in to the device through HTTPS, SSH, Telnet, and the Web system, namely, administrators. By default, the domain is activated, and is bound to the authentication scheme default and accounting scheme default, but is not bound to any authorization scheme.

Example

# Specify the domain named domain1 and access the domain view.

<HUAWEI> system-view
[HUAWEI] aaa
[HUAWEI-aaa] domain domain1
[HUAWEI-aaa-domain-domain1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >