The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

ip host

Prev Next

Associates a hostname with an IP address.

Syntax

[no] ip hosthostname ip_address

Parameters

hostname

Hostname. You can specify multiple host/address mappings (one per command).

ip_address

IP address of the hostname.

no

Deletes the host-to-address mapping.

Example

The following example maps “myhost” to the specified IP address.

hostname (config) # ip host myhost 10.10.20.11

Command mode

Config