beautypg.com

HP Systems Insight Manager User Manual

Page 110

background image

To change the default globally so that it affects the next file entry and all subsequent entries, use a statement
similar to the following example. The default is changed to router for the next entry. Router remains the
default for all entries until another #$IMXE_DEFAULT statement changes the value. If a single instance of
TYPE is changed by a #$IMXE statement, the default is not used for only the next entry and then reverts to
router.

Hosts file entries

Keyword statement

#$IMXE_DEFAULT: TYPE=router

#$IMXE_DEFAULT: < Keyword=value>

16.26.176.92 BldRtr6.compaq.com BldRtr6 #user comments

For example: #$IMXE_DEFAULT: TYPE=router

NOTE:

If a keyword parameter is omitted on a commented entry, the current default value is used. The

current default is always the standard default unless a new default value was set using the #$IMXE_DEFAULT
statement. For a keyword that contains more than one word, such as "management processor," enclose the
full keyword in double quotation marks. Quotation marks are optional for single keywords like "server."

The following text quoted from a hosts file illustrates several statements. The explanations, which begin with
the pound sign (#), are not displayed in the hosts file.

# Title: Systems in database

# Sorted by: IP address

# Date: 28-Mar-00 2:29:31 PM

# Author: administrator

The system EngProliant uses all current defaults. There are no

additional comments.

16.26.176.92 EngProliant.compaq.com EngProliant #user comments

The system testServer in the following example defaults for TYPE.

The defaults for SNMP Timeouts and Retries were

restored for this system but only apply to testServer. The SNMP

write community string default was changed and only applies

to testServer.

#$IMXE: TYPE=Server

#$IMXE: SNMP_TIM=0 SNMP_RET=0 SNMP_MON=public

SNMP_CON=private

16.26.160.20 testServer.compaq.com testServer

All defaults in the following example for the system BldRtr1 are

the same as for testServer, but had to be specified because

they are not the global defaults. These changes apply only to

BldRtr1.

#$IMXE: TYPE=Router

#$IMXE: SNMP_TIM=0 SNMP_RET=0 SNMP_MON=public

SNMP_CON=private

16.26.160.23 BldRtr1.compaq.com BldRtr1

For the system BldRtr5, the TYPE and protocols used for discovery

were changed from the current defaults. Because the remaining

keyword entries are missing, the standard defaults

are applied for the SNMP timeouts, retries, and community strings.

#$IMXE: TYPE=Router

110 Discovery and identification