Use this command to do the following:
- Define the Internet Protocol (IP) router devices that will connect to the
TPF system
- Define the local IP addresses for the TPF system.
Requirements and Restrictions
- You can enter this command only in 1052 state or higher.
- You can enter this command only from the basic subsystem (BSS).
Format
- IP-ipaddr
- defines a local IP address to the TPF system or assigns the local IP
address to the specified IP router, where ipaddr is the numeric local
IP address.
- REstrict
- specifies the level of access, where:
- YES
- indicates that only certain IP routers can access the local IP
address.
- NO
- indicates that all IP routers can access the local IP address.
- DEFAULT
- defines the default local IP address.
- MPS-size
- defines the maximum packet size (MPS) value for Transmission Control
Protocol (TCP) sockets, where size is the maximum packet size.
- SDA-sda
- defines an IP router to the TPF system, where sda is the symbolic
device address of the IP router.
Additional Information
- Online help information is available for this command. To display
the help information, enter one of the following:
ZTTCP HELP
ZTTCP ?
- You must define a local IP address before you can use the SDA parameter to
assign that IP address to IP routers.
Examples
The following example defines a local IP address.
+--------------------------------------------------------------------------------+
|User: ZTTCP DEFINE IP-9.117.249.53 |
| |
|System: TTCP0001I 09.15.16 LOCAL IP ADDRESS 9.117.249.53 DEFINED |
+--------------------------------------------------------------------------------+
The following example defines an IP router.
+--------------------------------------------------------------------------------+
|User: ZTTCP DEFINE SDA-943 IP-9.117.249.53 |
| |
|System: TTCP0002I 09.16.27 IP ROUTER SDA-0943 IP-9.117.249.53 DEFINED |
+--------------------------------------------------------------------------------+
Related Information
See TPF Transmission Control Protocol/Internet
Protocol for more information about TCP/IP native stack support.