[  Previous | Next  |  Table of Contents  |  Index  | Library Home | 
Legal | 
Search ] 
 
Commands Reference, Volume 2
Defines a network interface in the
configuration database.
defif [  -c Class -s Subclass ] -t Type
The defif method
defines the specified instance of a network interface. It only defines
interfaces for currently configured adapters. To define the specified
instance, the defif method does the following:
- Creates a customized
interface instance in the configuration database.
 - Derives the logical name of
the interface instance.
 - Retrieves the predefined
attributes.
 - Updates the Customized
Dependency object class to reflect dependencies of the defined interface
instance.
 - Sets the status flag of the
interface instance to defined.
 
| -c Class
 | Specifies the interface class to be defined. The valid value is
if.
 | 
| -s Subclass
 | Specifies the subclass of interface to be defined. Valid values
are: 
- TR
 - Token-ring
 - EN
 - Ethernet
 - SL
 - Slip
 - XT
 - X.25
 - LO
 - Loopback
  
 | 
| -t Type
 | Specifies the type of interface to be defined. Valid values
are: 
- tr
 - Token-ring
 - en
 - Ethernet
 - sl
 - Slip
 - ie3
 - IEEE 802.3 Ethernet
 - lo
 - Loopback
 - xt
 - X.25
  
 | 
To define a token-ring network
interface instance, enter the method in the following format:
defif -t tr
The mkdev command.
The odm_run_method subroutine.
TCP/IP Network
Interfaces in AIX 5L Version 5.1 System Management
Guide: Communications and Networks.
Object Data
Manager (ODM) Overview for Programmers in General Programming
Concepts.
Writing a Device
Method in Kernel Extensions and Device Support Programming
Concepts.
  [  Previous | Next  |  Table of Contents  |  Index  |
 
Library Home | 
Legal | 
Search  ]