SROS Command Line Interface Reference Guide

Global Configuration Mode Command Set

 

 

ip host <name> <address1>

Use the ip host command to define an IP host name. This allows you to statically map host names and addresses in the host cache. Use the no form of this command to remove defined maps.

Syntax Description

<name>

Name of the host.

<address1>

IP address associated with this IP host.

Default Values

By default, the host table is empty.

Command Modes

(config)#

Global Configuration Mode required

Functional Notes

The name may be any combination of numbers and letters as long as it is not a valid IP address or does not exceed 256 characters.

Usage Examples

The following example defines two static mappings:

(config)#ip host mac 10.2.0.2 (config)#ip host dal 172.38.7.12

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

288

Page 288
Image 288
HP 7000 dl Router manual Ip host name address1, Config#ip host mac 10.2.0.2 config#ip host dal