Sun Microsystems 6U manual Using the ndd Utility in Interactive Mode

Models: 6U

1 106
Download 106 pages 54.73 Kb
Page 87
Image 87
Using the ndd Utility in Interactive Mode

Using the ndd Utility in Interactive Mode

To modify a parameter value in interactive mode, start the utility as shown below. The ndd utility prompts for the name of a parameter:

#ndd /dev/qfe

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

After you type the parameter name, the ndd utility prompts for the parameter value. For example, if you want to disable LANCE mode, you would type:

#ndd /dev/qfe

name to get/set ? lance_mode value ? 0

name to get/set ? q

#

To display a parameter value, start the ndd utility, type a parameter name, and press the Return key until the value is displayed.

Press the Return key at the value and length prompts to display the current value of a selected parameter. For example, to display the value of the lance_mode parameter, you would type:

#ndd /dev/qfe

name to get/set ? lance_mode value ?

length ? 0

name to get/set ? q

#

Type q to exit interactive mode.

name to get/set ? q

#

Appendix B Configuring the Sun Quad FastEthernet Device Driver Parameters 69

Page 87
Image 87
Sun Microsystems 6U manual Using the ndd Utility in Interactive Mode