- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Obtaining Lan Duplex and AutoNeg info
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 06:31 AM
08-24-2001 06:31 AM
At one point you used to be able to run landiag with the -x option which would give you the lan speed, Duplex mode and AutoNeg output.
I am trying this on our 10.20 box but this fails, I have tried to use SAM to get the Duplex mode and AutoNeg mode but this just flashed quickly before I can read it.
Does anyone know a way I can get the above info for the Lan (I only require the Duplex & Negotiation info)
Cheers
Kev
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 06:39 AM
08-24-2001 06:39 AM
Re: Obtaining Lan Duplex and AutoNeg info
on mine it gives s/S show/set speed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 06:43 AM
08-24-2001 06:43 AM
Re: Obtaining Lan Duplex and AutoNeg info
lanadmin -x NMID
should give you what you are looking for.
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 06:52 AM
08-24-2001 06:52 AM
Re: Obtaining Lan Duplex and AutoNeg info
I have already got the info for the actual speed of the card from landiag what I am after is the Duplex info and AutoNegotiation info.
Ramesh,
I have tried this command on several of our 10.20 boxes and get an error:
Unrecognized option: -x
I know this used to work on other machines I have looked after in the past but can't understand why it is not recognised where I work now.
Is there a config file that holds this info, I have checked the hpethers file in /etc/rc.config.d but all this gives me is the station address.
Cheers,
Kev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 06:57 AM
08-24-2001 06:57 AM
Re: Obtaining Lan Duplex and AutoNeg info
For HP-UX 10.20
Run "lanadmin -x
For HP-UX 11.00
Run "lanadmin -x
Hope this helps.
Dipak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 07:02 AM
08-24-2001 07:02 AM
Re: Obtaining Lan Duplex and AutoNeg info
I will look into why -x isn't working.
But meanwhile you can try something like
/Begin/
landiag << EOF
lan
nmid
display
quit
EOF
/End/
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 07:05 AM
08-24-2001 07:05 AM
Re: Obtaining Lan Duplex and AutoNeg info
SO my recommendation would be to check that this system has the latest LAN CUmulative (PHNE_23862) patch, along with any dependencies, anbd also the latest driver patch for whatever cards you are using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 07:09 AM
08-24-2001 07:09 AM
Re: Obtaining Lan Duplex and AutoNeg info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 07:19 AM
08-24-2001 07:19 AM
SolutionI believe this was introduced in the lan cumulative patch PHNE_14634.
Also what do you see when you do a "what /usr/lbin/lanadmin"
I have an old HP box running 10.20. It has the lan cumulative patch PHNE_1700 and ARPA patch PHNE_17730.
what /usr/lbin/lanadmin shows revision 1.3.116.10 $ B.10.20 PHNE_14633(700)/PHNE_14634(800).
And lanadmin -x works on this machine.
If you want the -x option to work, you might have to install the latest lan patch(along with dependencies ofcourse)
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 07:46 AM
08-24-2001 07:46 AM
Re: Obtaining Lan Duplex and AutoNeg info
I have found a 10.20 machine which the lanadmin -x works,what I have done is to copy this executable over to the machines that I was having problems with and this now works.
I have ran the "what" against the original and the new file and they are both the same (see below)
[/usr/sbin]# what lanadmin
lanadmin:
lanadmin.c: $Revision: 1.3.116.10 $ B.10.20 PHNE_14633(700)/PHNE_14634
(800)
LAN: Version: B.10.10 $Date: 96/05/09 11:26:21 $
what lanadmin.orig
lanadmin.orig:
lanadmin.c: $Revision: 1.3.116.10 $ B.10.20 PHNE_14633(700)/PHNE_14634
(800)
LAN: Version: B.10.10 $Date: 96/05/09 11:26:21 $
Still confused as to why it would not work in the first place; however at least I can now get the info I need.
Thanks guys,
Kev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 10:09 AM
08-24-2001 10:09 AM
Re: Obtaining Lan Duplex and AutoNeg info
i'm reasonably confident that lanadmin patches do not require reboots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2001 09:09 AM
08-25-2001 09:09 AM
Re: Obtaining Lan Duplex and AutoNeg info
I would bring all your systems to a current patch level (March or June 2001) from your SuppPlus CDROM as soon as possible.
Bill Hassell, sysadmin