Technical data

SET SERVICE
Option Meaning
HOSTS=hosts Makes the service unavailable to the specified hosts.
Maximum is 32.
Examples:
/REJECT=HOSTS=(host1_name,host2_name, host3_address)
/REJECT=HOSTS=*
NOHOSTS=hosts Removes the specified hosts from the reject list. You can use the wildcard character (*)
in place of the hosts list to remove all hosts from the reject list.
Maximum is 32.
Examples:
/REJECT=NOHOSTS=(host1_name,host2_name,host3_address)
/REJECT=NOHOSTS=*
NETWORKS=networks Makes the service unavailable to the hosts on the specified networks.
Maximum is 16.
For each network, you can optionally specify the network mask. The default net mask
equals network’s class number. For example, for network 11.200.0.0., the default mask
is 255.0.0.0.
Example:
/REJECT=NETWORKS=(net1_name,net2_address, net3:net3mask)
NONETWORKS[=networks] Removes the specified networks from the reject list. You can use the wildcard character
(*) in place of the networks list to remove all networks from the reject list.
Maximum is 16.
For each network, you can optionally specify the network mask. The default net mask
equals network’s class number. For example, for network 11.200.0.0., the default mask
is 255.0.0.0.
Example:
/REJECT=NONETWORKS=(net1_name,net2_address, net3:net3mask)
[NO]MESSAGE=text
NOMESSAGE
Message sent to "reject-list" clients when TCP/IP Services rejects their request for the
service.
Optional.
Specify a character string up to 63 characters.
Enclose the string in quotation marks.
Use this option only for a service whose clients require and support reject messages.
Messages are sent with a carriage return/line feed at the end.
For RLOGIN, RSH, and REXEC, this message is preceded by a byte with a value of 1
and is terminated with a byte with a value of 0.
/REJECT=NOMESSAGE deletes the stored message text.
/RPC=(PROGRAM_NUMBER=n, VERSION_NUMBER=(LOW=n, HIGH=n))
Required for services that use the Portmapper; otherwise, not valid. Defaults:
Service Program Number Highest Version Lowest Version
MOUNT 100005 1 1
NFS server 100003 2 2
PCNFS 150001 1 2
PORTMAPPER 100000 1 1
Information that identifies the service to the Portmapper. Use this qualifier for
all applications that use RPCs.
2–148 Command Descriptions