31
You can modify settings for the system-defined ISP domain
system
, but you cannot delete this
domain.
An ISP domain cannot be deleted when it is the default ISP domain. Before you use the
undo
domain
command, change the domain to a non-default ISP domain by using the
undo domain
default enable
command.
Use short domain names to ensure that user names containing a domain name do not exceed the
maximum name length required by different types of users.
Examples
# Create an ISP domain named
test
and enter ISP domain view.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test]
Related commands
display domain
domain
default
enable
domain if-unknown
state
(ISP domain view)
domain default enable
Use
domain default enable
to specify the default ISP domain. Users without any domain name
included in the usernames are considered in the default domain.
Use
undo domain default enable
to restore the default.
Syntax
domain
default
enable isp-name
undo domain default enable
Default
The default ISP domain is the system-defined ISP domain
system
.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
isp-name
: Specifies the ISP domain name, a case-insensitive string of 1 to 255 characters. The ISP
domain must already exist.
Usage guidelines
The system has only one default ISP domain.
An ISP domain cannot be deleted when it is the default ISP domain. Before you use the
undo
domain
command, change the domain to a non-default ISP domain by using the
undo domain
default
enable
command.
Examples
# Create an ISP domain named
test
, and configure the domain as the default ISP domain.