Command Reference Guide
DNS Client Commands
CLI Command Reference
September 2014 Page 212
HP Moonshot Switch Module CLI Command Reference
ip name source-interface
Use this command to specify the physical or logical interface to use as the DNS client (IP name) source interface
(source IP address) for the DNS client management application. If configured, the address of source Interface
is used for all DNS communications between the DNS server and the DNS client. The selected source-interface
IP address is used for filling the IP header of management protocol packets. This allows security devices
(firewalls) to identify the source packets coming from the specific switch. If a source-interface is not specified,
the primary IP address of the originating (outbound) interface is used as the source address. If the configured
interface is down, the DNS client falls back to its default behavior.
no ip name source-interface
Use this command to reset the DNS source interface to the default settings.
ip host
Use this command to define static host name-to-address mapping in the host cache. The parameter name is host
name and i
p address is the IP address of the host. The hostname can include 1–255 alphanumeric characters,
periods, hyphens, underscores, and non-consecutive spaces. Hostnames that include one or more space must
be enclosed in quotation marks, for example “lab-pc 45”.
no ip host
Use this command to remove the name-to-address mapping.
Format
ip name source-interface {unit/slot/port | loopback loopback-id | vlan vlan-id}
Mode Global Config
Format
no ip name source-interface
Mode Global Config
Default none
Format
ip host name ipaddress
Mode Global Config
Format
no ip host name
Mode Global Config