29
•
state
domain
Use
domain
to create an ISP domain and enter ISP domain view.
Use
undo domain
to remove an ISP domain.
Syntax
domain
isp-name
undo domain
isp-name
Default
There is a system predefined ISP domain named
system
in the system.
Views
System view
Default command level
3: Manage level
Parameters
isp-name
: Specifies an ISP domain name, a case-insensitive string of 1 to 24 characters that cannot
contain the slash (/), backslash (\), colon (:), asterisk (*), question mark (?), left angle bracket (<),
right angle bracket (>), quotation marks ("), vertical bar (|), and at sign (@).
Usage guidelines
All ISP domains are in active state when they are created.
The system predefined ISP domain
system
cannot be deleted, but you can modify its configuration.
To delete the ISP domain that is used as the default ISP domain, you must first change it to a
non-default ISP domain by using the
undo domain default enable
command.
Examples
# Create ISP domain
test
, and enter ISP domain view.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test]
Related commands
•
state
•
display
domain
domain default enable
Use
domain default enable
to specify the default ISP domain. Users without any domain name
carried in the usernames are considered to be in the default domain.
Use
undo domain default enable
to restore the default.
Syntax
domain
default
enable
isp-name
undo domain default enable