Operating System - HP-UX
1822168 Members
3792 Online
109640 Solutions
New Discussion юеВ

Re: lanadmin -X lan0 gives Invalid PPA Number entry

 
Josh Dalziel
Occasional Advisor

lanadmin -X lan0 gives Invalid PPA Number entry

When I do a lanadmin -X lan0 I get "Invalid PPA Number entry"

If I go into lanadmin and type lan and display I am able to get some of the information I am looking for, but not if I am running at FD or HD. lanscan shows lan0 and lan1 on my system. Any idea's? Thanks!!
7 REPLIES 7
Mel Burslan
Honored Contributor

Re: lanadmin -X lan0 gives Invalid PPA Number entry

the -X switch is used to set the properties of an interface, lan0 in your particular case. And if you are on an older system, your built-in lan0 may not be capable of changing its settings.

if you only want to see the speed of lan0, use -x (lower case x) instead of the upper case. You should not have any problems displaying it.

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

Re: lanadmin -X lan0 gives Invalid PPA Number entry

Try

lanadmin -X 0


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Josh Dalziel
Occasional Advisor

Re: lanadmin -X lan0 gives Invalid PPA Number entry

this is on a 4440 and both -X and -x give me the same error. Well it gives this error on all interfaces on the cards. The only thing that is really coming to mind would be if the cards had a invalid minor number but I dont know if the system would be on the network if that was the case, and the system is on the network. Thanks for the quick responce!

Josh
Mel Burslan
Honored Contributor

Re: lanadmin -X lan0 gives Invalid PPA Number entry

I have overlooked what you have typed as the command but follow Geoff's advice and use the nmid number only istead of the interface name, i.e., 0 instead of lan0 and 1 instead of lan1.

lanadmin is designed to work with nmid numbers, not the interface names.

HTH
________________________________
UNIX because I majored in cryptology...
Josh Dalziel
Occasional Advisor

Re: lanadmin -X lan0 gives Invalid PPA Number entry

lanadmin -x 0 worked. Lowercase and not upper :-D
Rajeev  Shukla
Honored Contributor

Re: lanadmin -X lan0 gives Invalid PPA Number entry

Hi Josh,

Run lanscan and get the right PPA number from the heading "Net-Interface NamePPA"
and then run
lanadmin -x PPA <0 or 1 or 2> whatever the PPA number is (as said -x is to display and -X is to set)
Other thing is that lanadmin -x or -X will not work with old cards or core I/O cards on old servers.
Now to set the speed to say 100MB Full Duplex run
lanadmin -X 100FD <0 or 1 or 2 what ever the PPA number is>

Cheers
Rajeev
rariasn
Honored Contributor

Re: lanadmin -X lan0 gives Invalid PPA Number entry

Hi,

# lanscan

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

# lanadmin -x -s 0
# lanadmin -x -s 1

Speed = 100000000
Current Config = 100 Full-Duplex MANUAL

To change configuration, use options -X and -S.

rgs,

ran