Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Rename TCP/IP Host Table Entry (RNMTCPHTE) command is used to rename an internet address in the local host table to another internet address. This has the effect of associating the host names for the old internet address with the new internet address. Host names and the text description field are not altered with the RNMTCPHTE command.
The local host table is defined to allow 1 internet address, 4 host names and 1 text description field per entry.
See also the following host table commands:
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
INTNETADR | Internet address | Character value | Required, Positional 1 |
NEWINTNETA | New internet address | Character value | Required, Positional 2 |
Top |
Specifies the internet address associated with the host name that you want to rename. The 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. If the internet address is entered from a command line, the address must be enclosed in apostrophes.
Top |
Specifies the new internet address that renames the existing internet address in the local host table. The 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. If the internet address is entered from a command line, the address must be enclosed in apostrophes.
Top |
RNMTCPHTE INTNETADR('132.28.71.5') NEWINTNETA('142.48.81.6')
This command replaces the host table entry internet address of 132.28.71.5 with the internet address of 142.48.81.6. All host names and the text description field associated with the entry remain the same.
Top |
*ESCAPE Messages
Top |