nwmgr_iexgbe.1m (2011 09)
n
nwmgr_iexgbe(1M) nwmgr_iexgbe(1M)
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 lan
PPA
nwmgr --diagnose [link] --attribute dest=mac_addr [
--iterations number]
[
--attribute pktsize=bytes][--attribute timeout=
seconds]
--class_instance lan
PPA
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
processed per interrupt.
The timer value is expressed in microseconds and can be in the range {0 - 3000}. When the value is zero,
an interrupt will occur after the next transmit or receive completion.
The timer values can be set with the following commands:
nwmgr -s -A tx_timer=25 -c lan PPA
nwmgr -s -A rx_timer=50 -c lan PPA
RETURN VALUES
0 The command returns 0 on success.
<>0 On failure, the command returns values described in the ERRORS section below.
ERRORS
[ENOTSUP] Operation or feature is not supported.
[EINVAL] One or more of the attributes or options is invalid for the task.
[ERANGE] The specified values of one or more attributes was less than the minimum or more than
the maximum.
[EPERM] The user lacks the authorization
hpux.network.config
, which is required for this
operation.
[EACCES] Attempt to set a read-only attribute.
[ENXIO] The target interface could not be accessed.
[ENOMEM] Memory allocation failed. This could be a transient condition.
[EBUSY] The interface is presently inaccessible. This is usually because the interface is part of an
APA aggregate, which prevents setting attributes on the interface.
EXAMPLES
List all LAN interfaces in the system:
nwmgr -C lan
6 Hewlett-Packard Company − 6 − HP-UX 11i Version 3: September 2011