- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how do you know the available NIC interfaces on th...
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
12-04-2007 08:23 PM
12-04-2007 08:23 PM
how do you know the available NIC interfaces on the HP box?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 08:41 PM
12-04-2007 08:41 PM
Re: how do you know the available NIC interfaces on the HP box?
use command "ioscan -fnC lan"
this will show you the available lan interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 10:18 PM
12-04-2007 10:18 PM
Re: how do you know the available NIC interfaces on the HP box?
# lanscan
and you'll get a result list.
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
12-04-2007 10:59 PM
12-04-2007 10:59 PM
Re: how do you know the available NIC interfaces on the HP box?
Be it disk,nic card,tape,processor etc....
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 06:02 AM
12-05-2007 06:02 AM
Re: how do you know the available NIC interfaces on the HP box?
And here's a script I use called lancards:
# /usr/local/bin/lancards
Card at PPA 0 - IP Address: Not assigned- = 100 Half-Duplex. = On.
Card at PPA 2 - IP Address: 156.44.176.16 - = 100 Full-Duplex. = Off.
Card at PPA 3 - IP Address: 0.0.0.0 - = 1000 Full-Duplex. = On.
Card at PPA 4 - IP Address: 0.0.0.0 - Config = 10 Half-Duplex AUTONEG
Card at PPA 1 - IP Address: 156.44.44.181 - Config = 10 Half-Duplex AUTONEG
Card at PPA 5 - IP Address: 156.44.59.38 - = 1000 Full-Duplex. = On.
# cat /usr/local/bin/lancards
#!/usr/bin/sh
# script to check speed and settings of lan cards
PATH=/usr/sbin:/usr/bin
ppas=`lanscan | awk '$3~/^[0-9]$/{print $3}' | xargs`
for i in $ppas
do
printf "Card at PPA %s - " $i
ipa=`ifconfig lan${i} 2>/dev/null | awk '{ip=$2}END{if(ip==""){printf("Not assigned")}else{printf("%s ",ip)}}'`
printf "IP Address: %15s- " "$ipa"
lanadmin -x $i 2>/dev/null | awk '{$1="";printf("%s",$0)}'
echo ""
done
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 01:41 AM
12-06-2007 01:41 AM
Re: how do you know the available NIC interfaces on the HP box?
-yut-