Command reference / comm

RMVTCPIFC

Remove TCP/IP Interface

The Remove TCP/IP Interface (RMVTCPIFC) command removes a Transmission Control Protocol/Internet Protocol (TCP/IP) interface. The interface cannot be active when you submit this command -- it must be ended using the End TCP/IP Interface (ENDTCPIFC) or End TCP/IP (ENDTCP) commands. An interface that is required for an existing route cannot be removed. This command can be used to remove an interface that has been added with the Add TCP/IP Interface (ADDTCPIFC) command.

Allowed environments: *ALL. Positional parameters: 1.

Restrictions

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. 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 shoud be removed 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 be removed for the associated line description. A line description name must be specified for the LIND parameter.
character-value
Specify the internet address associated with the interface to be removed. 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 removed. 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 removed.

Examples

RMVTCPIFC INTNETADR('9.5.11.125')

Removing a Ethernet Interface. This command removes the interface associated with the internet address 9.5.11.125.

RMVTCPIFC ALIASNAME(TEST_NETWORK)

Removing a Ethernet Interface using the Alias Name. This command removes the interface associated with the alias name TEST_NETWORK.

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

Removing an Ethernet IPv6 Interface. This command removes the IPv6 interface associated with address 1234:5678:9ABC:DEF0:1111:2222:3333:4444.

RMVTCPIFC INTNETADR('FE80::1234') LIND(ETHLINE 45)

Removing an Ethernet IPv6 Link-Local Interface. This command removes the IPv6 link-local interface associated with address FE80::1234, line description ETHLINE, and virtual LAN 45.

RMVTCPIFC INTNETADR(*IP6SAC) LIND(ETHLINE2)

Removing IPv6 Stateless Address Auto-Configuration On an Ethernet Line. This command removes IPv6 stateless address auto-configuration for line ETHLINE2.

IBM command documentation

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