Use domain to create an ISP domain and enter its view, or enter the view of an existing ISP domain.

Use undo domain to delete an ISP domain.


domain isp-name

undo domain isp-name


A system-defined ISP domain exists. The domain name is system.


System view

Predefined user roles




isp-name: Specifies the ISP domain name, a case-insensitive string of 1 to 255 characters. The name must meet the following requirements:

Usage guidelines

All ISP domains are in active state when they are created.

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.


# Create an ISP domain named test and enter ISP domain view.

<Sysname> system-view
[Sysname] domain test

Related commands

display domain

domain default enable

domain if-unknown

state (ISP domain view)