CL Command Reference - STRTCPIFC
CL Command List > STRTCPIFC Reference
Description:
The Start TCP/IP Interface (STRTCPIFC) command starts a Transmission Control Protocol/Internet Protocol (TCP/IP) interface. The line associated with the interface is varied on, if required.
This command can be used to:
. Start interfaces that have been specified with the AUTOSTART(*NO) value on the Add TCP/IP Interface (ADDTCPIFC) and Change TCP/IP Interface (CHGTCPIFC) commands.
. Start an interface that was previously ended by the End TCP/IP Interface (ENDTCPIFC) command.
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 starting an interface, routes associated with an inactive interface can move to the interface started provided that interface can be used to reach the next hop gateway of the route for the requested TOS.
Attention: Before attempting to start an X.25 interface, ensure that the remote system information (RSI) for non-DDN X.25 interfaces that use a permanent virtual circuit (PVC) is configured. Use the Add TCP/IP Remote System Information (ADDTCPRSI) command to do this. Incoming data from a remote system on the X.25 network is not processed unless an RSI entry for the PVC is configured on the X.25 interface before the interface is started.
Examples:
Example 1: Starting an Interface
STRTCPIFC INTNETADR(กฏ9.5.11.125กฏ)
This command causes the TCP/IP protocol stack to activate the interface associated with the internet address 9.5.11.125.
Example 2: Starting another Interface
STRTCPIFC INTNETADR(กฏ156.93.81.7กฏ)
This command causes the TCP/IP protocol stack to activate the interface associated with the internet address 156.93.81.7.
Example 3: Starting AUTOSTART(*YES) Interfaces
STRTCPIFC INTNETADR(*AUTOSTART)
This command causes the TCP/IP protocol stack to activate all interfaces that have the AUTOSTART parameter set to *YES using the Add TCP/IP Interface (ADDTCPIFC) or Change TCP/IP Interface (CHGTCPIFC) commands.
Example 4: Starting an Interface with the Alias Name
STRTCPIFC ALIASNAME(TEST_NETWORK)
This command causes the TCP/IP protocol stack to activate the interface associated with the alias name TEST_NETWORK.