To Specify The Device Instance For The Ndd Utility; Non-Interactive And Interactive Modes - Sun Microsystems Solaris 7 User Manual

Platform notes: the sun gigabitethernet device driver
Table of Contents

Advertisement

To Specify the Device Instance for the ndd
Utility
Before you use the ndd utility to get or set a parameter for a ge device, you must
specify the device instance for the utility.
1. Check the /etc/path_to_inst file to identify the instance associated with a
particular device.
For Sun GigabitEthernet/P:
# grep ge /etc/path_to_inst
"/pci@4,4000/network@4" 2 "ge"
"/pci@6,2000/network@1" 1 "ge"
"/pci@4,2000/network@1" 0 "ge"
In this example, the three GigabitEthernet instances are from the adapters installed
in perspective PCI slots.
For Sun GigabitEthernet/S:
# grep ge /etc/path_to_inst
"/sbus@b,0/network@2,100000" 0 "ge"
In this example, 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_number
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.)
Installing and Configuring the ge Device Driver
11

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Solaris 7 and is the answer not in the manual?

Questions and answers

Table of Contents