HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)

l
lanadmin(1M) lanadmin(1M)
-p [card|driver]
Display the usage information for the interface corresponding to PPA.Displays
the upper level protocols and applications attached to the interface corresponding
to PPA. If none is attached, it prints nothing. If
card or driver keywords are
used, the information about the aggregated ports, that are associated with the
card or the driver corresponding to PPA is also displayed.
-R Reset the MTU size of the interface corresponding to PPA to the default for that
link type. You must have superuser privileges.
-s Display the current link speed setting of the interface corresponding to PPA.
-S speed Set the new link speed setting of the interface corresponding to PPA. You must
have superuser privileges.
-x options Get and display driver specific options of the interface corresponding to PPA.
-X options Set driver specific options of the interface corresponding to PPA. You must have
superuser privileges.
lanadmin recognizes the following Menu Mode options. They are ignored if they are given with an
Immediate Mode option.
-e Echo the input commands on the output device.
-t Suppress the display of the command menu before each command prompt. This is equivalent to the
Test Selection Mode terse command. The default is verbose.
Immediate Mode
In Immediate Mode, you can display the station address, source routing option, MTU size, link speed of
LAN interface PPA For certain interfaces, if you have superuser privileges you can also modify the sta-
tion address, source routing option, MTU size, and link speed. See "Options and Arguments" above.
Menu Mode
In Menu Mode, you can select an interface card, display statistics for the selected card, reset the card,
and clear the statistics registers.
Menu Mode accepts either complete command words or unique abbreviations, and no distinction is made
between uppercase and lowercase letters in commands. Multiple commands can be entered on one line if
they are separated by spaces, tabs, or commas.
Test Selection Mode Menu
This menu is entered when Menu Mode is first selected. The available Test Selection Mode commands
are:
lan Select the LAN Interface Test Mode menu.
menu Display the Test Selection Mode command menu.
quit Terminate the lanadmin program.
terse Suppress the display of command menus.
verbose Restore the display of command menus.
LAN Interface Test Mode Menu
The following commands are available:
clear Clear the LAN interface network statistics registers to zero. You must have
superuser privileges.
display Display the RFC 1213 MIB II statistics. Depending on the link, the type-specific
MIB statistics may also be displayed. For instance, for Ethernet links, the RFC
1398 Ethernet-like statistics are displayed.
end Return lanadmin to Test Selection Mode.
menu Display the LAN Interface Test Mode command menu.
ppa Prompt for a PPA that corresponds to a LAN interface card. It defaults to the first
LAN interface encountered in an internal list. Appropriate values can be
displayed with the lanscan command (see lanscan (1M)).
HP-UX 11i Version 2: August 2003 2 Hewlett-Packard Company Section 1M365