beautypg.com

To use the ndd utility in interactive mode, To use the – Sun Microsystems Ethernet PCI-X Adapter User Manual

Page 41

background image

Chapter 3

Configuring Driver Parameters

25

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/ixge

driver instance, and assigns the

value to the parameter:

When you change any 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, 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

To modify a parameter value in interactive mode, specify

ndd /dev/ixge

:

After you enter the parameter name, the

ndd

utility prompts you for the parameter

value (see

TABLE 3-1

through

TABLE 3-6

).

# ndd -set /dev/ixge

parameter value

ixge0: xcvr addr:0x01 - link up 10000 Mbps full duplex

# ndd /dev/ixge

parameter

# ndd /dev/ixge

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

parameters)