Operating System - HP-UX
1833059 Members
2715 Online
110049 Solutions
New Discussion

Checking LAN Card's speed

 
Nisar Ahmad
Regular Advisor

Checking LAN Card's speed

Hi There

I just need to know the best way to check LAN/network card's speed.

Thanks

Nisar

8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: Checking LAN Card's speed

Use the lanadmin command.

# man lanadmin

for more details.
Michael Tully
Honored Contributor

Re: Checking LAN Card's speed

# lanadmin -x 0

(assuming 0 is the lan0 card

You can also use

# lanadmin
and pick the card number.
Anyone for a Mutiny ?
Nisar Ahmad
Regular Advisor

Re: Checking LAN Card's speed

Hi Michael

I already tried

lanadmin -x 0/1 but no output.

In lanscan configured cards are with state DOWN isn't it ? Like 0 and 1 are with down state

Nisar

Michael Tully
Honored Contributor

Re: Checking LAN Card's speed

Using lanadmin assumes that the card is up before the speed can be determined.

You could try to use 'ifconfig' to change the state.
Having said that 'SAM' can also be used to change the card state.
Anyone for a Mutiny ?
Nisar Ahmad
Regular Advisor

Re: Checking LAN Card's speed

Hi Michael

Does it mean that card with state down are not working at present

Nisar
Camel_1
Valued Contributor

Re: Checking LAN Card's speed

if the lan card is DOWN you are not able to check the speed, perhaps run ioscan -fnC lan you can see the model of the lan.
Hemanth Gurunath Basrur
Honored Contributor

Re: Checking LAN Card's speed

Hello Nisar,

As all have suggested, the lanadmin command is the best way to check LAN card's speed. I think you can also check the speed of a network interface card from SAM -> Networking and Communications -> Network Interface Cards subarea.

Also, refer to the foll. document:

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90796/B2355-90796_top.html&con=/hpux/onlinedocs/B2355-90796/00/00/32-con.html&toc=/hpux/onlinedocs/B2355-90796/00/00/32-toc.html&searchterms=of%7cLAN%7ccard%7cspeed&queryid=20040530-211352

HTH.

Regards,
Hemanth
Mohanasundaram_1
Honored Contributor

Re: Checking LAN Card's speed

Hi Nisar,

You can also use

# lanadmin -s

This will indicate the speed in bits. This will show the speed even if cable is not connected to it. Speed is indicated in bits in this option.

lanscan should show the hardware state "up" for your cards which are configured.

Cheers,
Mohan.
Attitude, Not aptitude, determines your altitude