Before you can remove or replace a hot-plug adapter, you must unconfigure that adapter. This section provides the following procedures for unconfiguring communications adapters:
Unconfiguring a communications adapter involves the following tasks:
To perform these tasks, you must log in as root.
For additional information about unconfiguring communications adapters, see PCI Hot-Plug Management in the AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.
To unconfigure an Ethernet, Token-ring, FDDI, or ATM Adapter:
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:
Name | Adapter Type |
atm0, atm1, ... | ATM adapter |
ent0, ent1, ... | Ethernet adapter |
tok0, tok1, ... | Token Ring adapter |
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. For additional information, see Unconfiguring Communications Adapters in the AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.
ifconfig en0 detach
ifconfig et0 detach |
To remove the standard Ethernet interface
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 |
For an explanation of the association between these adapters and their interfaces, see Unconfiguring Communications adapters in the AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.
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 |
To unconfigure a WAN Adapter:
smit 331121b9_ls | To list 2-Port Multiprotocol WAN adapters |
smit riciophx_ls | To list ARTIC WAN adapters |
The following naming convention is used for the different type of adapters:
Name | Adapter Type |
dpmpa | 2-Port Multiprotocol Adapter |
riciop | ARTIC960 Adapter |
sx25a0 Available 00-05-01-00 X.25 Port x25s0 Available 00-05-01-00-00 V.3 X.25 Emulator
2-Port Multiprotocol adapter | |
smit rmhdlcdpmpdd | To unconfigure the device |
smit rmsdlcscied | To unconfigure the SDLC COMIO emulator |
For additional information, see 2-Port Multiprotocol Adapter HDLC Network Device Driver Overview in the AIX 5L Version 5.2 System Management Guide: Communications and Networks.
ARTIC960Hx PCI adapter | |
smit rmtsdd | To unconfigure the device driver |
smit rmtsdports | To remove an MPQP COMIO emulation port |
For additional information, see ARTIC960HX PCI Adapter Overview in the AIX 5L Version 5.2 System Management Guide: Communications and Networks.
This section includes procedures for unconfiguring adapters that require special handling.
The 4-Port 10/100 Base-TX Ethernet PCI adapter has four ethernet ports and each port must be unconfigured before you can remove the adapter.
ent1 Available 1N-00 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 1) ent2 Available 1N-08 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 2) ent3 Available 1N-10 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 3) ent4 Available 1N-18 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 4)
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
Ethernet adapters can have two interfaces, for example, et0 and en0. For additional information, see Unconfiguring Communications Adapters in the AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.
Classic IP and LAN emulation protocols can run over ATM adapters. LAN emulation protocol enables the implementation of emulated LANs over an ATM network. Emulated LANs can be Ethernet/IEEE 802.3, Token-ring/IEEE 802.5, and MPOA (MultiProtocol Over ATM). You must unconfigure each LAN-emulated device before you can remove the adapter.
For instructions for removing a classical interface, see Unconfiguring Ethernet, Token-ring, FDDI, and ATM Adapters. To remove a LAN interface, do the following:
. . atm0 Available 04-04 IBM PCI 155 Mbps ATM Adapter (14107c00) atm1 Available 04-06 IBM PCI 155 Mbps ATM Adapter (14104e00)
ent1 Available ATM LAN Emulation Client (Ethernet) ent2 Available ATM LAN Emulation Client (Ethernet) ent3 Available ATM LAN Emulation Client (Ethernet) tok1 Available ATM LAN Emulation Client (Token Ring) tok2 Available ATM LAN Emulation Client (Token Ring)
All ATM adapters can have multiple emulated clients running on them.
mpc0 Available ATM LAN Emulation MPOA Client
atm0 and atm1 are the physical ATM adapters. mpc0 is an MPOA-emulated client. ent1, ent2, ent3, tok1, and tok2 are LAN-emulated clients.
------------------------------------------------------------- ETHERNET STATISTICS (ent1) : Device Type: ATM LAN EmulationATM Hardware Address: 00:04:ac:ad:e0:ad . . . ATM LAN Emulation Specific Statistics: -------------------------------------- Emulated LAN Name: ETHelan3 Local ATM Device Name: atm0 Local LAN MAC Address: . .
If the following type of message displays when the rmdev command is to unconfigure an adapter, this indicates that the device is open, possibly because applications are still trying to access the adapter you are trying to remove or replace.
#rmdev -l ent0 Method error (/usr/lib/methods/ucfgent): 0514-062 Cannot perform the requested function because the specified device is busy.
To resolve the problem, you must identify any applications that are still using the adapter and close them. These applications can include the following:
Some SNA applications that may be using your adapter include:
Some of the streams-based applications that may be using your adapter include:
Applications that may be using your WAN adapter include:
All TCP/IP applications using the interface layer can be detached with the ifconfig command. This causes the applications using TCP/IP to time out and warn users that the interface is down. After you add or replace the adapter and run the ifconfig command to attach the interface, the applications resume.