Modifies the IP, TCP, UDP, and INET_ACP software on the running system. Related commands: SET CONFIGURATION COMMUNICATION, SHOW COMMUNICATION Format SET COMMUNICATION [ /ACCEPT=options ] [ /DOMAIN=domain ] [ /LOCAL_HOST=host ] [ /PROXIES=n ] [ /REJECT=options ]
1 – Restrictions
Requires OPER privilege.
2 – Qualifiers
2.1 /ACCEPT
/ACCEPT { =[NO]HOSTS=(hosts) | =[NO]NETWORKS=(networks) } Optional. Default: All hosts and all networks. Accepts communication from the hosts and networks specified. Do not specify the same hosts or networks for both /ACCEPT and /REJECT. To delete an /ACCEPT entry, specify it again using the NOHOSTS or NONETWORKS option. Specify one of the following: o [NO]HOSTS=hosts Hosts that can access TCP/IP Services. Maximum is 32. For example: /ACCEPT=HOSTS=(host1_name,host2_name, host3_address) o [NO]NETWORKS=networks Networks that can access TCP/IP Services. Maximum is 16. Use the following syntax: NETWORKS=(net1[:net1mask],net2[:net2mask],...) For each network, specify: network:[network_mask]. The network mask is optional. (Default: class number of your network. For example, the default for 11.200.0.0. is 255.0.0.0.). For example: /ACCEPT=NETWORKS=(net1_name,net2_addr,net3_addr:net3_mask)
2.2 /DOMAIN
/DOMAIN=domain Optional. Specifies your system's local domain. This qualifier requires either SYSPRV or BYPASS privilege.
2.3 /LOCAL_HOST
/LOCAL_HOST=host Optional. Defines the following logical names for the local host: o TCPIP$INET_HOST=host-name This logical is always set with the primary host name even if the alias name was specified as host. o TCPIP$INET_HOSTADDR=host-IP-address If the local host has multiple IP addresses, this logical name is set with a name for each address, called TCPIP$INET_ HOSTADDRn, where n is a number starting at 2. This qualifier requires either SYSPRV or BYPASS privilege.
2.4 /PROXIES
/PROXIES=n Optional. Default: Number of communication proxies plus 10, with a minimum of 20. Specifies the maximum size of the proxy cache. If you plan to add entries to the proxy database after you start the TCP/IP Services software, set /PROXIES to a value higher than the default. You cannot change this value if the TCP/IP Services software is running.
2.5 /REJECT
/REJECT {=[NO]HOSTS=(hosts) | =[NO]NETWORKS=(networks) | Optional. Default: No rejections. Specifies the hosts or networks that cannot access the TCP/IP Services software, including the rejection message that TCP/IP might return. (For remote login, remote shell, and remote executive, the rejection message is preceded by a byte with a value of 1 and terminated by a byte with a value of zero.) Do not specify the same hosts or networks for both /ACCEPT and /REJECT. To delete a /REJECT entry, specify it again using the NOHOSTS or NONETWORKS option. Specify one of the following: o [NO]HOSTS=hosts to list hosts that cannot access TCP/IP Services. Maximum is 32. The syntax is: /REJECT=HOSTS=(host1_name,host2_name,host3_address) o [NO]NETWORKS=networks to list networks that cannot access TCP/IP Services Maximum is 16. The syntax is: NETWORKS=(net1[:net1mask],net2[:net2mask],... ) For each network, specify network:network_mask. The network mask is optional. Default: Class number of your network. For example, the default for 11.200.0.0. is 255.0.0.0. The syntax is: /REJECT=NETWORKS=(net1_name,net2_address,net3_addr:net3_mask)
3 – Examples
1.TCPIP> SET COMMUNICATION - _TCPIP> /REJECT=NETWORK=(16.30.0.0:255.255.0.0,16.40.0.0:255.255.0.0) Sets all the services to be inaccessible to the two specified networks.