TCPIP$UCP_HELP.HLB  —  SET  NETWORK
    Defines or deletes an entry in the networks database.

    Equivalent to maintaining the /etc/networks file on UNIX hosts.

    Related commands: SHOW NETWORK, CONVERT/VMS NETWORK

    Format

      SET [NO]NETWORK  network

                       [ /ADDRESS=IP_address ]

                       [ /[NO]ALIAS=alias ]

                       [ /[NO]CONFIRM ]

1  –  Restrictions

    Requires read, write, and delete access to the networks database.

2  –  Parameters

 network

    Required.

    Name of the network.

    You cannot delete a network by specifying an alias name.

3  –  Qualifiers

3.1    /ADDRESS

       /ADDRESS=IP_address

    Required for a new entry.

    IP address of the network.

3.2    /ALIAS

       /ALIAS=alias
       /NOALIAS=alias

    Optional.

    Alternate name for the network.

    o  Do not use with SET NONETWORK.

    o  /NOALIAS=alias deletes an alias.

    o  /NOALIAS=* deletes all aliases.

3.3    /CONFIRM

       /CONFIRM
       NOCONFIRM

    Optional. Default: /CONFIRM if you use a wildcard.

    When used with SET NONETWORK, prompts you to confirm the delete
    request.

    If you specify the /NOCONFIRM qualifier, the operation is
    performed without asking you to confirm the request.

4  –  Examples

    1.TCPIP> SET NETWORK MYNA /ADDRESS=128.30.30.10 /ALIAS=MYNA_1

      Creates an entry for network MYNA at IP address 128.30.30.10,
      and its alias MYNA_1, to the networks database.

    2.TCPIP> SET NETWORK MYNA /ALIAS=MYNA_2

      Adds a second alias for network MYNA.

    3.TCPIP> SET NETWORK MYNA /NOALIAS=MYNA_2

      Deletes the alias MYNA_2 from the network MYNA entry in the
      networks database.

    4.TCPIP> SET NETWORK "jungle" /ALIAS=("parrot","canary","motmot")

      For network jungle, creates the aliases parrot, canary, and
      motmot.
Close Help