Use this command to do the following:
- Change the default local Internet Protocol (IP) address
- Change the local IP address associated with an IP router
- Change which IP routers are allowed to access a local IP address
- Change the maximum packet size (MPS) value for Transmission Control
Protocol (TCP) sockets by using a local IP address associated with an IP
router.
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
- DEFIP-defipaddr
- changes the default local IP address, where defipaddr is the
numeric local IP address.
- IP-ipaddr
- changes which IP routers are allowed to access a local IP address or
changes the local IP address assigned to a 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.
- MPS-size
- changes the MPS value for TCP sockets, where size is the maximum
packet size.
- SDA-sda
- changes the local IP address assigned to the specified IP router, 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 deactivate an IP router by entering the ZTTCP INACTIVATE command
before changing the local IP address of the IP router.
- The default IP address can be an IP address associated with IP routers or
an Open Systems Adapter (OSA)-Express connection.
Examples
The following example changes the access to a local IP address.
+--------------------------------------------------------------------------------+
|User: ZTTCP CHANGE IP-9.117.249.53 RESTRICT-YES |
| |
|System: TTCP0003I 09.22.17 LOCAL IP ADDRESS 9.117.249.53 CHANGED |
+--------------------------------------------------------------------------------+
The following example changes the local IP address assigned to an IP
router.
+--------------------------------------------------------------------------------+
|User: ZTTCP CHANGE SDA-943 IP-9.117.249.50 |
| |
|System: TTCP0004I 09.23.45 IP ROUTER SDA-0943 NOW USING IP-9.117.249.50 |
+--------------------------------------------------------------------------------+
Related Information
See TPF Transmission Control Protocol/Internet
Protocol for more information about TCP/IP native stack support and
OSA-Express support.