< Home

domain (system view)

Function

The domain command configures a global default domain.

The undo domain command restores the default setting.

By default, there are two global default domains: common domain default and administrative domain default_admin. The former is used as the global default domain of access users, while the latter as the global default domain of administrators.

Format

Common domain default:

domain domain-name

undo domain

Administrative domain default_admin:

domain domain-name admin

undo domain admin

Parameters

Parameter

Description

Value

domain-name

Specifies the name of a global default domain.

The domain must already exist.

admin

Configures a domain for administrators.

If this parameter is not specified, the domain for common access users is configured.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

After the global default domain is configured, a user must be managed by the global default domain if their domain cannot be identified.

Precautions

You must create a domain before configuring the domain as the global default domain.

Example

# Create domain abc and configure it as the global default common domain.

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