Operating System - HP-UX
1760510 Members
3036 Online
108894 Solutions
New Discussion юеВ

How to view autosense configuration by lan adapter

 
SOLVED
Go to solution
PSS SYS ADMIN
Super Advisor

How to view autosense configuration by lan adapter

Hi everyone,
how can I see the autosense configuration of a lan adapter and how can I set it to no-autosense.

Regards...
PSS
6 REPLIES 6
Dirk Wiedemann
Respected Contributor

Re: How to view autosense configuration by lan adapter

Hi
please give more details.
What OS?
What lan card?
regards
Dirk
Sean OB_1
Honored Contributor

Re: How to view autosense configuration by lan adapter

Try the lanadmin command and see what it gives you for the card.

lanadmin
lan
ppa N (where N is the ppa number of the card)
display


PSS SYS ADMIN
Super Advisor

Re: How to view autosense configuration by lan adapter

OS: hpux 11.00
lan card: HP HP-PB 100 Base TX card

bye
MANOJ SRIVASTAVA
Honored Contributor

Re: How to view autosense configuration by lan adapter

Hi


lanscan give you the ppa no for the interface you want to see ,

do a lanadmin -x < ppa no.> it will give you the current value , incase you want to know all the stat do a lanadmin -g < ppa no.>


man lanadmin is the best refernce.


Manoj Srivastava
Sridhar Bhaskarla
Honored Contributor
Solution

Re: How to view autosense configuration by lan adapter

Hi,

Do a lanscan and note the Card In# (ppa in third column) corresponding to the lan adapter's path.

Then do a lanadmin -x card In#

It will display the lan card's speed and it's duplex information. If it is auto sensing, it would display it as "AUTO_ON".

To turn of AUTO_ON and set it to 100 Full duplex, use the command

lanadmin -X CardIn# 100FD.

This will take 11 secs and the interface will be down. You will need to make sure that the switch port is also set to the same configuration.

To make it permanently, edit the corresponding /etc/rc.config.d/hp*conf file. For gsc 100bt card, it would be hpgsc100coonf. Syntax is already exampled in that file.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Craig Rants
Honored Contributor

Re: How to view autosense configuration by lan adapter

lanscan to see your ppa's

lanadmin -x ppa to see the setting 11x
the -X option lets you change the setting

lanadmin -s nmid to see the setting in 10.20
the -S option lets you change the setting

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut