- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to get network card's CardName,CardVendorI...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО02-22-2011 11:45 PM
тАО02-22-2011 11:45 PM
# ioscan -u |grep lan
0/1/2/0 lan HP PCI-X 1000Base-T Dual-port Built-in
I used "lanscan" and "lanadmin", still can get my needed information.
So, How to get network card's CardName,CardVendorID,VenderID on HP-UX?
Solved! Go to Solution.
- Tags:
- NIC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 12:24 AM
тАО02-23-2011 12:24 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
this is your built-in(on board) network card. try this
lanadmin -x vpd 0
- Tags:
- lanadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 12:29 AM
тАО02-23-2011 12:29 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
here is the result on my side:
# lanadmin -x vpd 0
The option "vpd" is not valid
speed Display the speed and duplexity of the link
fctrl Display whether Receive Flow Control is enabled or not
cko Determine if hardware TCP/UDP (IPv4) checksum offload is enabled
type Display medium type of the interface
send_max_bufs Display the value of send buffer coalescing threshold
recv_max_bufs Display the value of recv buffer coalescing threshold
send_coal_ticks Display the value of send interrupt coalescing ticks
recv_coal_ticks Display the value of recv interrupt coalescing ticks
itrmode Display the value of interrupt throttling mode
card_info Display the adapter and driver revision and settings
stats drv Display driver and adapter statistics
vmtu Display the value of Virtual MTU for TCP Segmentation Offload
diag_thresh Display the value of packet rate threshold for diagnostics
#
I used "card_info",the result is:
# lanadmin -x card_info 0
*********** Version Information **********
Driver version: B.11.23.0609
Firmware version: N/A
Chip version: 0x3
PCI Sub-System ID: 0x12cd
PCI Sub-Vendor ID: 0x103c
Board Revision: FFFFFFFF
Software Key: 0
Engineering Date Code:
********** Card Setting ***********
Driver State: IETHER_ONLINE
Auto Negotiation: On
Flow Control: On
Send Max Buf Descriptors: 1
Recv Max Buf Descriptors: 1
Send Coalesced Ticks: 150
Recv Coalesced Ticks: 0
#
still have not my needed info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 12:36 AM
тАО02-23-2011 12:36 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 12:37 AM
тАО02-23-2011 12:37 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
In your ioscan output, "Built-in" means this NIC is integrated into the system board, so it's part of the base system and cannot be removed. It is not actually a separate "card" at all.
Since the entire system board is made by HP, the CardVendorID and "VenderID" both must be HP.
You could use "HP PCI-X 1000Base-T Dual-port Built-in" as the CardName.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 12:44 AM
тАО02-23-2011 12:44 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
and thank Kenan Erdey as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 01:19 AM - last edited on тАО08-25-2011 02:41 PM by Kevin_Paul
тАО02-23-2011 01:19 AM - last edited on тАО08-25-2011 02:41 PM by Kevin_Paul
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
hi,
also welcome here and please read this and don't forget assigning points :)
http://h30499.www3.hp.com/t5/help/faqpage/faq-category-id/kudos#kudos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 01:34 AM
тАО02-23-2011 01:34 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
there is another question need you kindly help me out.
if the NIC card is seperated card,what is the ioscan output looks like? Can I get the CardName,CardVendorID,VendorID from it ?
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 01:36 AM
тАО02-23-2011 01:36 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
in addition to others they gave adequate information, you can try to pick up more info:
# echo "selclass qualifier lan;info;wait;infolog"|cstm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 03:52 PM
тАО02-23-2011 03:52 PM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
That said, I never did need to retrieve those under HP-UX - since the only "supported" (and generally "working" NICs are those for which ioscan -fk would give the full "HP" name that was enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2011 06:33 PM
тАО03-07-2011 06:33 PM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
again, Is it possible for me to get the specified NIC info via #echo "selclass qualifier lan;info;wait;infolog"|cstm
for example, I have 2 NICs, but I want to just get one card's info according to hardware path.
moreover, can cstm command get other PCI card's information beside NIC?
thanks the above gurus again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2011 01:07 AM
тАО03-08-2011 01:07 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
try menu based command mstm as i writed abowe.
and please don't forget assigning points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 12:37 AM
тАО03-15-2011 12:37 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
but what I want is use command line to get the information rather than from UI.
So, your solution is not very suitful for my problem.
I want to find a command line which can't show detail information by PCI card, take lan card as example, I want the command can check the specified network card's info.
regarding to the points, I am newbie here, just get understand the meaning of assignning points, I will study how to use it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 06:47 AM
тАО03-15-2011 06:47 AM
SolutionEverything you can do with mstm, you can do with cstm too.
The documentation for cstm commands is available here:
http://docs.hp.com/en/diag/stm/sth_cstm.htm
You can start cstm in interactive mode and test the commands you wish to use. For example, I know the hardware path for my NIC is 0/0/4/1/0/6/0.
# cstm
cstm> selclass hwpath 0/0/4/1/0/6/0
cstm> info
-- Updating Map --
Updating Map...
cstm> wait
cstm> infolog
[correct information is displayed]
[note all the lines you want include the string "ID:"]
So I would build this into a one-line script:
echo "selclass hwpath 0/0/4/1/0/6/0;info;wait;infolog" | cstm | grep ID:
In this way, you can write scripts to query any device if you know the hardware path for the device.
To know the hardware path, use the "ioscan" command. For network cards specifically, "lanscan" command is also available, and may be easier to parse for further processing.
To get a full listing for all hardware items quickly, use "ioscan -fnk". To get e.g. network cards only, use "ioscan -fnkClan".
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 12:15 PM
тАО03-15-2011 12:15 PM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
I still wonder why you want to know this?
What should be the use of this information?
(Regardless if all this will result in something like "HP" or "broadcom OEM for HP ..."...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 07:40 PM
тАО03-15-2011 07:40 PM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2011 09:19 AM
тАО03-16-2011 09:19 AM
Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?
If the goal is to find from whom HP OEMs NICs for HP-UX systems, that is fine, while HP does not trumpet it, it try especially hard to hide it - heck, running Linux (supported or not) and an lspci command will show it no matter what. But you should know that the HP-UX drivers will only drive those cards with the HP subvendor and subproduct IDs.
- Tags:
- lspci