admtcpipparams(1M) DG/UX 5.4.2 admtcpipparams(1M)
NAME
admtcpipparams - manage the TCP/IP host parameters
SYNOPSIS
admtcpipparams -o set [ -n hostname ] [ -i hostid ]
admtcpipparams -o get [ -qv ]
DESCRIPTION
Admtcpipparams manages the TCP/IP host parameters in the
tcpip.params(4M) database. The parameters include hostname(1C) and
hostid(1C).
Operations
set Set the hostname and/or the hostid. The hostname and
hostid are set currently and will be set when the network
is started.
get Get the hostname and the hostid.
Options
-n hostname
hostname is the name that uniquely identifies a host.
Every host has a hostname for each network interface which
associates an Internet address with that interface. But
the hostname uniquely identifies a host system. By
convention, the hostname is also the hostname for the
primary network interface.
-i hostid hostid is a number that uniquely identifies a host. By
convention, this number is the internet address of the
host's primary network interface. The number may be
entered in either internet address or hexadecimal format:
for example, as internet address 128.222.8.61 or the
corresponding hexadecimal number 0x80de083d.
-q "Quiet." Produce an unformatted listing (i.e. no headers,
fields delimited by a single space).
-v "Verbose." Produce a formatted listing with headers and
aligned columns. This option is enabled by default.
FILES
/etc/tcpip.params
TCP/IP parameters file which stores the TCP/IP host
parameters.
OUTPUT
The get operation writes its output to stdout.
The verbose form of the get operation outputs information in aligned
columns with column headers.
The quiet form of the operation suppresses headers and the hostname
Licensed material--property of copyright holder(s) 1
admtcpipparams(1M) DG/UX 5.4.2 admtcpipparams(1M)
and hostid are printed out with one space delimiter.
DIAGNOSTICS
Errors
- The hostid is not in hexadecimal or internet address format.
Exit Codes
0 The operation was successful.
1 The operation was unsuccessful.
2 The operation failed due to access restrictions.
3 There was an error in the command line.
SEE ALSO
hostname(1C), hostid(1C), tcpip.params(4M).
NOTES
Only the system administrator has access to the set operation.
Access to the get operation is granted based upon read access to the
tcpip.params file. Generally, all have read access to the
tcpip.params file.
Licensed material--property of copyright holder(s) 2