IP Address Commands

ip host

The ip host Global Configuration mode command defines static host name-to-address mapping in the host cache. To remove the name-to-address mapping, use the no form of this command.

Syntax

ip host name address

no ip host name

Parameters

name — Specifies the name of the host. (Range: 1-158 characters)

address — Specifies the associated IP address.

Default Configuration

No host is defined.

Command Mode

Global Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example defines a static host name-to-address mapping in the host cache.

Console(config)# ip host accounting.intel.com 126.10.23.1

clear host

The clear host Privileged EXEC mode command deletes entries from the host name-to- address cache.

Syntax

clear host {name *}

Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

131

Page 147
Image 147
Intel SBCEGBESW10 CLI manual Ip host, No ip host name, No host is defined, Clear host name