Unconfiguring Ethernet, Token-ring, FDDI, and ATM adapters

To unconfigure an Ethernet, Token-ring, FDDI, or ATM Adapter, perform the following steps:

  1. Type lsslot -c pci to list all the hot-plug slots in the system unit and display their characteristics.
  2. Type the appropriate SMIT command, shown in the following examples, to list installed adapters and show the current state of all the devices in the system unit:
    Item Description
    smit lsdenet To list Ethernet adapters
    smit lsdtok To list token-ring adapters
    smit ls_atm To list ATM adapters

    The following naming convention is used for the different type of adapters:

    Item Description
    Name Adapter Type
    atm0, atm1, ... ATM adapter
    ent0, ent1, ... Ethernet adapter
    tok0, tok1, ... Token Ring adapter
  3. Close all applications that are using the adapter you are unconfiguring.
    To continue with this procedure, network dump locations must be disabled on the system. To look for and disable network dump locations, do the following:
    1. Type the following from a command line:
      smit dump
    2. Select Show Current Dump Devices.
    3. Check whether any configured dump device shows a network location.
      If not, exit SMIT and you are ready for step 4. To change a dump device to a local location, select Cancel or press F3 and continue with the following step.
    4. If the primary dump device shows a network location, change to a local location by selecting Change the Primary Dump Device and then enter the local location in the Primary dump device field.
    5. If the secondary dump device shows a network location, change to a local location by selecting Change the Secondary Dump Device and then enter the local location in the Secondary dump device field.
    6. When finished, click OK or press Enter.
  4. Type netstat -i to display a list of all configured interfaces and determine whether your adapter is configured for TCP/IP. Output similar to the following displays:
    Name  Mtu    Network   Address        Ipkts  Ierrs  Opkts Oerrs Coll
    lo0   16896  link#1                     076      0    118     0    0
    lo0   16896  127       127.0.0.1        076      0    118     0    0
    lo0   16896  ::1                        076      0    118     0    0
    tr0    1492  link#2    8.0.5a.b8.b.ec   151      0    405    11    0
    tr0    1492  19.13.97  19.13.97.106     151      0    405    11    0
    at0    9180  link#3    0.4.ac.ad.e0.ad    0      0      0     0    0
    at0    9180  6.6.6     6.6.6.5            0      0      0     0    0
    en0    1500  link#5    0.11.0.66.11.1   212      0      1     0    0
    en0    1500  8.8.8     8.8.8.106        212      0      1     0    0
    Token-ring adapters can have only one interface. Ethernet adapters can have two interfaces. ATM adapters can have multiple interfaces.
  5. Type the appropriate ifconfig command, shown in the following examples, to remove the interface from the network interface list.
    Item Description
    ifconfig en0 detach To remove the standard Ethernet interface
    ifconfig et0 detach To remove the IEEE 802.3 Ethernet interface
    ifconfig tr0 detach To remove a token-ring interface
    ifconfig at0 detach To remove an ATM interface
  6. Type the appropriate rmdev command, shown in the following examples, to unconfigure the adapter and keep its device definition in the Customized Devices Object Class:
    Item Description
    rmdev -l ent0 To unconfigure an Ethernet adapter
    rmdev -l tok1 To unconfigure a token-ring adapter
    rmdev -l atm1 To unconfigure an ATM adapter
    rmdev -p pci1 To unconfigure the children of a PCI bus and all other devices under them while retaining their device definitions in the Customized Devices object class.
    Note: To unconfigure the adapter and remove the device definition in the Customized Devices object class, you can use the rmdev command with the -d flag.
    Attention: Do not use the -d flag with the rmdev command for a hot-plug operation unless your intent is to remove the adapter and not replace it.