nwmgr_iocxgbe.1m (2011 09)
n
nwmgr_iocxgbe(1M) nwmgr_iocxgbe(1M)
nwmgr --set [ --hp ] --attribute --saved --from cu
[rrent]
--class_instance lan
PPA
Save the current values of all attributes of an interface in the configuration file
/etc/rc.config.d/hpiocxgbeconf
.
This form stores the current value of each attribute of an interface in the configuration file, so that
the interface configuration is preserved across boots (and DLKM loads). 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/S310hpiocxgbe start
. This feature allows a user to experiment with the
current values and, when a desired configuration is achieved, preserve it for posterity.
Set Current Attributes Values From Default
These commands set the current values for attributes from the default values for an interface.
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
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
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
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
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 100 bytes.
The
timeout attribute specifies how many seconds to wait for the acknowledgement of each test
frame; the default is 5 seconds.
TRANSMIT AND RECEIVE INTERRUPT COALESCING
The 10 Gigabit Ethernet card provides an interrupt mitigation capability, by restricting how often inter-
rupts can occur. You can specify the minimum time between interrupts for transmit and receive comple-
tion. Small values tend to result in one interrupt per packet. Larger values result in more packets being
6 Hewlett-Packard Company − 6 − HP-UX 11i Version 3: September 2011