nwmgr_iqxgbe.1m (2012 03)

n
nwmgr_iqxgbe(1M) nwmgr_iqxgbe(1M)
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 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.
RETURN VALUES
0 The command returns 0 on success.
<>0 On failure, the command returns values described in the ERRORS section below. ERRORS section
below.
ERRORS
[EACCES] Attempt to set a read-only attribute.
[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.
[EINVAL] One or more of the attributes or options is invalid for the task.
[ENOMEM] Memory allocation failed. This could be a transient condition.
[ENOTSUP] Operation or feature is not supported.
[ENXIO] The target interface could not be accessed.
[EPERM] The user lacks the authorization
hpux.network.config, which is required for this
operation.
[ERANGE] The specified values of one or more attributes was less than the minimum or more than
the maximum.
EXAMPLES
List all LAN interfaces in the system:
nwmgr -C lan
Display the speed and MTU of the iqxgbe interface lan1:
nwmgr -A speed,mtu -c lan1
Display all attributes of the iqxgbe interface lan1:
nwmgr -A all -c lan1
Set MTU to 9000 and enable transmit CKO on lan1
nwmgr -s -A mtu=9000,tx_cko=on -c lan1
Restore MTU and transmit CKO to their defaults on lan1:
nwmgr --set -A mtu,tx_cko --from de -c lan1
6 Hewlett-Packard Company 6 HP-UX 11i Version 3: March 2012