12 Platform Notes: The Sun GigabitEthernet Device Driver March 1999
To Use the ndd Utility in Non-Interactive Mode
This section describes how to modify and to display parameter values.
1. To modify a parameter value, use the -set option.
If you invoke the ndd utility with the -set option, the utility passes value, which
must be specified down to the named /dev/ge driver instance, and assigns it to the
parameter:
2. To display the value of a parameter, specify the parameter name (and omit the
value).
When you omit the -set option, a query operation is assumed and the utility
queries the named driver instance, retrieves the value associated with the specified
parameter,and prints it:
To Use the ndd Utility in Interactive Mode
Tomodify a parameter value in interactive mode, specify ndd /dev/ge, as shown
below.
The ndd utility then prompts you for the name of the parameter:
To View the ge Driver Parameters
After entering the parameter name, the ndd utility prompts you for the parameter
value (see TABLE1 through TABLE 8).
#ndd -set /dev/ge parameter value
#ndd /dev/ge parameter
#ndd /dev/ge
name to get/set? (Enter the parameter name or ? to view all
parameters)