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 [<ipv6_address> | <ip_address_1> ip name-server
[<ipv6_address> | <ip_address_2>] ip name-server [<ipv6_address> |
<ip_address_3>]
Important:
To enter all three server addresses, you must enter the command three times, each with a
dif
ferent server address.
Table 72: ip name-server parameters on page 162 outlines the parameters for this
command.
T
able 72: ip name-server parameters
Parameter Description
ipv6_address The IPv6 address of the domain name server used by
the switch.
<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
no ip name-server <ip_address_1> no ip name-server [<ip_address_2>]
no ip name-server [<ip_address_3>]
System configuration using
ACLI
162 Configuration — System April 2011