To Use The Ndd Utility In Noninteractive Mode; To Use The Ndd Utility In Interactive Mode - Sun Microsystems GigaSwift Ethernet Adapter Installation And User Manual

Gigaswift ethernet adapter
Table of Contents

Advertisement

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) man page
for more information.

To Use 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, down to the named /dev/ce driver instance, and assigns the
value to the parameter:
# ndd -set /dev/ce parameter value
When you change any parameter, a message similar to the following appears:
ce0: xcvr addr:0x01 - link up 1000 Mbps full duplex
To display the value of a parameter, specify the parameter name and omit the
value.
When you omit the -set option, the utility queries the named driver instance,
retrieves the value associated with the specified parameter, and prints it:
# ndd /dev/ce parameter

To Use the ndd Utility in Interactive Mode

To modify a parameter value in interactive mode, specify ndd /dev/ce:
# ndd /dev/ce
name to get/set? (Enter the parameter name or ? to view all
parameters)
After you enter the parameter name, the ndd utility prompts you for the parameter
value (see
48
Sun GigaSwift Ethernet Adapter Installation and User's Guide • August 2004
through
TABLE 4-1
TABLE 4-12
).

Advertisement

Table of Contents
loading

This manual is also suitable for:

GcsGfs

Table of Contents