To Specify Device Instances For The Ndd Utility - Sun Microsystems X1150A Installation And User Manual

Gigaswift ethernet adapter
Table of Contents

Advertisement

To Specify Device Instances for the ndd Utility

Before you use the ndd utility to get or set a parameter for a ce 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.
# grep ce /etc/path_to_inst
"/pci@1f,2000/pci@1/network@0" 2 "ce"
"/pci@1f,2000/pci@2/network@0" 1 "ce"
"/pci@1f,2000/pci@4/network@0" 0 "ce"
In the example above, the three GigaSwift Ethernet instances are from the installed
adapters. The instance numbers are in bold italics for clarity.
2. Use the instance number to select the device.
# ndd -set /dev/ce instance instance#
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) man page
for more information.)
48
Sun GigaSwift Ethernet Adapter Installation and User's Guide • February 2003

Advertisement

Table of Contents
loading

This manual is also suitable for:

816-1702-11

Table of Contents