HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
n
nwmgr_btlan(1M) nwmgr_btlan(1M)
EXAMPLES
List all LAN interfaces in the system.
nwmgr -C lan
Display the speed and MTU of the btlan
interface lan1.
nwmgr -A speed,mtu -c lan1
Display all attributes of the btlan interface lan1
.
nwmgr -A all -c lan1
Set MTU to 1400 and speed to auto-negotiation
on lan1
.
nwmgr -s -A mtu=1400,speed=auto_on -c lan1
Restore MTU and the MAC address to their defaults on
lan1.
nwmgr --set -A mtu,mac --from de -c lan1
COMPARISON WITH LANADMIN COMMAND
Commands To Display Generic NIC Attributes
lanadmin nwmgr
lanadmin -m PPA nwmgr [-g] -A mtu -c lan PPA
lanadmin -a PPA nwmgr [-g] -A mac -c lan PPA
landamin -s PPA nwmgr [-g] -A speed -c lan PPA
lanadmin -m -a -s PPA nwmgr [-g] -A mtu,mac,speed -c lan PPA
nwmgr [-g] -A all -c lan PPA
Commands To Get NIC Statistics
lanadmin nwmgr
lanadmin -g PPA nwmgr -g --st mib -c lan PPA
lanadmin -x stats drv PPA nwmgr -g --st subsys -c lan PPA
nwmgr -g -st mib,subsys -c lan PPA
lanadmin -g mibstats_ext PPA nwmgr -g --st extmib -c lan PPA
Commands To Set Generic NIC Attributes
lanadmin nwmgr
lanadmin -M mtu_size PPA nwmgr -s -A mtu=mtu_size
-c lanPPA
lanadmin -A MAC_Add PPA nwmgr -s -A mac=MAC_Address
-c lan PPA
lanadmin -S speed PPA N/A. NOTE: Speed can be specified
as a combination of speed and
duplexity only. For example:
For example 1000FD, 100HD etc
landmin -X speed_value PPA nwmgr -s -A speed=speed_value
-c lan PPA
HP-UX 11i Version 3: February 2007 − 6 − Hewlett-Packard Company 95