- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to check the speed of network card
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
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
тАО06-06-2006 12:35 AM
тАО06-06-2006 12:35 AM
please help
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/8/1/0/4/0 0x00306AF3D7AA 0 UP lan0 snap0 1 ETHER Yes 119
1/0/1/1/0/4/0 0x00306A497FFE 1 UP lan1 snap1 2 ETHER Yes 119
1/0/10/1/0 0x00306AF4680E 2 UP lan2 snap2 3 ETHER Yes 119
root@server:[/root]
# ifconfig lan0
lan0: flags=1843
inet 120.108.8.4 netmask ffffff80 broadcast 120.108.8.107
root@server:[/root]
# ifconfig lan1
ifconfig: no such interface
root@server:[/root]
# ifconfig lan2
ifconfig: no such interface
root@server:[/root]
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:39 AM
тАО06-06-2006 12:39 AM
Re: how to check the speed of network card
# 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 0x001083FF5AE3 0 UP lan0 snap0 1 ETHER Yes 119
0/6/0/0 0x001083F68FA4 1 UP lan1 snap1 2 ETHER Yes 119
# lanadmin -x 1
Current Speed = 10 Half-Duplex Auto-Negotiation-ON
# lanadmin -x 0
Current Speed = 100 Full-Duplex Auto-Negotiation-OFF
# lanspeed
Card at PPA 0 - IP Address: 145.4.3.48 - Speed = 100 Full-Duplex Auto-NegoF
Card at PPA 1 - IP Address: Not assigned- Speed = 10 Half-Duplex Auto-NegotN
attached is a the lanspeed script.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:40 AM
тАО06-06-2006 12:40 AM
Re: how to check the speed of network card
lanscan -X 0 ( sets parms. Note the cap. and lower cases )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:40 AM
тАО06-06-2006 12:40 AM
Re: how to check the speed of network card
lanadmin -x PPA
in your case
lanadmin -x 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:55 AM
тАО06-06-2006 12:55 AM
Re: how to check the speed of network card
lanadmin will show you connection speed and duplex. You will not get that speed on a file transfer due to overhead for the OS and network infrastructure.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:59 AM
тАО06-06-2006 12:59 AM
Re: how to check the speed of network card
You can also see this information from sam -> Networking section.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 01:43 AM
тАО06-06-2006 01:43 AM
Re: how to check the speed of network card
# 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
тАО06-07-2006 07:45 PM
тАО06-07-2006 07:45 PM
Re: how to check the speed of network card
what does it means:
# ifconfig lan1
ifconfig: no such interface
root@server:[/root]
# lanadmin -x 1
Speed = 1000 Full-Duplex.
Autonegotiation = On.
root@server:[/root]
# ifconfig lan2
ifconfig: no such interface
root@server:[/root]
# lanadmin -x 2
The link is down. The speed and other link state information
are undefined. The configuration specified for this card is:
Speed = 1000 or 100 or 10 Mbps.
Autonegotiation = On.
root@server:[/root]
#
does it means that lan1 is physically connected to switch but no ip defined to lan1.
and lan2 is not physically connected to switch.
am i right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2006 10:32 PM
тАО06-07-2006 10:32 PM
Re: how to check the speed of network card
lanadmin -x 1 --> this is for lan1
lanadmin -x 2 --> this is for lan2