TCP/IP Management Programming Manual

Commands and Responses
HP NonStop TCP/IP Management Programming Manual529636-001
6-13
ADD Command
indicate either a single host that can be reached through the gateway specified
in the ZGW-IP-ADDR field, an entire network that can be reached through the
gateway specified in the ZGW-IP-ADDR field, or that the ZGW-IP-ADDR field
that follows is the default gateway. To specify a host, specify the complete IP
address. To specify a network, assign the local portion of the IP address a
value of zero. (This zero value acts as a wild-card character, representing all
hosts on the network specified in the network portion of the address.) To
specify the default gateway, assign a destination address of 0 (0.0.0.0). The
default gateway is the gateway to which all packets with addresses for which
routes cannot be determined are sent.
ZGW-IP-ADDR
is a 32-bit integer that specifies the Internet address of the gateway through
which the destination specified in ZDEST-IP-ADDR can be reached. When a
destination address of 0 has been assigned to the preceding ZDEST-IP-ADDR
field, this value specifies the Internet address of the default gateway.
ZIF-HOST
is a Boolean variable that specifies whether the route connects to a host. If the
value is ZSPI-VAL-TRUE, the route connects to a host; that is, it is a point-to-
point connection. If the value is ZSPI-VAL-FALSE, the route does not connect
to a host but is broadcast instead.
ZCOM-TKN-OBJNAME
specifies the subnet or route to be added. Your application must provide this token
in the command. The object name cannot be an object-name template. This token
is described more fully in Data Communications Standard Definitions on page 5-9.
(ZSPI-TKN-) MAXRESP and COMMENT
are standard SPI tokens that your application can provide. These tokens are
described in SPI Standard Definitions
on page 5-1.
ZTCI-MAP-ADD-ADDRMAP
is the extensible structured token that defines the configurable attributes for an
address map to be added. The address map specifies the name for the entry in the
TCP/IP X.25 address table; that is, an internal table mapping IP addresses to
X.121 addresses. It has the token number ZTCI-TNM-ADD-ADDRMAP and the
DDL definition ZTCI-DDL-ADD-ADDRMAP. This token must be in the command if
the ZCOM-OBJ-ADDRMAP value has been specified. Duplicate occurrences are
not allowed. The name must start with a pound sign (#) and can be up to seven
alphanumeric characters. The first character following the pound sign must be a
letter. You must assign a unique address name to each address map associated
with a particular process. Names beginning with #ZADR are reserved for use by
the process when creating dynamic entries.
Each attribute is defined in a separate field. All fields are required.