DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
218
Usage Guideline
Use this command to enable the domain name resolution function. The DNS resolver sends the query
to the configured name server. The answer replied by the name server will be cached for answering
the subsequent requests.
Example
This example shows how to enable the DNS domain name resolution function.
Switch# configure terminal
Switch(config)# ip domain lookup
Switch(config)#
24-3
ip host
This command is used to configure the static mapping entry for the host name and the IP address in
the host table. Use the
no
form of this command to remove the static host entry.
ip host HOST-NAME {IP-ADDRESS | IPV6-ADDRESS}
no ip host HOST-NAME {IP-ADDRESS | IPV6-ADDRESS}
Parameters
HOST-NAME
Specifies the host name of the equipment.
IP-ADDRESS
Specifies the IPv4 address of the equipment.
IPV6-ADDRESS
Specifies the IPv6 address of the equipment.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The host name specified in this command needs to be qualified. Use the
no
command to delete a
static host entry.
Example
This example shows how to configure the mapping of the host name “www.abc.com” and the IP
address 192.168.5.243.
Switch# configure terminal
Switch(config)# ip host www.abc.com 192.168.5.243
Switch(config)#
24-4
ip name-server
This command is used to configure the IP address of a domain name server. Use the
no
form of this
command to delete the configured domain name server.
ip name-server {IP-ADDRESS | IPV6-ADDRESS} [{IP-ADDRESS2 | IPV6-ADDRESS2}]
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...