netmgr_gelan.1m (2010 09)
nwmgr_gelan(1M) nwmgr_gelan(1M)
nwmgr -A speed,mtu -c lan1
Display all attributes of the gelan 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
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.
COMPARISON WITH LANADMIN COMMAND
Commands to Display Generic NIC Attributes
lanadmin nwmgr
lanadmin -m PPA nwmgr [-g] -A mtu -c lanPPA
lanadmin -a PPA nwmgr [-g] -A mac -c lanPPA
landamin -s PPA nwmgr [-g] -A speed -c lanPPA
lanadmin -m -a -s PPA nwmgr [-g] -A mtu,mac,speed -c lanPPA
nwmgr [-g] -A all -c lanPPA
Commands to Get NIC Statistics
lanadmin nwmgr
lanadmin -g PPA nwmgr -g --st mib -c lanPPA
lanadmin -x stats drv PPA nwmgr -g --st subsys -c lanPPA
nwmgr -g -st mib,subsys -c lanPPA
lanadmin -g mibstats_ext PPA nwmgr -g --st extmib -c lanPPA
HP-UX 11i Version 3: September 2010 − 7 − Hewlett-Packard Company 7