netmgr_gelan.1m (2010 09)
nwmgr_gelan(1M) nwmgr_gelan(1M)
View Interface Statistics
The following command displays interface statistics.
nwmgr [-g] --st [mib
| extmib | subsys | all] -c lanPPA
nwmgr [--get] --stats [mib |
extmib | subsys | all]
--class_instance lan
PPA
If the
--stats option has no argument, or the single argument
mib, the MIB statistics of the
interface are displayed. The argument
extmib displays the extended MIB statistics, and overrides
the mib argument, if present. The subsys argument displays subsystem-specific statistics, which
can vary from one driver to another. It is possible to give more than one argument to the
--stats
option, as a comma-separated list. For example,
mib,subsys displays both the specified sets of
statistics.
The argument
all displays both extended MIB statistics and subsystem-specific statistics, i.e., it is
equivalent to extmib,subsys
.
View Interface Attributes
nwmgr [-g] -A {all | attr1
, attr2, ...} -c lanPPA
nwmgr [--get] --attribute {all
| attr1, attr2, ...} --class_instance lan
PPA
Displays 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). Each attribute is listed on a
separate line as a name-value pair. by name). Each attribute is listed on a separate line as a
name-value pair.
View Interface Details
These commands display interface details.
nwmgr [-g] -q info -c lanPPA
nwmgr [--get] --qualifier info --class_instance lan
PPA
This form displays interface-specific properties that are informational, often not configurable and
subject to variation across drivers. It first displays the verbose listing for the interface (same as
what is shown by
nwmgr -g -v -c lan instance). It then displays PCI-related properties such
as the PCI Device ID. It also displays the current driver state for the specified interface.
View Interface’s Vital Product Data
These commands display the interface’s vital product data.
nwmgr [-g] -q vpd -c lanPPA
nwmgr [--get] --qualifier vpd --class_instance lan
PPA
The Vital Product Data is a standardized set of read-only properties for an interface, including
Manufactured Data for the NIC, and the firmware versions.
Set Current Values of Attributes
These commands can be used to set current values of attributes with user specified values.
nwmgr -s -A attr1=value1, attr2=value2,... -c lanPPA
nwmgr --set --attribute attr1=value1, attr2=value2,... --class_instance lanPPA
Set the current values of specified attributes to their stated values.
Save Attribute Values as Default Values for an Interface
These commands can be used to set current attribute values from default values.
nwmgr -s -A all --sa --fr cu[rrent] -c lanPPA
nwmgr --set --attribute all --saved --from cu[rrent]
--class_instance lanPPA
Set saved values of all attributes from current values for an interface.
This form ’freezes’ the current state of an interface; i.e., it stores the current value of each attribute
of an interface in the configuration file, so that the interface configuration is preserved across boots.
The user can also run the start-up script later by hand to apply the configuration file values to the
running kernel, by typing:
/sbin/rc2.d/S308hpgelan start.
HP-UX 11i Version 3: September 2010 − 5 − Hewlett-Packard Company 5