HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

n
nwmgr(1M) nwmgr(1M)
NAME
nwmgr - network interface management command for LAN and RDMA interfaces
SYNOPSIS
/usr/sbin/nwmgr
[-h|--help|-?
][operation][target][operation-qualifiers]
[target-qualifiers]
DESCRIPTION
The
nwmgr program is the unified command to administer all HP-UX LAN and RDMA interfaces.
This manpage describes command features that can be supported by
nwmgr. However, each network
interface driver (commonly referred to as a subsystem) might support a subset of these features. You can
obtain information about features supported by a specific subsytem from the subsystem’s individual man-
page, named nwmgr_<subsystem>(1M).
To see the list of subsystems supported by
nwmgr on the system, enter:
nwmgr -h -S all
You can use the nwmgr command on LAN or RDMA interfaces to:
Display information of an interface
Modify settings of an interface
Reset the interface or its statistics
Diagnose link connectivity
Create and set configuration information for a component simultaneously
Delete or erase components
All the operations other than display require the hpux.network.config
authorization. For more
information about authorizations and Role-Based Access Control, see rbac(5).
The
nwmgr output for every operation is either in human-readable form (the default output form) or in a
script-friendly parsable form (with the
--sc or --script option). The format for human-readable and
script-friendly output is described in the USAGE section below. Any change in the scriptable output across
releases will contain only additions, never modifications or deletions, to ensure backward compatibility.
The human-readable format can change across releases, including modifications and deletions.
The command usage is explained in greater detail below. The output format that is described is the
human-readable one; references to the scriptable output are made as necessary.
Obsolescence Warning
The
lanadmin, lanscan, and linkloop commands are deprecated. These commands will be removed
in a future HP-UX release. HP recommends the use of replacement command nwmgr(1M) to perform all
network interface-related tasks.
Structure of nwmgr Command Line
A nwmgr command line may contain the following options:
operation
target
target qualifier
operation qualifier
It is possible to specify multiple targets, target-qualifiers and operation-qualifiers in the same command
line. In addition, you can also specify multiple arguments for these command options (when applicable) on
a single command line. The target, target-qualifier, and operation-qualifier can appear in any order, but
must follow the operation.
Operation
An operation is a key part of the command line. An operation is a way to specify how a subsystem has to be
managed. The operation, if specified, must always be the first argument in the command line. The --get
operation (to get/display interface information) is the default, when no operation option is specified.
The following operations are available:
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 85