domain-name

Syntax

domain-name domain-name

undo domain-name

View

DHCP address pool view

Default level

2: System level

Parameters

domain-name: Domain name suffix for DHCP clients, a string of 1 to 50 characters.

Description

Use domain-name to specify a domain name suffix for the DHCP clients in the DHCP address pool.

Use undo domain-name to remove the specified domain name suffix.

No domain name suffix is specified by default.

Related commands: dhcp server ip-pool and display dhcp server tree.

Examples

# Specify a domain name suffix of mydomain.com for the DHCP clients in DHCP address pool 0.

<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] domain-name mydomain.com