- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Get NIC linkspeed and setting NOT THROUGH SAM
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
10-25-2006 04:25 AM
10-25-2006 04:25 AM
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 04:29 AM
10-25-2006 04:29 AM
Re: Get NIC linkspeed and setting NOT THROUGH SAM
You can get the PPA for the NIC from lanscan.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 04:29 AM
10-25-2006 04:29 AM
Solutionwill do the trick. The 0 corresponds to the PPA or instance number, obtained from lanscan.
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
10/0/12/0 0x001083CFA5E5 0 UP lan0 snap0 1 ETHER Yes 1
# lanadmin -x 0
Current Config = 100 Full-Duplex MANUAL
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 04:30 AM
10-25-2006 04:30 AM
Re: Get NIC linkspeed and setting NOT THROUGH SAM
The use lanadmin to check the card.
If you want to check lan0, then you use the 0 part of lan0 (just use the digit from lan? if HP-UX 11.0 or higher):
# lanadmin -x 0
This will return the speed or AUTONEG if auto negotiation is on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 04:33 AM
10-25-2006 04:33 AM
Re: Get NIC linkspeed and setting NOT THROUGH SAM
or
ifconfig lan0
or
lanscan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 04:42 AM
10-25-2006 04:42 AM
Re: Get NIC linkspeed and setting NOT THROUGH SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 04:56 AM
10-25-2006 04:56 AM
Re: Get NIC linkspeed and setting NOT THROUGH SAM
The script I use is attached. Output as follows:
# /root/bin/verify_nic
usildb23 lan1* 0 On. 1000 Full-Duplex.
usildb23 lan1* none On. 1000 Full-Duplex.
usildb23 lan2 135.3.52.166 Off. 100 Full-Duplex.
usildb23 lan3 135.3.16.65 On. 1000 Full-Duplex.
usildb23 lan4 135.3.14.129 On. 1000 Full-Duplex.
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 10:40 AM
10-25-2006 10:40 AM
Re: Get NIC linkspeed and setting NOT THROUGH SAM
You can use these commands. Yoyr best bet is lanadmin or SAM.
#lanscan
#lanadmin -x 0
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 10:40 AM
10-25-2006 10:40 AM
Re: Get NIC linkspeed and setting NOT THROUGH SAM
You can use these commands. Your best bet is lanadmin or SAM.
#lanscan
#lanadmin -x 0
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 10:51 AM
10-25-2006 10:51 AM