< Home

ip domain-name

Function

The ip domain-name command sets the default domain name suffix.

The undo ip domain-name command deletes the default domain name suffix.

By default, no default domain name suffix is provided.

Format

ip domain-name domain-name

undo ip domain-name

Parameters

Parameter Description Value

domain-name

Specifies the domain name suffix.

The value is a string of 1 to 255 characters.

Views

AP view, AP group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Devices with the same system name may exist in different domains. In this case, you can configure a fully qualified domain name (FQDN) for a device to uniquely identify it. The FQDN of a device consists of the default domain name suffix and device name. You can run the ip domain-name command to set the default domain name suffix and the sysname command to set the device name.

Precautions

If you run the ip domain-name command multiple times, the latest configuration overrides the previous configurations.

Example

# Set the domain name suffix to com.cn.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap-id 1
[HUAWEI-wlan-ap-1] ip domain-name com.cn
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >