HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
n
nwmgr_intl100(1M) nwmgr_intl100(1M)
nwmgr [--get] --stats [all
| extmib | mib] --class_instance
lan_instance
The arguments
all, extmib, and mib
are the only valid arguments for --stats for intl100
drivers. all is the default if no argument is provided with
--stats. It displays the same informa-
tion as
extmib which displays extended MIB statistics.
mib displays a subset of MIB statistics of
the interface.
View Interface Attributes
The following command can be used to display the current value of either all the attributes of the interface
(when the
all keyword is specified) or the specified attributes (when they are listed by name).
nwmgr [-g] -A {all | attr1
, attr2, ...} -c lan_instance
nwmgr [--get] --attribute {all | attr1
, attr2, ...} --class_instance
lan_instance
Each attribute is listed on a separate line as a name-value pair.
View Interface Details
The following command can be used to get detail information about the interface.
nwmgr [-g] -q info -c lan_instance
nwmgr [--get] --qualifier info --class_instance
lan_instance
This form displays interface-specific properties that are informational, often not configurable and sub-
ject to variation across drivers. In the case of
intl100, the output is same as what is shown by:
nwmgr -g -v -c lan_instance
The -q option provides more information about the subsystem.
Set Attribute Values
The following command can be used to set values to the specified attributes.
nwmgr -s -A attr1=value1, attr2=value2, ... -c lan_instance
nwmgr --set --attribute attr1=value1, attr2=value2,...
--class_instance lan_instance
The attributes that can be set are:
mac, mtu, and speed.
Save Current Attribute Values
The following command can be used to save the current attribute values in the configuration file.
nwmgr -s -A all --sa --fr cu[rrent] -c lan_instance
nwmgr --set --attribute all --saved --from cu[rrent] --class_instance
lan_instance
This form ’freezes’ the current state of an interface; that is, it stores the current value of each attri-
bute of an interface in the configuration file (/etc/rc.config.d/hpintl100conf
) so that the
interface configuration is saved across boots. The user can also run the start-up script later manually
to apply the configuration file values to the running kernel, by typing:
/sbin/rc2.d/S326hpintl100 start
. This feature allows a user to experiment with the
current values, and save the desired configuration.
Set Attribute Values from Default Values
The following command can be used to set default values to all attributes (if
all is specified), or to selected
attributes (if the attribute names are listed).
nwmgr -s -A {all | attr1, attr2, ...} [--cu] --fr de[fault] -c lan_instance
nwmgr --set --attribute {all | attr1, attr2, ...} [--current] --from de[fault]
--class_instance lan_instance
This can be useful in rolling all the changes made to an interface since the time the system booted.
Reset an Interface
The following command can be used to reset an interface.
nwmgr -r -c lan_instance
nwmgr --reset --class_instance lan_instance
The interface is subjected to a PCI reset, which clears all previous state, including the interface statis-
tics. The interface is then re-programmed with the attribute values that were current before the
HP-UX 11i Version 3: February 2007 − 4 − Hewlett-Packard Company 101