linkmap manual page
Table of Contents

NAME

linkmap - format of SunNet Manager linkmap file

DESCRIPTION

This file is used by SNM Console to provide link management capability.

This is an ASCII (text editable) file containing four position-dependent fields, separated by whitespace (tabs or spaces) and terminated with a newline.

The first field is required, and at least one of the other fields are required, dependingon the utility using the file. A "-" takes the place of any field not filled in, including the fourth field. Blank lines are allowed. Comments start with "#" and continue through the end of the line.

The location of the file is defined by the environment variable SNMLINKMAP. If this is undefined, the default is /var/opt/snm/linkmap for Solaris 2.x and /var/adm/snm/linkmap for Solaris 1.x.

The contents of the linkmap file in its basic format are as follows:

<hostname> <ifIndex> <linkname> <mac address>

where:

<hostname>
indicates the name of the proxy host doing the link monitoring. This is a required parameter.

<ifIndex>
indicates the if number of the interface to be monitored.

<linkname>
indicates the name given to a particular link.

<mac address>
the IP address of the interface. At the current time, the MAC address is not used by the SNM 2.3 product.

EXAMPLES:

If router1, interface 1 is connected to router2, interface 5, and the link name is link1, the resulting linkmap file would look like:

router1 1 link1 router2
5 link1

NOTES

The links must be connection type objects (connection.link), NOT simple connections.


Table of Contents