HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

n
nwmgr_btlan(1M) nwmgr_btlan(1M)
Command To Reset Statistics of a NIC
lanadmin nwmgr
lanadmin -c PPA nwmgr -r -st -c lan PPA
Command To Reset MTU To the Default Value
lanadmin nwmgr
lanadmin -R PPA nwmgr -s -A mtu
-from default -c lan PPA
Command To Set To Default Configurations
lanadmin nwmgr
lanadmin -A DEFAULT PPA nwmgr -s -A mac
-from default -c lan PPA
NOTE: Similarly default configuration
can be set for the other attributes
like speed,mtu, mac etc.
Note: The nwmgr equivalent for displaying the usage information is not available.
Note: The lanadmin options that support apa and vlan are covered in the nwmgr_apa(1M) and
nwmgr_vlan(1M) manpages.
COMPARISON WITH LINKLOOP COMMAND
Command to Test the Link Level Connectivity
linkloop nwmgr
linkloop -i PPA nwmgr -diag -A dest=MAC_Address
MAC_Address -c lanPPA
linkloop -i PPA nwmgr --diag -A dest=linkaddr,
-n count -s size pktsize=size, timeout=timeout
-t timeout MAC_Address --it count -c lanPPA
linkloop -r rif N/A
Note: nwmgr does not allow multiple station addresses to be specified in the same command line.
COMPARISON WITH LANSCAN COMMAND
Command To List Interfaces and Their Attributes
lanscan nwmgr
lanscan nwmgr -g -v -c lan PPA
nwmgr -C lan
nwmgr -S gelan
Command To Display Interface Names Only
lanscan nwmgr
lanscan -i nwmgr -g -v -c lan PPA
nwmgr -C lan -sc | awk -F# ’/if_state/ {print $1}’
96 Hewlett-Packard Company 7 HP-UX 11i Version 3: February 2007