Ip Host - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – DNS
H3C S7500E Series Ethernet Switches
Use the undo dns server to remove DNS server(s).
No DNS server is specified by default.
You can configure a maximum of six DNS servers.
Related commands: display dns server.
Examples
# Specify the DNS server 172.16.1.1.
[Sysname] dns server 172.16.1.1

1.1.10 ip host

Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view
Parameters
Hostname: Host name, consisting of 1 to 20 characters, including case-insensitive
letters, numbers, hyphens (-), or dots (.). The host name must include at least one
letter.
ip-address: IP address of the specified host in dotted decimal notation.
Description
Use the ip host command to create a host name to IP address mapping in the static
resolution table.
Use the undo ip host command to remove a mapping.
No mappings are created by default.
You can configure only one mapping for a host name. A mapping newly configured for
the host name will overwrite the previous one if there is any.
Related commands: display ip host.
Examples
# Map the IP address 10.110.0.1 to the host name aaa.
[Sysname] ip host aaa 10.110.0.1
Chapter 1 DNS Configuration Commands
1-8

Advertisement

Table of Contents
loading

Table of Contents