[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5


stpinet Method

Purpose

Disables the inet instance.

Syntax

stpinet-l "Interface ...] [  -t Time ]

Description

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.

Flags


-l "Interface ..." Specifies the name of the interface to be disabled.
-t Time Specifies the time in minutes until the inet instance is stopped.

Examples

The following example disables the inet instance tr0 five minutes from the time the method is executed:

stpinet -l "tr0" -t 5

Related Information

The ifconfig command, rmdev command, wall command.

The odm_run_method subroutine.

Writing a Device Method in AIX 5L Version 5.1 Kernel Extensions and Device Support Programming Concepts.

Object Data Manager (ODM) Overview for Programmers in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

Understanding Network Interfaces in AIX 5L Version 5.1 System Management Guide: Communications and Networks.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]