netmgr_igelan.1m (2010 09)
n
nwmgr_igelan(1M) nwmgr_igelan(1M)
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 size 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.
RETURN VALUES
0 The command returns 0 on success.
<>0 On failure, the command returns values described in the 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 igelan interface lan1:
nwmgr -A speed,mtu -c lan1
Display all attributes of the igelan 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
HP-UX 11i Version 3: September 2010 − 7 − Hewlett-Packard Company 7