beautypg.com

Setting forced mode using the ndd utility, To set forced mode and disable autonegotiation – Sun Microsystems FASTETHERNET 6U User Manual

Page 88

background image

70

Sun Quad FastEthernet 6U CompactPCI Adapter Installation and User’s Guide • June 2000

Setting Forced Mode Using the

ndd

Utility

This section describes how to force a network speed over an interface (forced mode)
and to disable autonegotiation.

To Set Forced Mode and Disable Autonegotiation

1. Use the

ndd

utility to select the

qfe

instance that you want to set.

See “Identifying Device Instances” on page 65 for more information.

2. Select one of the four operational mode parameters (

adv_100fdx_cap

,

adv_100hdx_cap

,

adv_10fdx_cap

, or

adv_10hdx_cap

), and use the

ndd

utility

to set its value to 1.

For example, to set the 10 Mbps, half-duplex mode, you would set the

adv_10hdx_cap

parameter to

1

.

If you set more than one of the operational mode parameters to 1, the driver will
select the mode that is highest in the priority order (see “Operational Mode
Parameters” on page 62
for more information).

3. Use the

ndd

utility to disable autonegotiation by setting the

adv_autoneg_cap

parameter to 0.

# ndd -set /dev/qfe instance

instance-number

# ndd -set /dev/qfe adv_10hdx_cap 1

# ndd -set /dev/qfe adv_autoneg_cap 0