HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

l
lanadmin(1M) lanadmin(1M)
(TO BE OBSOLETED)
NAME
lanadmin - local area network administration program
SYNOPSIS
/usr/sbin/lanadmin
[-e][-t
]
/usr/sbin/lanadmin
[-a][-A
station_addr][-c][-g [get_options]] [-m]
[
-M mtu_size][-p]
[-r][-R][-s][-S speed][
-V vlan_options [parms]] [-x options]
[
-X options] PPA
Remarks
The lanadmin, lanscan, and linkloop commands are deprecated. See WARNINGS for more infor-
mation.
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 maximum transmission unit (MTU).
Display and change the speed setting.
Clear the network statistics registers to zero.
Display the interface statistics.
Display the interface usage information.
Reset the interface card, thus executing its self-test.
Configure VLANs on the cards that support VLAN.
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 of aAcgmMprRsSVxX
options is supplied, lanadmin exe-
cutes in Immediate Mode. Otherwise, it executes in Menu Mode.
Options
lanadmin recognizes the following Immediate Mode options. At least one aAcgmMprRsSVxX
option
and the PPA argument must be supplied.
-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 be a
privileged user. When station_addr is
DEFAULT, the factory default physical
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 sta-
tion address is set, the interface should be brought up in order to be functional. See
ifconfig(1M) for bringing down and bringing up the interface.
-c Clear the LAN interface network statistics registers to zero for the interface
corresponding to PPA. You must be a privileged user.
-g [get_options] Get and display settings corresponding to options specified by get_options of the
interface corresponding to PPA. get_options is optional and is case insensitive. The
allowed values are
mibstats and mibstats_ext .
mibstats Display the MIB-II statistics (RFC 1213) and interface specific
statistics.
mibstats_ext Display extended 64-bit MIB statistics (RFC 2863) and
interface-specific statistics.
-m Display the current MTU size of the interface corresponding to PPA.
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 421