HP-UX Reference (11i v1 05/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.
-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.
-p 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 attached it prints nothing.
-V vlan_command Executes VLAN specific command. See vlan(7) for complete syntax and usage of
-V
option. The supported VLAN commands are:
create Create a VLAN.
modify Modify 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.
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:
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.
Section 1M416 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005