Disables the inet instance.
stpinet [ -l "Interface ..." ] [ -t Time ]
If stpinet is started with a list of network interfaces specified with the -l option, then this method only stops those IFs. Otherwise, stpinet informs users of the impending demise of TCP/IP, using the wall command, and invokes the ifconfig command to mark each configured IF as down. If no network interfaces are specified, the status flag of the inet instance is set to DEFINED.
-l "Interface ..." | Specifies the name of the interface to be disabled. |
-t Time | Specifies the time in minutes until the inet instance is stopped. |
The following example disables the inet instance tr0 five minutes from the time the method is executed:
stpinet -l "tr0" -t 5
The ifconfig command, rmdev command, wall command.
The odm_run_method subroutine.
Writing a Device Method in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.
Object Data Manager (ODM) Overview for Programmers in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
Understanding Network Interfaces in AIX 5L Version 5.2 System Management Guide: Communications and Networks.