Using the ndd utility in interactive mode – Sun Microsystems FASTETHERNET 6U User Manual
Page 87
Appendix B
Configuring the Sun Quad FastEthernet Device Driver Parameters
69
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:
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:
●
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:
●
Type
q
to exit interactive mode.
# ndd /dev/qfe
name to get/set?
(Enter the parameter name or
?
to view all parameters)
# ndd /dev/qfe
name to get/set ? lance_mode
value ? 0
name to get/set ? q
#
# ndd /dev/qfe
name to get/set ? lance_mode
value ?
length ?
0
name to get/set ? q
#
name to get/set ? q
#