ip host

Use this command to define static host name-to-address mapping in the host cache. The parameter name is host name and ipaddress is the IP address of the host. The host name 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”.

Default None
Format ip host name ipaddress
Mode Global Config