[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 4
rmtcpip Command
Purpose
Removes the TCP/IP configuration for a host machine.
Syntax
rmtcpip
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
Notes:
- 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.
Related Information
The hostent command, hostname command, hostid command, mktcpip command.
The /etc/resolv.conf file
format.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]