HPlogo Using the Node Management Services (NMS) Utilities > Chapter 5 Using NMMGR in Maintenance Mode

ADDNODE

MPE documents

Complete PDF
Table of Contents
Index

Adds or updates a node in the current network directory.

Syntax


  ADDNODE [filename]

Parameters

filename

The name of a text file that contains node name and address information for each node to be added or updated in the network directory. The format for the file name is:

filename[.groupname[.accountname]]

A file lockword may not be specified. The contents of the file must be formatted as described here.

Description

ADDNODE adds or updates nodes in the network directory. New nodes are automatically created when they are entered. New path reports (IP address/additional address pairs) can be added to new or existing nodes. Path reports on existing nodes can be modified.

The directory file must be opened either via the Open Configuration/Directory File screen or via the OPENDIR maintenance mode command before ADDNODE can be used.

This command can be run interactively, by entering maintenance mode from screen mode and typing the command, or it can be run from a batch job.

When the command is run interactively and no filename is specified, you are prompted to enter parameters for each node. When the command is run interactively and a filename is specified, or when the command is run from a job, parameters for each node name entry are formatted as follows:

  nodename[,] "IP address"[,] [additional address type[,]
                              [additional address]] [;]

The description of each parameter that must be defined when the command is run from a job or with a filename specified is as follows:
nodename

The name of a node to be added or updated with new path report data. The format is:

nodename.domain.organization

Each of the three names may be from one to sixteen characters long, must begin with a letter, and may contain letters, digits, underscores, or dashes.

If the nodename does not exist, it will be created. If it does exist, the IP address and additional address (if any) will be added to its path report list in the directory.

IP address

The IP address of the remote node. A node may have several IP addresses, one for each path report. The format of the address is the same as the IP address in the Network Directory Data screen. It must be enclosed in quotes (" ") if it is not entered interactively.

additional address type

The numerical type associated with each type of additional address on the Network Directory Data screen. If there is no additional address associated with the node you are adding, enter a 1 (the default). If there is an additional address, enter the number corresponding to the type of the address. The types are as follows:

1

No additional address (default, IP address only)

2

LAN/IEEE802.3

3

X.25

4

NS/SNA

5

LAN/ETHERNET

additional address

The additional address, if any, to be associated with the IP address specified for the node name. If the address is of type LAN/IEEE802.3 or LAN/ETHERNET, then the additional address is an IEEE802.3 or ETHERNET address with the format xx-xx-xx-xx-xx-xx, where x is a hexadecimal digit (0-9, or A-F). If the address type is X.25, then an X.25 address key name must be specified here.

Example

To interactively add a path report for the node named NODE1.XLNET.ACCTG (user input is italicized):

  NMMGR> OPENDIR NSDIR.NET.SYS
  NMMGR> ADDNODE

  Enter node name (or press return to exit):
  ADDNODE> NODE1.XLNET.ACCTG
  Enter IP address:
  ADDNODE> C 192.000.001 002
  Enter additional address type,
  (1-IP, 2-LAN/IEEE802.3, 3-X.25, 4-NS/SNA, 5-LAN/ETHERNET, (default is 1):
  ADDNODE> 2
  Enter additional address:
  ADDNODE> 11-22-33-44-55-66
  NODE1.XLNET.ACCTG saved.
  Enter node name (or press return to exit):
  ADDNODE> [RETURN]
  NMMGR>




ADDLU


ADDVC