Reconfigures an instance of a network interface.
chgif [ -d ] -l InterfaceInstance -a "Attribute=Value ..."
The chgif method first modifies the database and then reconfigures the specified network interface instance (InterfaceInstance) by issuing a call to the ifconfig command. Only one interface can be changed per command invocation, and at least one attribute must be specified. This method is not normally used on the command line. Rather, it is called by high-level commands.
Note: The chgif method is a programming tool and should not be executed from the command line.
| Specifies pairs of attributes and values that configure the Interface instance. The AttributeValue pairs must be surrounded by quotes.
Valid attribute values are as follows:
When the level of security is defined as none or unclassified, no IP Option header is added to the IP header.
When more than one level of authority is specified, the values are separated by commas without embedded spaces.
|-d||Specifies that changes are made only in the configuration database. Changes take effect at the next system restart.|
|-l InterfaceInstance||Specifies the instance of the network interface to be reconfigured.|
The chdev command, ifconfig command.
The chginet method.
The odm_run_method subroutine.
TCP/IP Protocols, TCP/IP Addressing, TCP/IP Network Interfaces in AIX Version 4.3 System Management Guide: Communications and Networks.
Object Data Manager (ODM) Overview for Programmers in AIX General Programming Concepts: Writing and Debugging Programs.
Writing a Device Method in AIX Kernel Extensions and Device Support Programming Concepts.