nwmgr_intl100.1m (2010 09)

n
nwmgr_intl100(1M) nwmgr_intl100(1M)
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 infor-
mation 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 inter-
face (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
subject 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 manu-
ally 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
statistics. The interface is then re-programmed with the attribute values that were current before
the reset. Promiscuous mode and multicast addresses are preserved across the reset.
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: September 2010