Operating System - HP-UX
1827279 Members
3374 Online
109717 Solutions
New Discussion

Problem with a LAN interface

 
SOLVED
Go to solution
Alan Vargas
Regular Advisor

Problem with a LAN interface

Hello Everyone

I have a problem with a LAN interface into a HPUX server, this LAN interface present problem when it sends packed sometime it´s down ... i know about the netstat command to check stadistic information, do you know another command that i can use to check this problem ? or any file that i can check...

Thank to all
5 REPLIES 5
Mel Burslan
Honored Contributor
Solution

Re: Problem with a LAN interface

first run

lanadmin

then go into "lan" menu
then by typing "ppa X", where X is your lan card instance, like 0 for lan0, 1 for lan1 etc, then hit enter.
type "display" and hit enter.
Output has two pages and second page shows mainly the error counters.

or this will give you the display output on your screen in one shot: (this is for lan1, modify ppa number according to your case)

echo "lan\nppa 1\ndisplay\n" | lanadmin

hope this helps
________________________________
UNIX because I majored in cryptology...
Uday_S_Ankolekar
Honored Contributor

Re: Problem with a LAN interface

ifconfig, lanadmin, lanscan are the other commands..
Check man pages of these for more details.
/etc/rc.config.d/netconf is the file that has all configuration

-USA..
Good Luck..
Sudeesh
Respected Contributor

Re: Problem with a LAN interface

1. ioscan -fnC lan : look at the "s/w state Column" and ensure it is claimed.

2. lanscan : check the hardware state from o/p.

3. lanadmin
>lan
>ppa 0 (0 for lan0 ...)
>display

Will give you various lan information.


Sudeesh


The most predictable thing in life is its unpredictability
Mahesh Kumar Malik
Honored Contributor

Re: Problem with a LAN interface

Hi Alan

lanscan and lanadmin are other command and utility for diagnosing problem with lan card. Suggest to isolate network infrastructure related issues as well like swapping patch cord and switch port etc.

Regards
Mahesh
Alan Vargas
Regular Advisor

Re: Problem with a LAN interface

Thank to all, i'll try it