Command reference / comm

ENDTCPIFC

End TCP/IP Interface

The End TCP/IP Interface (ENDTCPIFC) command ends a Transmission Control Protocol/Internet Protocol (TCP/IP) interface. When an interface is ended with this command, datagrams addressed to the IP addresses associated with this interface will no longer be accepted. However, the operation of any other TCP/IP interface that is using the same line description as the interface being ended is not affected. This command can be used to end an interface that was previously started by the Start TCP/IP Interface (STRTCPIFC) or Start TCP/IP (STRTCP) command. Notes on Route to Interface Binding Interfaces define direct routes to networks or subnetworks that this system is directly attached to. Routes define the indirect routes. An indirect route defines the next hop on the path to a network or subnetwork that this system is not directly attached to. Indirect routes are bound to interfaces using a best match first algorithm. This algorithm is based on the state of the interface and on the type of service (TOS) specified for the route and interface. When ending an interface, the routes associated with the interface can move to another existing active interface. This provides the widest available level of connectivity.

Allowed environments: *ALL. Positional parameters: 1.

Parameters

INTNETADR INTNETADR

Specifies the internet address of an interface that had previously been added to the TCP/IP configuration with the Add TCP/IP Interface (ADDTCPIFC) command and which had been previously started by the STRTCPIFC or STRTCP command. Note: Either the INTNETADR or the ALIASNAME parameter must be specified for the command, but not both of them.

Type
*CHAR
Required
No
Length
45
Case
Uppercase
*IP4DHCP
Specify that Dynamic Host Configuration Protocol should end for the associated line description. A line description name must be specified for the LIND parameter.
*IP6SAC
Specify that IPv6 stateless address auto-configuration should end for the associated line description. All auto-configured IPv6 interfaces will end. A line description name must be specified for the LIND parameter.
character-value
Specify the internet address associated with the interface to be ended. An IPv4 internet address is specified in the form nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255. An internet address is not valid if it has a value of all binary ones or all binary zeros for the network identifier (ID) portion or the host ID portion of the address. An IPv6 internet address is specified in the form x:x:x:x:x:x:x:x, where x is a hexadecimal number ranging from 0 through X'FFFF'. "::" may be used once in the IPv6 address to indicate one or more groups of 16 bits of zeros. The "::" may be used to compress leading, imbedded, or trailing zeros in the address. An IPv6 internet address must be a unicast address and must not contain an imbedded IPv4 address (compatibility or mapped). If the IPv6 address is a link-local unicast address, a line description name must be specified for the LIND parameter. If the internet address is entered from a command line, the address must be enclosed in apostrophes.

ALIASNAME Alias name

Specifies the name of the interface to be ended. The alias name specified may be for an IPv4 or IPv6 interface. Note: Either the INTNETADR or the ALIASNAME parameter must be specified for the command, but not both of them.

Type
*SNAME
Required
No
Length
25
Case
Uppercase
simple-name
Specify the name of the interface to be ended.

Examples

ENDTCPIFC INTNETADR('9.5.11.125')

Ending an Ethernet Interface. This command causes the TCP/IP protocol stack to deactivate (end) the interface associated with the internet address 9.5.11.125.

ENDTCPIFC ALIASNAME(TEST_NETWORK)

Ending a Ethernet Interface using an Alias Name. This command causes the TCP/IP protocol stack to deactivate (end) the interface associated with the alias name TEST_NETWORK.

ENDTCPIFC INTNETADR('1234:5678:9ABC:DEF0:1111:2222:3333:4444')

Ending an Ethernet IPv6 Interface. This command causes the TCP/IP protocol stack to end the IPv6 interface associated with address 1234:5678:9ABC:DEF0:1111:2222:3333:4444.

ENDTCPIFC INTNETADR('FE80::1234') LIND(ETHLINE)

Ending an Ethernet IPv6 Link-Local Interface. This command causes the TCP/IP protocol stack to end the IPv6 link-local interface associated with address FE80::1234 and line description ETHLINE.

ENDTCPIFC INTNETADR(*IP6SAC) LIND(ETHLINE2 23)

Ending IPv6 Stateless Address Auto-Configuration On an Ethernet Line with a virtual LAN. This command causes the TCP/IP protocol stack to end IPv6 stateless address auto-configuration for line ETHLINE2 on virtual LAN 23.

IBM command documentation

Generated from os/cl/catalog/ENDTCPIFC.json and os/cl/help/ENDTCPIFC.json.