Sun Microsystems 806-2989-10 manual To Specify Device Instances for the ndd Utility

Page 54

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.)

Using the ndd Utility in Noninteractive Mode

This section describes how to modify and display parameter values.

34 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2001

Image 54
Contents Sun GigaSwift Ethernet Adapter Installation User’s Guide Please Recycle Regulatory Compliance Statements FCC Class a NoticeFCC Class B Notice ICES-003 Class a Notice Avis NMB-003, Classe a ICES-003 Class B Notice Avis NMB-003, Classe BBsmi Class a Notice Page Declaration of Conformity Product NameSun GigaSwift Ethernet UTP Adapter X1150AEN550221998 / CISPR221997 Page Contents Configuring Driver Parameters Configuring VLANsSpecifications Diagnostic Software and Troubleshooting Issues IndexPage Figures Page Tables Page Preface How This Book Is OrganizedUsing Unix Commands Typographic ConventionsAccessing Sun Documentation Online Shell PromptsRelated Documentation Ordering Sun Documentation Sun Welcomes Your CommentsProduct Overview Hardware OverviewSun GigaSwift Ethernet UTP Adapter 1Sun GigaSwift Ethernet UTP AdapterProduct Features Hardware and Software RequirementsKey Protocols and Interfaces Diagnostic Support Installing the Adapter Installing the Driver SoftwareBecome superuser 1Files and Directories on the CD-ROM See -1to identify the optional packages Installing the Adapter Without Dynamic Reconfiguration To Install the AdapterTo Verify the Installation 1Cat-5 Twisted-Pair CableList the network devices on your system View the .properties file for a list of device properties Ok .propertiesSetting the local-mac-addressProperty To Set the GigaSwift Ethernet Device Primary Boot DeviceRebooting the System Installing the Adapter With Dynamic Reconfiguration To Install an Adapter in a Dynamic Reconfiguration SystemIf the status of the slot is not empty or disconnected, type Configure the adapter and slot Reconfigure the devices on the adapterConnect the adapter and slot Network Configuration Configuring the Network Host FilesEtc/hostname.ce1 # cat /etc/hosts To Set Up a Diskless Client on a GigaSwift Ethernet Network Edit the hosts in the diskless client’s root directoryNetwork Configuration # grep clientname /etc/bootparams Find the root directory of the client systemProceed with the Solaris operating environment installation Shut down and halt the client system# pkginfo grep SUNWce Configuring Driver Parameters GigaSwift Ethernet Device Driver ParametersDriver Parameter Values and Definitions 1ce Driver Parameter, Status, and DescriptionsOperational Mode Parameters Operational Mode ParametersFlow Control Parameters 3Read-Write Flow Control Keyword DescriptionsGigabit Forced Mode Parameter 4Forced Mode ParameterInterpacket Gap Parameters 5defines the enableipg0 and ipg0 parameters 5Parameters Defining enableipg0 and ipg07RX Blanking Register for Alias Read Interrupt ParametersRandom Early Drop Parameters 8RX Random Early Detecting 8-Bit VectorsPCI Bus Interface Parameters 9PCI Bus Interface ParametersSetting ce Driver Parameters Setting Parameters Using the ndd UtilityTo Specify Device Instances for the ndd Utility Noninteractive and Interactive ModesUse the instance number to select the device Using the ndd Utility in Interactive Mode To modify a parameter value, use the -setoptionSetting the Autonegotiation Mode Setting Parameters Using the ce.conf File To Disable Autonegotiation ModeSet the advautonegcap parameter to To Set Driver Parameters Using a ce.conf File Etc/pathtoinst fileGigaSwift Ethernet Driver Operating Statistics 10Read-Only ce Device CapabilitiesReporting the Link Partner Capabilities 11Read-Only Link Partner Capabilities12Transmit and Receive Parameters Rxnewpages rxnewhdrpgs To Check Link Partner Settings As superuser, type the netstat -kcommandPage Configuring VLANs An Overview of VLANs1shows an example network that uses VLANs Configuring VLANs To Configure Static VLANs 2Ethernet Tag Header Format# ifconfig ce123000 plumb up # ifconfig ce224000 plumb up Page Specifications ConnectorsTable A-1Cat-5 Connector Link Characteristics Power Requirements Performance SpecificationsPhysical Characteristics Table A-2Performance SpecificationsDiagnostic Software Troubleshooting Issues SunVTS Diagnostic SoftwareReset the system Using the OpenBoot Prom FCode Self- TestRunning the Ethernet FCode Self-Test Diagnostic Shut down the systemType show-netsto display the list of devices Troubleshooting Issues Set the auto-boot?configuration parameter to trueReset and reboot the system Type the following to apply and save your changes Adv1000fdxcap Adv1000hdxcap AdvpauseTX AdvpauseRX Symbols Index