< Home

domain-set

Function

The domain-set command creates a domain group and displays its view.

The undo domain-set command deletes domain groups.

Format

domain-set name domain-set-name

undo domain-set { name domain-set-name | all }

Parameters

Parameter Description Value

name domain-set-name

Specifies the name of a domain group.

The name is a string of case-sensitive characters. If the name does not contain any space, the length ranges from 1 to 32 characters. If the name contains spaces, the length ranges from 3 to 34 characters, and you must use double quotation marks ("") to enclose it (for example, "user for test").

The name cannot contain question marks (?), or commas (,). If the name does not contain any space, it also cannot have any double quotation marks ("). In addition, the name cannot be any , all, or any IPv4 or IPv6 address.

all

Indicates all domain groups.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Domain groups referenced in traffic policies cannot be deleted.

Example

# Create domain group set1.

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