beautypg.com

Using the ndd utility in interactive mode – Sun Microsystems 805-1797-10 User Manual

Page 49

background image

Using the

ndd

Utility in Interactive Mode

1. To modify a parameter value in interactive mode, specify

ndd /dev/qfe

, as

shown below.

The

ndd

utility then prompts you for the name of the parameter:

# ndd /dev/qfe
name to get/set?

(Enter the parameter name or ? to view all parameters)

After entering the parameter name, the

ndd

utility prompts you for the parameter

value (see Table C–1 through Table C–8).

1. To list all the parameters supported by the

qfe

driver, type

ndd /dev/qfe \?

.

(See Table C–1 through Table C–8 for parameter descriptions.)

CODE EXAMPLE C–1

Example of Listing All Parameters Supported by the

qfe

Driver

# ndd /dev/qfe \?

?

(read only)

transceiver_inuse

(read only)

link_status

(read only)

link_speed

(read only)

link_mode

(read only)

ipg1

(read and write)

ipg2

(read and write)

use_int_xcvr

(read and write)

pace_size

(read and write)

adv_autoneg_cap

(read and write)

adv_100fdx_cap

(read and write)

adv_100hdx_cap

(read and write)

adv_10fdx_cap

(read and write)

adv_10hdx_cap

(read and write)

autoneg_cap

(read only)

100fdx_cap

(read only)

100hdx_cap

(read only)

10fdx_cap

(read only)

10hdx_cap

(read only)

lp_autoneg_cap

(read only)

lp_100fdx_cap

(read only)

lp_100hdx_cap

(read only)

lp_10fdx_cap

(read only)

lp_10hdx_cap

(read only)

instance

(read and write)

lance_mode

(read and write)

ipg0

(read and write)

#

Configuring the Quad FastEthernet Device Driver Parameters

35