PREV NEXT INDEX

Avici Systems Inc.


show hosts


Displays host names and the associated IP addresses.

Syntax: show hosts

Description: IP addresses are more difficult to remember than names. The ip host command enables you to associate a text name with an IP address.

Use the show host command to display host names and their associated IP addresses.

Factory Default: None.

Command Mode: Executive and privileged.

Example: In the following example, the ip host commands associate one IP address with the host name ChicagoPOP and one IP address with the host name BostonPOP. The show host command displays the new setting:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#ip host ChicagoPOP 134.34.45.1

router(config)#ip host BostonPOP 134.34.44.6

router(config)#end

router#show hosts

Default domain is avici.com

Name/address lookup uses domain service

Host Flags Age Type Address(es)

ChicagoPOP (perm, OK) 0 IP 134.34.45.1

BostonPOP (perm, OK) 0 IP 134.34.44.6

The following table describes the fields in the display:

Table 1-3. Fields Displayed by show hosts 
Field Description

Default domain

Default domain name used by IPriori to complete unqualified host names.

Name/address lookup

Indicates if domain name look up is enabled. Valid values are:

uses domain service - domain name lookup enabled

uses static mappings - domain name lookup not enabled

Host

Name of a host defined using the ip host command.

Flags

Entries in the host table can be permanent or temporary. Valid values are:

perm - indicates the entry is permanent and will not be timed out.

temp - indicates the entry is temporary and will be removed after 72 hours.

OK - indicates the entry is valid.

?? - indicates the entry is questionable.

EX - indicates the entry is expired.

Age

Number of hours since this hostname/IP address binding was last used. Zero indicates a static binding.

Type

Indicates the type of address. Valid values are:

IP - IP address.

Related Commands: ip host


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: IP_Commands.fm
    HTML File Name: IP_Commands12.html
    Last Updated: 05/10/04 at 16:34:20

Please email suggestions and comments to: doc@avici.com