Ip name-server, Ip host, Ip name-server ip host – Allied Telesis AT-S95 CLI (AT-8000GS Series) User Manual
Page 145

IP Addressing Commands
Page 145
Example
The following example defines default domain name www.website.com.
ip name-server
The ip name-server Global Configuration mode command defines the available name servers. Use the no form
of this command to remove a name server.
Syntax
ip name-server server-address [server-address2 … server-address8]
no ip name-server [server-address1 … server-address8]
Parameters
•
server-address — Specifies IP addresses of the name server.
Default Configuration
No name server addresses are specified.
Command Mode
Global Configuration mode
User Guidelines
The preference of the servers is determined by the order in which they were entered.
Up to 8 servers can be defined using one command or using multiple commands.
To define a radius server on the out-of-band port, use the out-of-band IP address format: oob/ip-address.
Example
The following example sets the available name server.
ip host
The ip host Global Configuration mode command defines static host name-to-address mapping in the host cache.
Use the no form of this command to remove the name-to-address mapping.
Syntax
ip host name address
no ip host name
Parameters
•
name — Specifies the name of the host. (Range: 1 - 158 characters)
•
address — Specifies the associated IP address.
Console(config)# ip domain-name www.website.com
Console(config)# ip name-server 176.16.1.18