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.
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. |
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