Operating System - HP-UX
1834007 Members
1773 Online
110063 Solutions
New Discussion

trace the place of the LAN card

 
SOLVED
Go to solution
Mousa55
Super Advisor

trace the place of the LAN card

Hi
i want to trace the place of the LAN card which the my server using it.
by using command plz.

i am using the 'io' command in MP:CM>io
but this command is not work.(Unknown Command)
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: trace the place of the LAN card

Shalom,

If you can get away with it:
ifconfig lan0 down

Look for the change on the lights on the NIC.

Then bring it back up.

Run through the cards.

Othewise, I'd suggest xstm from the OS side.

The card has a MAC address stamped on the system. You should be able to use ethereal or wireshark or tcpdump to trace the traffic.

Then your network admin can identify the port and switch its coming through.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vijay Dsouza
Frequent Advisor

Re: trace the place of the LAN card

Get the outputs of the following to geive you an idea on the Hardware path and ipadress

1.ioscan -fnC lan
2.lanscan
3.ifconfig lan0 down ===> Check the activity LED's or ping to the ip alloted to this ip continuously and when down check the LED states.

Cheers

Vijay
Torsten.
Acclaimed Contributor

Re: trace the place of the LAN card

I'm not sure what you want to "trace".

If you want to know where the NIC is installed, run "lanscan" to get the hardware path.

Next step depends because of different system architecture.
But if you tell us the server model we can help you further ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim Nelson
Honored Contributor

Re: trace the place of the LAN card

Another option would be to use the rad or olrad command.

Torsten.
Acclaimed Contributor

Re: trace the place of the LAN card

"Another option would be to use the rad or olrad command" - if supported by the hardware ;-)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Mousa55
Super Advisor

Re: trace the place of the LAN card

Hi
i am need to know where the NIC card place in any
cabinet, chassis and bay in expansion unit which I have it .
i am using the "ifconfig lan0 down" command but the
activity of LED is not changed, only is not pinging and this case is not help me.
And I not found any response on the second questions
" i am using the 'io' command in MP:CM>io
but this command is not work.(Unknown Command)"
how I can work on this command or how to definition this command.
Thanks and best regards
Torsten.
Acclaimed Contributor
Solution

Re: trace the place of the LAN card

Looks like the hardware supports the "olrad" command.

run

# lanscan

note the hardware path and compare to

# olrad -q

this will tell you the slot location.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sp4admin
Trusted Contributor

Re: trace the place of the LAN card

Like Torsten said you can use "lanscan" or use the command "olrad -q". from the lanscan get the path and use olrad to locte the slot the NIC ard is located.

#olrad -g /0/5/2/0

This will put out the slot number on the server.

sp,
Vijay Dsouza
Frequent Advisor

Re: trace the place of the LAN card

Still if you find difficulty do the following

1. lanscan ==> Note the H/W Path of the lancards.
2.Disconnect the UTP cable from the card you want to check and confirm .

3. Run the command #netfmt -f /var/adm/nettl.LOG000

This would show you the cable disconnects of the physical interface of which cable was disconnected with time stamp.You can later confirm the hardware path with the lanscan output.


Output would be similar to this
********************************


<2000> 1000Base-T in path 0/1/2/1
Detected a faulty or disconnected cable.


Cheers

Vijay