HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)
l
lanadmin(1M) lanadmin(1M)
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.
-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.
-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, APA, and VLAN that are asso-
ciated with the card or the driver corresponding to PPA is also displayed.
-r Reset the local LAN interface card corresponding to PPA, causing it to execute its
self-test. Local access to the network is interrupted during execution of reset.
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.
-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.
-V vlan_command Executes VLAN-specific commands. See vlan(7) for complete syntax and usage of
-V option. The supported VLAN commands are:
create Create a VLAN.
modify Modify the properties of a VLAN.
delete Delete a VLAN.
scan Get information about all VLANs on a system.
info Get information about a particular VLAN on a system.
basevppa Get the minimum acceptable virtual PPA (VPPA) value.
-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/VPPA and information about VLANs on the system (see vlan(7)). For certain inter-
faces, if you have superuser privileges you can also modify the station 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:
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 1M−−371