[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 5

ucfgif Method

Purpose

Unloads an interface instance from the kernel.

Syntax

ucfgif -l InterfaceInstance ]

Description

The ucfgif method removes an interface instance from the kernel. To remove the interface instance, the ucfgif method does the following:

  1. Unloads the interface software by calling the /usr/sbin/ifconfig interface detach.
  2. Sets the status flag of the interface instance to defined.
    Note: The ucfgif method is a programming tool and should not be executed from the command line.

Flags

-l InterfaceInstance Specifies the interface instance to be unconfigured. If no interface name is specified, all configured interface instances are unconfigured.

Example

To remove an interface instance from the kernel, enter the method in the following format:

ucfgif -l tr0 

In this example, the name of the interface instance is tr0.

Related Information

The ifconfig command.

The odm_run_method subroutine.

TCP/IP Network Interfaces in AIX Version 4.3 System Management Guide: Communications and Networks.

Writing a Device Method in Kernel Extensions and Device Support Programming Concepts.

Object Data Manager (ODM) Overview for Programmers in General Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]