Sun Microsystems 4000 Whiteboard Accessories User Manual


 
34 Sun Crypto Accelerator 4000 Board Installation and User’s Guide May 2003
Note – In the examples in this user’s guide, N represents the instance number of the
device.
The device remains selected until you change the selection.
Noninteractive and Interactive Modes
You can use the ndd utility in two modes:
Noninteractive
Interactive
In noninteractive mode, you invoke the utility to execute a specific command. Once
the command is executed, you exit the utility. In interactive mode, you can use the
utility to get or set more than one parameter value. Refer to the ndd(1M) online
manual page for more information.
Using the ndd Utility in Noninteractive Mode
This section describes how to modify and display parameter values.
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 to the named /dev/vca driver instance, and assigns it to the
parameter:
When you change any adv parameter, a message similar to the following appears:
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:
# ndd -set /dev/vcaN parameter value
- link up 1000 Mbps half duplex
# ndd /dev/vcaN parameter