Command reference / comm
CHGTCPIFC
Change TCP/IP Interface
Updates an existing logical TCP/IP interface configuration.
Allowed environments: *ALL.
Positional parameters: 1.
Parameters
INTNETADR
INTNETADR
Sets the IPv4 or IPv6 internet address. Note: If an internet address is not provided with the command, the alias name must be provided and it will be used as the key value for the command.
*IP4DHCP- Enter that Dynamic Host Configuration Protocol is being changed. The LIND parameter must also be specified in order to identify the interface being changed.
*IP6SAC- Enter that IPv6 stateless address auto-configuration is being changed. The LIND parameter must also be specified in order to identify the interface being changed.
character-value- Enter a particular internet address. An IPv4 internet address is specified in the form nnn.nnn.nnn.nnn , where nnn is a decimal number ranging from 0 through 255.
SUBNETMASK
SUBNETMASK
Sets the subnet mask, which is a bit mask that defines the part of the network where this IPv4 interface attaches. The mask is a 32-bit combination that is logically ANDed with the IPv4 internet address to determine a particular subnetwork. The bits of the mask set to the value one (1) determine the network and subnetwork portions of the address.
Suggested / special values:
*SAME
*SAME- Keep the current setting.
*HOST- The subnet mask value used will be 255.255.255.255. Specify this value for use with Proxy ARP (Address Resolution Protocol).
character-value- Enter the mask for the network subnet field and host address field of the internet address that defines a subnetwork. The subnet mask is in the form nnn.nnn.nnn.nnn , where nnn is a decimal number ranging from 0 through 255.
AUTOSTART
AUTOSTART
Controls whether the interface is automatically started when the TCP/IP stack is activated by the Start TCP/IP (STRTCP) command.
Allowed values:
*YES, *NO, *SAME
*SAME- Keep the current setting.
*YES- The interface is automatically started when TCP/IP is started.
*NO- The interface is not started when TCP/IP is started. Note: The Start TCP/IP Interface (STRTCPIFC) command can be used to start an interface after TCP/IP has been started.
ADRPFXLEN
ADRPFXLEN
Sets the address prefix length in bits. The address prefix length specifies how much of the leftmost portion of an IPv6 address is the subnet prefix. This parameter applies only if INTNETADR is an IPv6 address.
Suggested / special values:
*SAME
*SAME- Keep the current setting.
1-128- Enter the address prefix length.
MTU
MTU
Sets the maximum size (in bytes) of IP datagrams that can be transmitted through this interface. A datagram is a basic unit of information passed over an internet network. For an IPv4 interface, the minimum MTU value is 576 bytes. For an IPv6 interface, the minimum MTU value is 1280 bytes.
Suggested / special values:
*SAME, *LIND
*SAME- Keep the current setting.
*LIND- The MTU is determined by the information specified in the line description. If *LIND is specified, the MTU is equal to the largest amount of data that can be transmitted on the line.
576-16388- Enter a value for the maximum transmission unit in bytes. The maximum MTU that can be specified for this interface depends on the type of physical connection to the network.
Ethernet 802.3- 8992.
Ethernet Version 2- 9000.
ALIASNAME
Alias name
Sets a name that can be used in place of the internet address. The name must be unique among all of the interfaces on the system. Note: If an internet address is not provided with the command, the alias name will be the key for the command.
*SAME- Keep the current setting.
*NONE- No alias name is associated with the TCP/IP interface being changed.
simple-name- Enter an alias for the interface. The alias name must be 25 characters or less.
TEXT
TEXT
Sets text that briefly describes the interface.
*SAME- Keep the current setting.
*BLANK- Leave the description blank.
character-value- Enter no more than 50 characters of text, enclosed in apostrophes.
Examples
CHGTCPIFC INTNETADR('130.14.3.5') AUTOSTART(*NO)
Assuming that an interface identified by 130.14.3.5 exists, this command changes the autostart value from *YES to *NO. The interface is not automatically started when the STRTCP command is entered.
CHGTCPIFC INTNETADR('8.77.0.21') IDLVCTTIMO(45) MAXSVC(15)
Changes the idle virtual circuit time-out to 45 seconds and the maximum number of concurrent SVCs allowed to be used by TCP/IP on this interface to 15.
CHGTCPIFC INTNETADR('199.1.1.99') LCLIFC('199.1.1.1')
Will change the TCP/IP interface for the twinax line named TDLCLINE. This interface will be associated with local interface 199.1.1.1.
CHGTCPIFC INTNETADR('132.15.7.32') ALIASNAME(TEST_NETWORK)
Changes the alias name for this interface to TEST_NETWORK.
CHGTCPIFC ALIASNAME(TEST_NETWORK) AUTOSTART(*YES)
Changes the auto start value for the interface named TEST_NETWORK.
CHGTCPIFC INTNETADR('192.168.2.1') PREFIFC('192.168.2.2' '192.168.2.3')
Changes virtual IPv4 interface 192.168.2.1 to have two interfaces as preferred IPv4 interfaces. Interface 192.168.2.2 is preferred over 192.168.2.3.
CHGTCPIFC INTNETADR('1234::5678') PREFLIND(ETHLINE3 ETHLINE1 ETHLINE2)
Changes virtual IPv6 interface 1234::5678 to have three line descriptions to be used for VIPA proxy Neighbor Discovery agent selection.
CHGTCPIFC INTNETADR('FE80::5678') LIND(ETHLINE1 34) TEXT('New text description')
Changes the text description for IPv6 interface FE80::5678 associated with line description ETHLINE1 and virtual LAN 34.
Generated from os/cl/catalog/CHGTCPIFC.json and os/cl/help/CHGTCPIFC.json.