To Specify The Device Instance For The Ndd Utility; Non-Interactive And Interactive Modes - Sun Microsystems GigabitEthernet/S 2.0 Installation And User Manual

Table of Contents

Advertisement

To Specify the Device Instance for the ndd
Utility
1. Check the /etc/path_to_inst file to identify the instance associated with a
particular device.
# grep ge /etc/path_to_inst
"/sbus@b,0/network@2,100000" 0 "ge"
In the example above, the GigabitEthernet instance is from an adapter installed in a
perspective SBus slot.
2. Use the instance number to select the device.
# ndd -set /dev/ge instance instance#
The device remains selected until you change the selection.

Non-Interactive and Interactive Modes

You can use the ndd utility in two modes:
Non-interactive
Interactive
In non-interactive 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.)
Using the ndd Utility in Non-Interactive Mode
This section describes how to modify and to 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/ge driver instance, and assigns it to the
parameter:
# ndd -set /dev/ge parameter value
Chapter 3
Configuring Driver Parameters
21

Advertisement

Table of Contents
loading

Table of Contents