Administrator Guide

Layer 2 Switching Commands 509
server-address
Valid IPv4 or IPv6 addresses of the name server. (Range:
1–255 characters)
Default Configuration
No name server IP addresses are specified.
Command Mode
Global Configuration mode
User Guidelines
Server preference is determined by entry order.
Up to eight servers can be defined in one command or by using multiple
commands. Use the
show hosts
command on page 516 to display the
configured name servers.
Example
The following example sets the available name server.
console(config)#ip name-server 176.16.1.18
ip name-server source-interface
Use the ip name-server source-interface command to select the interface
from which to use the IP address in the source IP address field of transmitted
DNS packets. To revert to the default IP address, use the no form of this
command.
Syntax
ip name-server source-interface {loopback
loopback-id
| tunnel
tunnel-id
|
vlan
vlan-id
}
no ip name-server source-interface
loopback-id
A loopback interface identifier.
tunnel-id
A tunnel identifier.
vlan-id
A tVLAN identifier.
2CSNXXX_SWUM204.book Page 509 Monday, January 25, 2016 1:25 PM