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

How to check speed on ce nic

Status
Not open for further replies.

wtrepani

MIS
May 30, 2002
93
US
I know how to check status and speed, etc on HME*, and QFE*, using ndd, but whenever I use this to check CE*, it says it couldn't push the module. Is there another way to do this with the CE cards?

Will
 
do a netstat -k ce0 (look for the ifspeed .

If you have more than one ce do a ps -ef |grep ce
this will give you all the instances.

do a netstat -k ce* (*= instance #)

I thought you should be able to use the ndd.

do a ndd -set /dev/cd instance # (from the ps cpmmand)
do a ndd /dev/ce link_speed




 
OK, when I do a netstat -k ce1, i get the stats, but I also need to change them.

The command,

ndd -set /dev/ce instance 1
works ok, but

ndd -get /dev/ce link_speed
does not, I get `operation failed, invalid argument`

I have tried this with other options that I get out of the netstat -k command. I look through the /var/adm/messages file also, and see this error:

Sep 3 09:40:00 ebzees01 genunix: [ID 408822 kern.info] NOTICE: ce1: no fault external to device; service available
Sep 3 09:40:00 ebzees01 genunix: [ID 611667 kern.info] NOTICE: ce1: xcvr addr:0x01 - link up 100 Mbps half duplex

Then I get the same for ce2, which we don't use yet, but it is plugged in.

This started because of performance. The longer it is up, the slower it gets. If I go in via an HP Secure web console, it performs fine. I can ping it and the maching next to it, and get 70ms to the other one, but in excess of 1300ms to this machine. The port on the switch is hard set to 100M full, but the interface shows as up at half in the messages file. I can't figure out how to change it to full on the ce card.
 
Hi there,

I've got no idea what a ce card is but shouldn't it have it's advertised speed settings in /etc/system as any nic ?

Iga-Duma

 
The CE card is the Gigaswift card. I haven't been able to look physically at the card, but I do beleive that it is a card that supports, 10/100/1000Mbps. The normal ndd commands are not working. I have opened a ticket with Sun about it but am not getting anywhere fast.

I have never had anything for the network cards automatically go into /etc/system. I have always had to put it in myself.
 
Hi!

I'm not familiar with the CE card, but have you tried using ndd to query what you can set/get from the card? Something like:

ndd -set /dev/ce instance 1
ndd -get /dev/ce ?

I'm not near a Solaris box at the moment so can't check if you need to quote the '?' or not ( \? ). Have a go and see if the variables quoted are subtly different from that produced by netstat.

Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top