
General switch administration using the Command Line Interface
193
default ip domain-name command
Use the
default ip domain-name
command to set the system default
switch domain name. Because this default is an empty string, this command
has the same effect as the
no ip domain-name
command.
The syntax for this command is:
default ip domain-name
Run this command in Global Configuration command mode.
ip name-server command
Use the
ip name-server
command to set the domain name servers the
switch uses to resolve a domain name to an IP address. A switch can have
up to three domain name servers specified for this purpose.
The syntax of this command is
ip name-server <ip_address_1>
ip name-server [<ip_address_2>]
ip name-server [<ip_address_3>]
Note: To enter all three server addresses, you must enter the command
three times, each with a different server address.
"ip name-server parameters" (page 193)
outlines the parameters for this
command.
ip name-server parameters
Parameter
Description
<ip_address_1>
The IP address of the domain name server
used by the switch.
<ip_address_2>
Optional. The IP address of a domain name
server to add to the list of servers used by the
switch.
<ip_address_3>
Optional. The IP address of a domain name
server to add to the list of servers used by the
switch.
Run this command in Global Configuration command mode.
no ip name-server command
Use the
no ip name-server
command to remove domain name servers
from the list of servers used by the switch to resolve domain names to an
IP address.
The syntax for this command is
Nortel Ethernet Routing Switch 4500 Series
Overview — System Configuration
NN47205-500
02.01
Standard
5.0
23 February 2007
Copyright © 2007, Nortel Networks
Nortel Networks Confidential
.