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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Network Card speed Solaris 1

Status
Not open for further replies.

Scunningham99

Programmer
Sep 20, 2001
815
GB
Any clues as to find the network speed on solaris box:-

unOS euratlsunx02 5.8 Generic_108528-22 sun4u sparc SUNW,Sun-Fire-880

thanks in advance!

Sy UK
 
I have run the following which returns:

# ndd -get /dev/qfe link_speed link_mode
0

0

So i have identified it is running at half duplex 10mbps.

How can i check the card is capable of 100mbps and full duplex?????

ANY HELP WOULD BE GREATLY APPRECIATED!

Sy UK
 
all Sun qfe Cards are 100fdx capable, but does your linkpartner support 100fdx? You can check this by typing:

host# ndd -set /dev/qfe instance 0 # or 1,2,3 depends on which interface is connected
host# ndd -get /dev/qfe lp_autoneg_cap # 1=link partner runs in autonegotiaton mode
host# ndd -get /dev/qfe lp_100fdx_cap # 1 = lp supports 100fdx
host# ndd -get /dev/qfe lp_100hdx_cap
host# ndd -get /dev/qfe lp_10fdx_cap
host# ndd -get /dev/qfe lp_10hdx_cap

you can force the link speed by setting it the following way (write a script, which is executed during startup to have it persistant)
ndd -set /dev/qfe instance 0
ndd -set /dev/qfe adv_autoneg_cap 0
ndd -set /dev/qfe adv_100fdx_cap 1
ndd -set /dev/qfe adv_10fdx_cap 0
ndd -set /dev/qfe adv_100hdx_cap 0
ndd -set /dev/qfe adv_10hdx_cap 0


Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
 
Thanks for reply! Looks like i need to set your reply in /etc/system correct?

here my output:-
# ndd -set /dev/qfe instance 0
# ndd -get /dev/qfe lp_autoneg_cap
1
# ndd -get /dev/qfe lp_100fdx_cap
1
# ndd -get /dev/qfe lp_100hdx_cap
1
# ndd -get /dev/qfe lp_10fdx_cap
1
# ndd -get /dev/qfe lp_10hdx_cap
1

DO I SIMPLY PAST THE FOLLOWING IN TO /etc/system:- (this is output from one of our other servers running at 100mbps at full duplex!

set eri:adv_100T4_cap=0
set eri:adv_100hdx_cap=0
set eri:adv_10fdx_cap=0
set eri:adv_10hdx_cap=0
set eri:adv_100fdx_cap=1
set eri:adv_autoneg_cap=0


REPLACING "eri" with "qfe"??



Sy UK
 
yes, I used to tell my customers (I worked for Sun Microsystems) to use the script, not the /etc/system since the system file can not distinguish between interfaces, it will set all interfaces (the driver) to that speed/mode.

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
 
Thanks for reply!

To be clear then (sorry i want to be exact because this is one of our production box's) is this the exact syntax i paste into the /etc/system; then re-boot the box:-

set qfe:adv_100T4_cap=0
set qfe:adv_100hdx_cap=0
set qfe:adv_10fdx_cap=0
set qfe:adv_10hdx_cap=0
set qfe:adv_100fdx_cap=1
set qfe:adv_autoneg_cap=0



Sy UK
 
yes, syntax is correct; I prefere the ndd commands since you do not need a reboot... ;-)

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
 
Check that the switch port the system it connected to is also locked to 100MbFDX
Sun gear and some switches (notably Cisco ) have big problems trying to autonegotiate.
 
Yes, Mike, that's true, but at least Cisco implemented, that they accept the LinkPartners mode (ie. 100fdx), if it's not autonegotiating

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
 
After speaking with one of our support guys he has provided me with the following syntax which is different from the one above which i posted.

Please can you confirm which of the two is correct:-

1. (from our support guys)
set qfe:qfe_adv_100fdx_cap=1
set qfe:qfe_adv_100hdx_cap=0
set qfe:qfe_adv_10fdx_cap=0
set qfe:qfe_adv_10hdx_cap=0
set qfe:qfe_adv_autoneg_cap=0

or

2. (from this post)
set qfe:adv_100T4_cap=0
set qfe:adv_100hdx_cap=0
set qfe:adv_10fdx_cap=0
set qfe:adv_10hdx_cap=0
set qfe:adv_100fdx_cap=1
set qfe:adv_autoneg_cap=0

Thanks for all your help!



Sy UK
 
ok, sorry I must correct my posting the support guys are right (I doublechecked my documents) this block is correct:

1. (from our support guys)
set qfe:qfe_adv_100fdx_cap=1
set qfe:qfe_adv_100hdx_cap=0
set qfe:qfe_adv_10fdx_cap=0
set qfe:qfe_adv_10hdx_cap=0
set qfe:qfe_adv_autoneg_cap=0

since I prefere the ndd commands I was not 100% familiar whether qfe:qfe... or just qfe:...



Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top