Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

two inetrface card speed in solaris 2.8 2

Status
Not open for further replies.

bhawani123

IS-IT--Management
Nov 1, 2000
152
IN
Hi ,
I have solaris 2.8 system running with two network card and I want to check link speed and mode of those card.Please help me out which command is check the two interface card speed in single system.
i checked the inetrface and it is showing hme0 and hme1.

I know the single card speed check with command ndd -get /dev/hme link_speed.But not aware with how to check two card speed.

Thanks,
Bhawani
 
Code:
# ndd -set /dev/hme instance 0
now you can check the states of hme0
ndd -get ...
Code:
# ndd -set /dev/hme instance 1
and now hme1...



Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
What needs to be type to check the link speed after ndd -set /dev/hme instance 0

I type ndd -get but not sure what to use after that...

Thanks!
 
ndd -get /dev/<NIC> this could be hme, ge, etc..

What type of NICs are you using?
 
Sorry mistype I did use the coorect name hme0. It states "couldn't push module hme0 no such device or address
 
You can't use the instance number. The correct command is:
ndd -get /dev/hme <variable>
 
I'm using hme

I type ndd -get /dev/hme instance 0

and get

0
operation failed, Invalid Argument
 
I see 0 is 10Mb...

Is there a command to auto negotiate to set the NIC or set to 100?

Thanks all!
 
You can use the command:
ndd /dev/hme \? to see all the variables you can get and set.

 
>> Is there a command to set the NIC to auto negotiate?
ndd -set /dev/hme adv_autoneg_cap 1

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top