rmtcpip Command
Puropse
Removes the Virtual I/O Server TCP/IP configuration.
Syntax
rmtcpip [-f] [-nextboot] {-all |
[-hostname]
[-routing] [-interface ifnameList]}
rmtcpip [-f] {-all |
[-namesrv] [-hostname] [-routing] [-interface ifnameList]}
Description
The rmtcpip command removes Virtual I/O Server TCP/IP
settings, such as name server information, network interface configuration,
routing information, and host name.
Flags
| -all |
Removes all TCP/IP settings, effectively resetting it
to a newly installed system. |
| -f |
Executes the command with out prompting for user confirmation. |
| -interface |
Removes TCP/IP configuration from listed interfaces. |
| -hostname |
Resets the hostname to ioserver. |
| -namesrv |
Removes DNS information and clears the hosts file. |
| -nextboot |
Removes the specified information from the configuration
files, leaving the current network parameters intact (all except DNS information
and hosts file). |
| -routing |
Removes static routing tables. |
Examples
- To remove all Virtual I/O Server TCP/IP configuration, type:
rmtcpip -all
Answer yes when prompted
- To unconfigure a network interface en0 without confirmation, type:
rmtcpip -f -interface en0
- To cleanup the static routing table, type:
rmtcpip -f -routing
- To remove IP information from a network interface on the next boot, keeping
the current configuration running execute:
rmtcpip -f -interface en0 -nextboot