HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)
l
lanscan(1M) lanscan(1M)
NAME
lanscan - display LAN device configuration and status
SYNOPSIS
lanscan [-ailmnpqv]
DESCRIPTION
lanscan displays the following information about each LAN device that has software support on the sys-
tem:
• Hardware Path.
• Active Station Address (also known as Physical Address).
• Card Instance Number
• Hardware State.
• Network Interface ‘‘NamePPA’’. The Network Interface ‘‘Name’’ and the ‘‘PPA’’ (Physical Point
of Attachment) number are concatenated together. A single hardware device may have multiple
‘‘NamePPA’’ identifiers, which indicates multiple encapsulation methods may be supported on
the device. For Ethernet/IEEE 802.3 links, the ‘‘Name’’
lan is used to designate Ethernet
encapsulation, and
snap
for IEEE 802.3 encapsulation. For other links (FDDI, Token Ring),
only the
lan encapsulation designation is used.
• Network Management ID.
• MAC Type.
• HP DLPI Supported. Indicates whether or not the lan device driver will work with HP’s Com-
mon Data Link Provider Interface.
• DLPI Major Number.
• Extended Station Address for those interfaces which require more than 48 bits. This is displayed
only when the
-v option is selected.
• Encapsulation Methods that the Network Interface supports. This is displayed only when the
-v option is selected.
Options
lanscan recognizes the following command-line options:
-a Display station addresses only. No headings.
-i Display interface names only. No headings.
-l Display information about PPAs that are acquired by APA. No headings.
-m Display MAC types only. No headings.
-n Display Network Managements IDs only. No headings.
-p Display PPA numbers only. No headings.
-q Same as -p, except link aggregate PPA’s will be followed by a list of LAN interface PPA’s
that are configured in the corresponding link aggregate. No headings.
-v Verbose output. Two lines per interface. Includes displaying of extended station address
and supported encapsulation methods.
WARNINGS
lanscan does not display information about LAN devices that do not have software support such as
LAN interface cards that fail to bind properly at boot-up time.
AUTHOR
lanscan was developed by HP.
SEE ALSO
ifconfig(1M), ioscan(1M), lanadmin(1M), linkloop(1M), lan(7).
HP-UX 11i Version 2: August 2003 − 1 − Hewlett-Packard Company Section 1M−−367