1826293 Members
3905 Online
109692 Solutions
New Discussion

Lan interface Adapters

 
SOLVED
Go to solution
Abhijit_9
Occasional Contributor

Lan interface Adapters

What's the basic difference between the two commands?
1. lsdev -C lan
2. lanscan or ioscan -fnC lan

2 REPLIES 2
eran maor
Honored Contributor
Solution

Re: Lan interface Adapters

Hi

ioscan will give you the details on your lancard that is install on the system , the hardware state of this device and the type of card that you have on the system .

lanscan will give you this info and the mac address of the card .

lsdev will give you the info about list device drivers in the system , this is good info if you are trubleshooting device driver , but will not give you the state of the card , the hardware path or max address .

so the best command to get info from lancard is : ioscan -fnClan and lanscan .

eran maor
love computers
avis_1
New Member

Re: Lan interface Adapters

Hello Abhijit

# lsdev -C lan
Character Block Driver Class
14 -1 btlan lan
15 -1 maclan lan
45 -1 fcT1_cntl lan
51 -1 fddi4 lan


lists device drivers in the system - above list the device driver of lan


- C option indicates the matching of Device Drivers using major numbers.



# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x00306E4B2DBC 0 UP lan0 snap0 1 ETHER Yes 119


lanscan displays LAN device Configuration and status, also it does not display information about

LAN devices that do not have software support like LAN interface cards that fail to bind
properly at boot-up time.

#ioscan -fnC lan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core

It just scan the input output (I/O) System

regards
avis