beautypg.com

Domain-name – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1703

background image

Dynamic Host Configuration Protocol (DHCP) Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

64.5

domain-name

This command adds a domain name to the DHCP address pool you are configuring. Use
this command to specify the domain name that a client should use when resolving host
names using the Domain Name System. This sets the domain name details using the pre-
defined option 15.

The no variant of this command removes the domain name from the address pool.

Syntax

domain-name <domain-name>

no domain-name

Mode

DHCP Configuration

Examples

To add the domain name Nerv_Office to DHCP pool P2, use the commands:

To remove the domain name Nerv_Office from DHCP pool P2, use the commands:

Related Commands

default-router
dns-server
service dhcp-server
show ip dhcp pool
subnet-mask

Parameter

Description

<domain-name>

The domain name you wish to assign the DHCP pool. Valid
characters are any printable character. If the name contains
spaces then you must enclose it in “quotation marks”.

awplus#

configure terminal

awplus(config)#

ip dhcp pool P2

awplus(dhcp-config)#

domain-name Nerv_Office

awplus#

configure terminal

awplus(config)#

ip dhcp pool P2

awplus(dhcp-config)#

no domain-name Nerv_Office