HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
l
lanscan(1M) lanscan(1M)
NAME
lanscan - display LAN device configuration and status
SYNOPSIS
lanscan [-aimnpqv][system [core ]]
DESCRIPTION
lanscan displays the following information about each LAN device and VLAN interface that has software
support on the system:
• 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 encapsula-
tion, 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 Common
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.
If the interface corresponds to VLAN, then lanscan displays VLAN# as its h/w path. Here ’#’ is a number
that uniquely identifies a VLAN interface.
The arguments system and core allow substitution for the default values /stand/vmunix
and
/dev/kmem.
Options
lanscan recognizes the following command-line options:
-a Display station addresses only. No headings.
-i Display interface names only. No headings.
-m Display MAC types only. No headings.
-n Display Network Managements IDs only. No headings.
-p Display PPA and/or VPPA (PPA associated with a VLAN) 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. Multiple lines per interface. Includes displaying of extended station address
and supported encapsulation methods. If the interface corresponds to VLAN, it displays
VLAN specific information also - VLAN id, PPA of physical interface on which VLAN is
created, Priority, ToS, Priority Override, ToS Override and VLAN name (see vlan(7)).
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.
Section 1M−−418 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005