Purpose
Removes the TCP/IP configuration
for a host machine.
Description
The rmtcpip command
removes TCP/IP configuration on a host machine. The basic functions
of this command is:
- Removes the network interface configurations
- Restores /etc/rc.tcpip to the initial installed state
- Restores /etc/hosts to the initial installed state
- Removes the /etc/resolv.conf file
- Removes the default and static routes
- Sets the hostname to localhost
- Sets the hostid to 127.0.0.1
- Resets configuration database to the initial installed state
Note: - Any daemon which is commented out by default in /etc/rc.tcpip,
but running at the time this command is issued, is stopped.
- Your version of the /etc/hosts file is saved as /etc/hosts.save prior
to the /etc/hosts file being restored to the originally installed
state.
- Your version of the /etc/resolv.conf file is saved as /etc/resolv.conf.save prior
to the removal of the /etc/resolv.conf file.
Security
This command can only be run by
root.