subscribe iconSubscribe to this information

rmtcpip command

Purpose

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

  1. To remove all Virtual I/O Server TCP/IP configuration, type:
    rmtcpip -all
    Answer yes when prompted
  2. To unconfigure a network interface en0 without confirmation, type:
    rmtcpip -f -interface en0
  3. To cleanup the static routing table, type:
    rmtcpip -f -routing
  4. To remove IP information from a network interface on the next boot, keeping the current configuration running execute:
    rmtcpip -f -interface en0 -nextboot

Send feedback | Rate this page

Last updated: Fri, Oct 30, 2009