HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
l
lanadmin(1M) lanadmin(1M)
NAME
lanadmin - local area network administration program
SYNOPSIS
/usr/sbin/lanadmin [-e][-t]
/usr/sbin/lanadmin [-a][-A station_addr][-b][-B on|off ] [-m][-M mtu_size][-R][-s]
[-S speed][-x options][-X options] PPA
DESCRIPTION
The lanadmin program administers and tests the Local Area Network (LAN). For each interface card, it
allows you to:
Display and change the station address.
Display and change the 802.5 Source Routing options (RIF).
Display and change the maximum transmission unit (MTU).
Display and change the speed setting.
Clear the network statistics registers to zero.
Display the interface statistics.
Reset the interface card, thus executing its self-test.
For operations other than display, you must have superuser privileges.
lanadmin reads commands from standard input, writes prompts and error messages to standard error,
and writes status information to standard output. When the program is run from a terminal, the interrupt
key (usually ˆC) interrupts a currently executing command; the eof key (usually ˆD) terminates the pro-
gram.
lanadmin operates in two modes: Menu Mode (see the first SYNOPSIS line) and Immediate Mode (see
the second SYNOPSIS line). If at least one -aAbBmMRsS option is supplied, lanadmin executes in
Immediate Mode. Otherwise, it executes in Menu Mode.
NOTE: lanadmin replaces the now obsolete landiag command beginning at 10.0.
Options and Arguments
lanadmin recognizes the following Immediate Mode options and arguments. At least one -aAbBmMRsS
option and the PPA argument must be supplied.
PPA The Physical Point of Attachment (PPA) number of the LAN interface. This
argument is ignored if none of the -aAbBmMRsS options are used (Menu Mode).
Any options specified after PPA are ignored. Appropriate values can be
displayed with the lanscan command (see lanscan(1M)).
-a Display the current station address of the interface corresponding to PPA.
-A station_addr Set the new station address of the interface corresponding to PPA. The
station_addr must be entered in hex format with a ’0x prefix. You must have
superuser privileges. When station_addr is DEFAULT, the factory default physi-
cal address will be restored.
WARNING: To ensure the interface and the system work correctly, the interface
MUST be brought down before setting the new station address. After the new
station address is set, the interface should be brought up in order to be func-
tional. See ifconfig(1M) for bringing down and bringing up the interface.
-b Display the current 802.5 source routing option for the interface corresponding
to PPA.
-B on|off Turn the 802.5 source routing option ‘‘on’’ or ‘‘off’’ for the interface corresponding
to PPA. The default value for HP devices is ‘‘on’’. You must have superuser
privileges.
-m Display the current MTU size of the interface corresponding to PPA.
-M mtu_size Set the new MTU size of the interface corresponding to PPA. The mtu_size value
must be within the link specific range. You must have superuser privileges.
-R Reset the MTU size of the interface corresponding to PPA to the default for that
link type. You must have superuser privileges.
Section 1M400 1 HP-UX Release 11i: December 2000
___
___