3Com S7902E Command Reference Manual - page 577
1-8
View
System view
Default Level
2: System level
Parameters
Hostname
: Host name, consisting of 1 to 20 characters, including case-insensitive letters, numbers,
hyphens (-), underlines (_), 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
reset dns dynamic-host
Syntax
reset dns dynamic-host
View
User view
Default Level
2: System level
Parameters
None
Description
Use the
reset dns dynamic-host
command to clear the dynamic domain name resolution information.
Related commands:
display dns dynamic-host
.
Examples
# Clear the dynamic domain name resolution information.