netmgr_gelan.1m (2010 09)
nwmgr_gelan(1M) nwmgr_gelan(1M)
This feature allows a user to experiment with the current values and, when a desired configuration
is achieved, preserve it for posterity.
Set Current Attribute Values from Default
These commands sets the current values for attributes from the default values.
nwmgr -s -A {all | attr1
, attr2, ...} [--cu] --fr de[fault] -c lanPPA
nwmgr --set --attribute {all | attr1,
attr2, ...} [--current] --from de[fault]
--class_instance lan
PPA
Set current values of attributes from default values for an interface.
The current values of all attributes of an interface (if
all is specified) or the specified attributes (if
the names are listed) are set to be equal to their respective default values. This can be useful in rol-
ling all the changes made to an interface since the time the system booted.
Reset an Interface
These commands reset an interface.
nwmgr -r -c lanPPA
nwmgr --reset --class_instance lan
PPA
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.
While the reset is in progress, the data traffic through the interface is interrupted. So, the command
automatically performs a Critical Resource Analysis to see if the interface is data-critical; i.e., any
other resource depends for its functionality on the availability of the interface. If so, the reset is not
performed. The reset can be forced, even if the interface is data-critical, by using the
--force
option. It is possible for an interface to be system-critical: i.e., the health of the system depends on
the availability of the interface. In that case, the reset will not be performed even if the
--force
option is specified.
Reset Statistics for an Interface
The following commands resets the statistics for an interface.
nwmgr -r --st -c lanPPA
nwmgr --reset --stats --class_instance lan
PPA
The data traffic statistics for an interface are cleared to zero. This includes the byte count and
packet count for inbound and outbound traffic. Other aspects of the interface are left unmodified.
Diagnose Link Connectivity
This command is run to diagnose link connectivity.
nwmgr --diag [link] -A dest=mac_addr [--it number][-A pktsize=bytes]
[
-A timeout=seconds] -c lanPPA
nwmgr --diagnose [link] --attribute dest=mac_addr [--iterations number]
[--attribute pktsize=bytes][--attribute timeout=seconds]
--class_instance lanPPA
Link connectivity at the data link layer is checked by sending IEEE XID test frames to the specified
destination MAC address and counting the replies. The
--iterations option specifies how many
test frames to send; the default is 1.
The
pktsize attribute specifies the size of each test frame; the default is three bytes less than the
MTU size currently set.
The
timeout attribute specifies how many seconds to wait for the acknowledgement of each test
frame; the default is 5 seconds.
EXAMPLES
List all LAN interfaces in the system.
nwmgr -C lan
Display the speed and MTU of the gelan interface lan1.
6 Hewlett-Packard Company − 6 − HP-UX 11i Version 3: September 2010