< Home

domain (AAA view)

Function

The domain command creates a domain and displays its view.

The undo domain command deletes a domain.

The device has a default domain: default. The domain 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 any of the following characters: @, \, :, *, ?, ", <, >, |, /, #, =, ', &, and ,.

domain-index domain-index

Specifies the index of a domain.

The value is an integer and depends on the device.

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

By default, the domain default is bound to the authentication scheme default, authorization scheme default, and accounting scheme default.

Example

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

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