Foundry NetIron M2404C and M2404F Metro Access Switches
Switch Administration (Rev. 03)
Domain Name System (DNS) Resolver © 2008 Foundry Networks, Inc.
Page 77 of 87
The first IP address is the primary gateway address and all others are secondary addresses.
Command Syntax
device-name
(config)#
ip dns server A.B.C.D
device-name
(config)#
no ip dns server A.B.C.D
Argument Description
A.B.C.D
The IP address of the DNS server.
Displaying the DNS Resolver Configuration
The
show ip dns
command, in Privileged (Enable) mode, displays the current configuration of the
DNS Resolver.
Command Syntax
device-name
#
show ip dns
Configuration Example
In the following example, the first IP address in the
ip dns server
command becomes the primary
address and all others are secondary addresses. Because IP address 201.98.7.15 is the last address
listed, it is also the last address consulted to resolve a query.
device-name
(config)#
ip dns server 209.157.22.199
device-name
(config)#
ip dns server 205.96.7.15
device-name
(config)#
ip dns server 201.98.7.15
The following command displays the DNS configuration:
device-name
(config)#
end
device-name
#
show ip dns
DNS Resolver configuration:
First DNS server 209.157.22.199
Second DNS server 205.96.7.15
Third DNS server 201.98.7.15
Controlling Access to the Switch
Table 32
lists the commands used for controlling the following access functions:
Telnet access to the device. For the use of named access list by Telnet see “
Switch Setup and
Maintenance
”.
Access of the SNMP users. For the use of named access list by SNMP see “Configuring
Simple
Network Management Protocol (SNMP)”.
Routing protocols distribution. For the use of named access list by routing protocols, see
“
Configuring Routing Information
”.