Hi, Thanks for your info,  I am using hme.  But I have some futher question

1)From below, I know the way to set the duplex and speed, But how about the
way to show the current speed and duplex type? I check my /etc/system file,
there is no information regarding hme.  Beside when I type ndd /dev/hme , it
prompt me as below, what is name to get/set? refer to what ? 

tyogw01# ndd /dev/hme
name to get/set ?

2)If I have different NIC in one solaris box, how to set it individually?
Your command is "ndd /dev/hme -set adv_100fdx_cap=1" but it never specify
which interface does it refer to ??

-----Original Message-----
From: Thomas Crowe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 10:21 AM
To: Sim, CT (Chee Tong); [EMAIL PROTECTED]
Subject: RE: How to know the duplex and speed setting of Solaris NIC??
[7:4626]


That setting can be done 2 different ways (which both end up doing the same
thing)

On demand you can issue a 'ndd' command against the NIC driver (i.e.
/dev/hme or /dev/qfe)
like so:

ndd /dev/qfe -set adv_autoneg_cap=0
ndd /dev/qfe -set adv_100fdx_cap=1
ndd /dev/qfe -set adv_100hdx_cap=1
ndd /dev/qfe -set adv_10fdx_cap=1
ndd /dev/qfe -set adv_10hdx_cap=1

The first ndd command turns off autonegotiation, this is needed
Then you would enter ONE of the following commands to set the hard coded
settings (100Full-Duplex, 100Half-duplex etc....)
This helps for the immediate but not on subsequent reboots, to fix that you
need to a set of similar lines to your /etc/system file
like so:

set qfe:qfe_adv_autoneg_cap = 0
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

I always put all of these entries in my /etc/system.

Doing the HME interfaces are very similar, just replace the qfe with hme.
Also note this changes ALL instances of the driver type (i.e. all 4 ports on
a qfe, or every hme interface in a box)

Hope this help.
______________________________

Thomas Crowe
Technical Director
Research & Development
CTS - Atlanta
Phone: 770-664-3900 ext 45
______________________________

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 9:22 PM
To: [EMAIL PROTECTED]
Subject: How to know the duplex and speed setting of Solaris NIC??
[7:4626]




Hi..
How to know the duplex and speed setting of Solaris NIC??

Many thanks
Tong


==================================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
==================================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.


==================================================================
FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

This message was sent with an attachment which Rabobank International does
not allow because the filetype is not considered to be business related or
it contains "executable" code which could be destructive if run. Please note
the attachment has now been deleted.
Should the attachment contain business critical information then the sender
should use an alternative file format to deliver the information.

The original header content is included below
The following files were deleted:
        Thomas Crowe.vcf


==================================================================

==================================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en 
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht 
onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en 
de afzender direct te informeren door het bericht te retourneren. 
==================================================================
The information contained in this message may be confidential 
and is intended to be exclusively for the addressee. Should you 
receive this message unintentionally, please do not use the contents 
herein and notify the sender immediately by return e-mail.


==================================================================




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=4642&t=4642
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to