Sun Microsystems X1150A Installation And User Manual
Sun Microsystems X1150A Installation And User Manual

Sun Microsystems X1150A Installation And User Manual

Gigaswift ethernet adapter
Table of Contents

Advertisement

Quick Links

Sun Microsystems, Inc.
901 San Antonio Road
Palo Alto, CA 94303-4900 U.S.A.
650-960-1300
Part No. 816-1702-11
February
2003, Revision A
Send comments about this document to: docfeedback@sun.com
Sun
GigaSwift Ethernet
Adapter Installation and
User's Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sun Microsystems X1150A

  • Page 1 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303-4900 U.S.A. 650-960-1300 Part No. 816-1702-11 February 2003, Revision A Send comments about this document to: docfeedback@sun.com GigaSwift Ethernet ™ Adapter Installation and User’s Guide...
  • Page 2 Sun, Sun Microsystems, le logo Sun, AnswerBook2, docs.sun.com, SunVTS, OpenBoot, SunSwitch, Sun Blade, Sun Fire, Ultra, Sun Enterprise, Ultra Enterprise, et Solaris sont des marques de fabrique ou des marques déposées, ou marques de service, de Sun Microsystems, Inc. aux Etats- Unis et dans d’autres pays.
  • Page 3: Regulatory Compliance Statements

    FCC radio frequency emission limits. Networking connections can be made using unshielded twisted-pair (UTP) cables. Modifications: Any modifications made to this device that are not approved by Sun Microsystems, Inc. may void the authority granted to the user by the FCC to operate this equipment.
  • Page 4 ICES-003 Class A Notice - Avis NMB-003, Classe A This Class A digital apparatus complies with Canadian ICES-003. Cet appareil numérique de la classe A est conforme à la norme NMB-003 du Canada. ICES-003 Class B Notice - Avis NMB-003, Classe B This Class B digital apparatus complies with Canadian ICES-003.
  • Page 5: Bsmi Class A Notice

    BSMI Class A Notice The following statement is applicable to products shipped to Taiwan and marked as Class A on the product compliance label.
  • Page 6 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 7: Supplementary Information

    Palo Alto, CA 94303-4900 U.S.A. Tel: 650-786-3255 Fax: 650-786-3723 Declaration of Conformity GCC PCI Sun GigaSwift Ethernet UTP Adapter (X1150A) Class A 4 kV (Direct), 8 kV (Air) 3 V/m 1 kV AC Power Lines, 0.5 kV Signal and DC Power Lines 1 kV AC Line-Line and Outdoor Signal Lines 2 kV AC Line-Gnd, 0.5 kV DC Power Lines...
  • Page 8 viii Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 9 1 kV AC Line-Line and Outdoor Signal Lines 2 kV AC Line-Gnd, 0.5 kV DC Power Lines 1 A/m Pass Pass Pass DATE Peter Arkless Quality Manager Sun Microsystems Scotland, Limited Springfield, Linlithgow West Lothian, EH49 7LR Scotland, United Kingdom Tel: 0506-670000 X1151A) Fax: 0506-760011 DATE...
  • Page 10 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 11: Table Of Contents

    Contents Product Overview 1 Hardware Overview 1 Sun GigaSwift Ethernet MMF Adapter 2 LED Displays 2 Sun GigaSwift Ethernet UTP Adapter 3 LED Displays 3 Hardware and Software Requirements 5 Patch Requirements 5 Product Features 6 Key Protocols and Interfaces 6 Diagnostic Support 7 Installing the Adapter 9 Installing the Driver Software 9...
  • Page 12 Rebooting the System 20 Installing the Adapter With Dynamic Reconfiguration 21 To Install an Adapter in a Dynamic Reconfiguration System 21 Network Configuration 25 Configuring the Network Host Files 25 Setting Up a GigaSwift Ethernet Network on a Diskless Client System 27 To Set Up a GigaSwift Ethernet Port on a Diskless Client 27 Installing the Solaris Operating Environment Over a GigaSwift Ethernet Network 29...
  • Page 13 GigaSwift Ethernet Driver Operating Statistics 54 Reporting the Link Partner Capabilities 55 Configuring VLANs 63 An Overview of VLANs 63 Configuring VLANs 65 To Configure Static VLANs 66 Specifications Connectors 69 Performance Specifications 70 Physical Characteristics 71 Power Requirements 71 Diagnostic Software and Troubleshooting Issues 73 SunVTS Diagnostic Software 73 Using the OpenBoot PROM FCode Self-Test 74...
  • Page 14 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 15 Figures Sun GigaSwift Ethernet MMF Adapter 2 FIGURE 1-1 Sun GigaSwift Ethernet UTP Adapter 3 FIGURE 1-2 Connecting the Fiber Optic Cable 15 FIGURE 2-1 Cat-5 Twisted-Pair Cable 16 FIGURE 2-2 Example of Servers Supporting Multiple VLANs with Tagging Adapters 64 FIGURE 5-1 Ethernet Tag Header Format 66 FIGURE 5-2...
  • Page 16 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 17 Tables Front Panel Display LEDs for the MMF Adapter 2 TABLE 1-1 Front Panel Display LEDs for the UTP Adapter 4 TABLE 1-2 Files and Directories on the CD-ROM 10 TABLE 2-1 Device Link Parameters 34 TABLE 3-1 link-clock Capabilities for Link Up 34 TABLE 3-2 ce Driver Parameter, Status, and Descriptions 38 TABLE 4-1...
  • Page 18 Performance Sepcifications 70 TABLE A-3 Physical Characteristics 71 TABLE A-4 Power Requirements 71 TABLE A-5 Troubleshooting the GigaSwift Ethernet Adapter 78 TABLE B-1 xviii Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 19: How This Book Is Organized

    Preface The Sun GigaSwift Ethernet Adapter Installation and User’s Guide provides installation instructions for both the Sun GigaSwift Ethernet UTP adapter and the Sun GigaSwift Ethernet MMF adapter. This manual also describes how to configure the driver software. These instructions are designed for enterprise system administrators with experience installing network hardware and software.
  • Page 20: Typographic Conventions

    Using UNIX Commands This document may not contain information on basic UNIX procedures such as shutting down the system, booting the system, and configuring devices. See one or more of the following for this information: Solaris Handbook for Sun Peripherals AnswerBook2™...
  • Page 21: Shell Prompts

    Shell Prompts Shell C shell C shell superuser Bourne shell and Korn shell Bourne shell and Korn shell superuser Related Documentation Application PCI Adapter Installation Storage Device Installation Dynamic Reconfiguration Installation Diagnostic Software OpenBoot™ Commands Accessing Sun Documentation Online You can view, print, or purchase a broad selection of Sun documentation, including localized versions, at: http://docs.sun.com/db?p=prod/net.hard Prompt...
  • Page 22: Sun Welcomes Your Comments

    Sun Welcomes Your Comments Sun is interested in improving its documentation and welcomes your comments and suggestions. You can email your comments to Sun at: docfeedback@sun.com Please include the part number (816-1702-11) of your document in the subject line of your email.
  • Page 23: Product Overview

    C H A P T E R Product Overview This chapter provides a description of the Sun GigaSwift Ethernet adapter hardware and software. This chapter includes the following sections: “Hardware Overview” on page 1 “Hardware and Software Requirements” on page 5 “Patch Requirements”...
  • Page 24: Sun Gigaswift Ethernet Mmf Adapter

    Sun GigaSwift Ethernet MMF Adapter The Sun GigaSwift Ethernet MMF adapter is a single-port gigabit Ethernet fiber optics PCI Bus card. It operates in 1000 Mbps Ethernet networks only. Sun GigaSwift Ethernet MMF Adapter FIGURE 1-1 LED Displays Four LEDs are displayed on the front panel of Sun GigaSwift Ethernet MMF adapter. They are labeled on the front panel as shown in Front Panel Display LEDs for the MMF Adapter TABLE 1-1...
  • Page 25: Sun Gigaswift Ethernet Utp Adapter

    Sun GigaSwift Ethernet UTP Adapter The Sun GigaSwift Ethernet UTP adapter is a single-port gigabit Ethernet copper- based PCI Bus card. It can be configured to operate in 10, 100, or 1000 Mbps Ethernet networks. Sun GigaSwift Ethernet UTP Adapter FIGURE 1-2 LED Displays A total of nine LEDs are displayed on the front panel of the Sun GigaSwift Ethernet...
  • Page 26 equivalent to TX and RX of the PHY except that they indicate the state of the MAC instead and can be used for diagnostic purposes to isolate a PHY or a MAC failure on the board. Front Panel Display LEDs for the UTP Adapter TABLE 1-2 Label Link quality...
  • Page 27: Hardware And Software Requirements

    Hardware and Software Requirements Before using the Sun GigaSwift Ethernet adapter, make sure your system meets the following hardware and software requirements: Hardware and Software Requirements Hardware Sun Ultra™ 5, 10, 60, 80 Sun Enterprise™ 220R, 250, 450, 3000/3500, 4000/4500, 5000/ 5500, 6000/6500/6800, 10000, 15000 Sun Fire™...
  • Page 28: Product Features

    Patch-ID Number 112327-07 for Solaris 2.6 and 7 operating environments Patch-ID Number 111883-13 for Solaris 8 operating environments Install the latest version of the Patch-ID Number for example, the dash number -07 becomes higher with each new version of the patch. If you install Solaris 8 2/02 or any previous version of the Solaris operating environment after installing the Sun GigaSwift Ethernet driver software, you must install the latest version of the patch from the following web site:...
  • Page 29: Diagnostic Support

    Diagnostic Support User-executable self-test using OpenBoot™ PROM SunVTS diagnostic tool Chapter 1 Product Overview...
  • Page 30 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 31: Installing The Adapter

    C H A P T E R Installing the Adapter This chapter describes how to install the adapter in your system and how to verify that it has been installed correctly. This chapter contains the following sections: “Verifying Patches” on page 12 “Installing the Driver Software”...
  • Page 32 2. Insert the Sun GigaSwift Ethernet Driver 1.0 Update 1 CD into a CD-ROM drive that is connected to your system. If your system is running Sun Enterprise Volume Manager™, it should automatically mount the CD-ROM to the /cdrom/cdrom0 directory. If your system is not running Volume Manager, mount the CD-ROM as follows: # mkdir /cdrom # mkdir /cdrom/cdrom0...
  • Page 33 3. Install the software packages by typing the following at the command line, replacing the OS_VER with your version (2.6, 7, or 8) of the Solaris Operating Environment: # /usr/sbin/pkgadd -d /cdrom/cdrom0/GigaSwiftEthernet/Solaris_OS_VER/Packages/ For example, if your system is running the Solaris 8 Operating Environment, you would type the following: # /usr/sbin/pkgadd -d /cdrom/cdrom0/GigaSwiftEthernet/Solaris_8/Packages/ A menu similar to the following displays:...
  • Page 34: To Install Driver Software For Solaris 2.6 Operating Environments

    To Install Driver Software for Solaris 2.6 Operating Environments 1. Become superuser. 2. Insert the Sun GigaSwift Ethernet Driver 1.0 CD into a CD-ROM drive that is connected to your system. If your system is running Sun Enterprise Volume Manager™, it should automatically mount the CD-ROM to the /cdrom/cdrom0 directory.
  • Page 35 To verify patches for Solaris 8 operating environments, type the following. # showrev -p | grep 111883 The patch version should be -13 or greater. To verify patches for Solaris 9 operating environments, type the following. # showrev -p | grep 112817 The patch version should be -05 or greater.
  • Page 36: Installing The Adapter Without Dynamic Reconfiguration

    Installing the Adapter Without Dynamic Reconfiguration To Install the Adapter Note – The following instructions describe the basic tasks required to install the adapter. Refer to your system installation or service manual for detailed PCI adapter installation instructions. 1. Halt and power off your system. 2.
  • Page 37: Figure 2-1 Connecting The Fiber Optic Cable

    8. Applying even pressure at both corners of the adapter, push the PCI adapter until it is firmly seated in the slot. Caution – Do not use excessive force when installing the adapter into the PCI slot. You may damage the adapter’s PCI connector. If the adapter does not seat properly when you apply even pressure, remove the adapter and carefully reinstall it again.
  • Page 38: To Verify The Installation

    Cat-5 Twisted-Pair Cable FIGURE 2-2 To Verify the Installation After you have installed the Sun GigaSwift Ethernet adapter, but before you boot your system, perform the following tasks to verify the installation. Refer to the Solaris Handbook for Sun Peripherals manual or your Solaris documentation for the detailed instructions.
  • Page 39 2. List the network devices on your system. ok show-nets Use the show-nets command to list the system devices. You should see the full path name of the network devices, similar to the Ultra 30 system example below. In this example, the network@4 device is the Sun GigaSwift Ethernet adapter and the network@1,1 is the onboard Ethernet device.
  • Page 40 4. View the.properties file for a list of device properties. It might be difficult to tell if the devices on your network are GigaSwift Ethernet devices or other network interface cards. The.properties command displays the specific information about the installed adapter. At the ok prompt, use the .properties command to make sure that the device you just installed is connected to the network.
  • Page 41: Setting The Local-Mac-Address Property

    The phy-type will have its value assigned as follows: Media type phy-type Fiber Copper Note – If you are going to set the local-mac-address property, note the local-mac-address of your device at this time. See “Setting the local-mac- address Property” on page 19 for more information. Setting the local-mac-address Property Note –...
  • Page 42: Rebooting The System

    To Set the GigaSwift Ethernet Device Primary Boot Device Use this procedure only if you want the GigaSwift Ethernet device to be your primary boot device. 1. List the network devices on your system. ok show-nets a) /pci@1f,2000/pci@1/network@4 b) /pci@1f,4000/network@1,1 q) NO SELECTION Enter Selection, q to quit: q 2.
  • Page 43: Installing The Adapter With Dynamic Reconfiguration

    Installing the Adapter With Dynamic Reconfiguration If you have a Sun Enterprise system that supports dynamic reconfiguration (DR), you do not have to reboot your system after installing the adapter. The process of adding and configuring an adapter with DR involves (1) connecting the attachment point and (2) configuring its occupant.
  • Page 44 2. If the status of the slot is not “empty” or “disconnected”, type: # cfgadm -c disconnect sysctrl#:slot# where the sysctrl# = 0 for the Enterprise 10000 and slot#= the slot available for the adapter. For example, if you were installing the adapter into slot #3 on an Enterprise 10000, you would type the following: # cfgadm -c disconnect sysctrl0:3 3.
  • Page 45 Now the system is also aware of the usable devices which reside on the adapter and all devices may be mounted or configured to be used. If the command fails to connect and configure the adapter and slot (the status should be shown as “configured”...
  • Page 46 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 47: Network Configuration

    C H A P T E R Network Configuration This chapter describes how to edit the network host files after the adapter has been installed on your system. The chapter contains the following sections: “Configuring the Network Host Files” on page 25 “Setting Up a GigaSwift Ethernet Network on a Diskless Client System”...
  • Page 48 Use the ifconfig command to assign an IP address to the network interface. Type the following at the command line, replacing ip_address with the adapter’s IP address: # ifconfig ce0 plumb ip_address up Refer to the ifconfig(1M) man page and the Solaris documentation for more information.
  • Page 49: Setting Up A Gigaswift Ethernet Network On A Diskless Client System

    3. Create an appropriate entry in the /etc/hosts file for each active ce interface. For example: # cat /etc/hosts # Internet host table 127.0.0.1 localhost 129.144.10.57 zardoz 129.144.11.83 zardoz-11 Setting Up a GigaSwift Ethernet Network on a Diskless Client System Before you can boot and operate a diskless client system across a gigabit Ethernet network, you must first install the GigaSwift Ethernet software packages into the root directory of the diskless client.
  • Page 50 2. Insert the Sun GigaSwift Ethernet Driver 1.0 Update 1 CD into the server’s CD-ROM drive. The CD should automatically mount to the /cdrom/cdrom0 directory. If the CD did not get mounted to this directory, refer to “Installing the Driver Software” on page 9 for mounting instructions.
  • Page 51: Installing The Solaris Operating Environment Over A Gigaswift Ethernet Network

    Installing the Solaris Operating Environment Over a GigaSwift Ethernet Network The Solaris Advanced Installation Guide describes the full procedure for installing the Solaris operating environment over the network. The procedure below assumes that you have created an install server, which contains the image of the Solaris CD, and that you have set up the client system to be installed over the network.
  • Page 52 2. Find the root directory of the client system. The client system’s root directory can be found in the install server’s /etc/bootparams file. Use the grep command to search this file for the root directory. # grep client_name /etc/bootparams client_name root=server_name:/netinstall/Solaris_2.7/Tools/Boot install=server_name:/netinstall boottype=:in rootopts=:rsize=32768 In the example above, the root directory for the Solaris 7 client is /netinstall.
  • Page 53 6. Shut down and halt the client system. Use the shutdown command to display the OpenBoot (ok) prompt. # shutdown -i0 -g0 -y . . . (shutdown command messages omitted) . . . 7. At the ok prompt, use the show-nets command to find the device path of the GigaSwift Ethernet device.
  • Page 54 Booting in non-Auto-Negotiated verbose mode at 100 Mbps full duplex: ok boot /pci@1f,4000/network@4:speed=100,duplex=full, -v Booting in non-Auto-Negotiated verbose mode at 1000 Mbps half duplex link- clock master: ok boot /pci@1f,4000/network@4:speed=1000,duplex=half,link-clock=master Note – For link to be successfully established the link partner must be configured to 1000 Mbps half duplex link-clock slave.
  • Page 55: Booting Over The Gigaswift Ethernet Network

    11. Confirm that the network host files have been configured correctly during the Solaris installation. Although the Solaris software installation creates the client’s network configuration files, you may need to edit these files to match your specific networking environment. See “Configuring the Network Host Files” on page 25 for more information about editing these files.
  • Page 56 Device Link Parameters TABLE 3-1 Device Parameters speed duplex link-clock 1000 full master/slave 1000 half master/slave 1000 full auto 1000 half auto 1000 auto 1000 1000 auto full half auto full half auto auto full auto half auto auto auto auto auto link-clock Capabilities for Link Up...
  • Page 57 Following are examples showing the usage of the boot net command line with device parameters specified: To attempt to force the link-up while advertising 100 Mbps full duplex capability to the link partner: # boot net:speed=100,duplex=full, To attempt to force link-up while advertising 1000 Mbps full duplex link-clock master capibility to the link partner: # boot net:speed=1000,duplex=full,link-clock=master, Note –...
  • Page 58 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 59: Configuring Driver Parameters

    C H A P T E R Configuring Driver Parameters This chapter describes how to configure the driver parameters used by the Sun GigaSwift Ethernet adapter. This chapter contains the following sections: “GigaSwift Ethernet Device Driver Parameters” on page 37 “Setting ce Driver Parameters”...
  • Page 60: Driver Parameter V

    Note – The syntax for the Sun GigaSwift Ethernet driver parameters has changed. The syntax for parameters formerly included an underscore, for example, adv_autoneg_cap. The current syntax uses a dash instead, for example, adv-autoneg-cap. During the transition phase, either format is acceptable. However, be sure to check the Platform Notes: Sun GigaSwift Ethernet Device Driver in your version of the Solaris operating environment.
  • Page 61: Operational Mode Parameters

    ce Driver Parameter, Status, and Descriptions (Continued) TABLE 4-1 Parameter Status Read and write red-dv4to6k Read and write red-dv6to8k Read and write red-dv8to10k Read and write red-dv10to12k Read and write tx-dma-weight Read and write rx-dma-weight Read and write infinite-burst Read and write disable-64bit Operational Mode Parameters The following parameters determine the transmit and receive speed and duplex.
  • Page 62: Flow Control Parameters

    Operational Mode Parameters (Continued) TABLE 4-2 Parameter adv-100hdx-cap adv-10fdx-cap adv-10hdx-cap Note – If a parameter’s initial setting is 0, it cannot be changed. If you try to change it, it will revert back to 0. If all these parameters are set to 1, autonegotiation will use the highest speed possible.
  • Page 63 provides flow control keywords and describes their function. TABLE 4-3 Read-Write Flow Control Keyword Descriptions TABLE 4-3 Keyword Description The adapter supports asymmetric pause, which means it adv-asmpause-cap can pause only in one direction. 0=Off (default) 1=On This parameter has two meanings depending on the adv-pause-cap value of adv-asmpause-cap.
  • Page 64: Gigabit Link Clock Mastership Controls

    Gigabit Link Clock Mastership Controls The concept of link clock mastership introduced with one gigabit twisted-pair technology. This concept requires one side of the link to be the master that provides the link clock and the other to be the slave that uses the link clock. Once this relationship is established the link is up, and data can be communicated.
  • Page 65 If enable-ipg0 is disabled, the value of ipg0 is ignored and no additional delay is set. Only the delays set by ipg1 and ipg2 will be used. Disable enable-ipg0 if other systems keep sending a large number of back-to-back packets. Systems that have enable-ipg0 set might not have enough time on the network.
  • Page 66: Interrupt Parameters

    Interrupt Parameters describes the receive interrupt blanking values. TABLE 4-7 RX Blanking Register for Alias Read TABLE 4-7 Field Name rx-intr-pkts rx-intr-time Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003 Values Description 0 to 511 Interrupt after this number of packets have arrived since the last packet was serviced.
  • Page 67: Random Early Drop Parameters

    Random Early Drop Parameters describes the RX random early detection 8-bit vectors, which allows you to TABLE 4-8 enable random early drop (RED) thresholds. When received packets reach the RED range packets are dropped according to the preset probability. The probability should increase when the FIFO level increases.
  • Page 68: Pci Bus Interface Parameters

    PCI Bus Interface Parameters These parameters allow you to modify PCI interface features to gain better PCI performance for a given application. PCI Bus Interface Parameters TABLE 4-9 Parameter tx-dma-weight rx-dma-weight infinite-burst disable-64bit Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003 Description Determine the multiplication factor for granting credit to the TX side during a weighted round robin arbitration.
  • Page 69: Setting Ce Driver Parameters

    Setting ce Driver Parameters You can set the ce device driver parameters in two ways: Using the ndd utility Using the ce.conf file If you use the ndd utility, the parameters are valid only until you reboot the system. This method is good for testing parameter settings. To set parameters so they remain in effect after you reboot the system, create a /platform/sun4u/kernel/drv/ce.conf file and add parameter values to this file when you need to set a particular parameter for a device in the system.
  • Page 70: To Specify Device Instances For The Ndd Utility

    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.
  • Page 71 Using the ndd Utility in Noninteractive Mode This section describes how to modify and 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/ce driver instance, and assigns it to the parameter: # ndd -set /dev/ce parameter value...
  • Page 72: Setting The Autonegotiation Mode

    To list all the parameters supported by the ce driver, type ndd /dev/ce. (See TABLE 4-1 # ndd /dev/ce name to get/set ? ? instance adv_autoneg_cap adv_1000fdx_cap adv_1000hdx_cap adv_100T4_cap adv_100fdx_cap adv_100hdx_cap adv_10fdx_cap adv_10hdx_cap adv_asmpause_cap adv_pause_cap master_cfg_enable master_cfg_value use_int_xcvr enable_ipg0 ipg0 ipg1 ipg2 rx_intr_pkts...
  • Page 73: To Disable Autonegotiation Mode

    To Disable Autonegotiation Mode If your network equipment does not support autonegotiation, or if you want to specify your network speed, you can set autonegotiation to off on the ce device. Note – Disabling autonegotiation mode can cause collisions. 1. Set the following driver parameters to the values that are described in the documentation that shipped with your link partner (for example, a switch): adv-1000fdx-cap adv-1000hdx-cap...
  • Page 74: To Set Driver Parameters Using A Ce.conf File

    The man pages for prtconf(1M) and driver.conf(4) include additional details. The next procedure shows an example of setting parameters in a ce.conf file. To Set Driver Parameters Using a ce.conf File 1. Obtain the hardware path names for the ce devices in the device tree. a.
  • Page 75: Usability Enhancements To The Driver

    unit-address = “0” In the third line in the previous example: parent = “ pci@5 unit-address = “1” 2. Set the parameters for the above devices in the /platform/sun4u/kernel/drv/ce.conf file. In the following example, the adv_autoneg_cap and adv_1000fdx_cap parameters are set for all Sun GigaSwift Ethernet devices. (See the driver.conf(4) man page for more information.) adv-autoneg-cap=0 adv-1000fdx-cap=0;...
  • Page 76: Gigaswift Ethernet Driver Operating Statistics

    Then you had to get the link status: # ndd -get /dev/hme link-status Starting with the Sun GigaSwift Ethernet adapter in the Solarlis 9 operating environment this method of determining the link status is discouraged, and in some cases, it is removed completely as a driver feature. The new improved approach moves all read-only parameters from the ndd options into kstat.
  • Page 77 describes the read-only Media Independent Interface (MII) capabilities. TABLE 4-10 These parameters define the capabilities of the hardware. The Gigabit Media Independent Interface (GMII) supports all of the following capabilities. Read-Only ce Device Capabilities TABLE 4-10 Parameter Description (Local interface Capabilities) 0 = Not capable of autonegotiation cap_autoneg 1 = Autonegotiation capable...
  • Page 78: Reporting The Link Partner Capabilities

    Reporting the Link Partner Capabilities describes the read-only link partner capabilities. TABLE 4-11 Read-Only Link Partner Capabilities TABLE 4-11 Parameter lp_cap_autoneg lp_cap_1000fdx lp_cap_1000hdx lp_cap_100fdx lp_cap_100hdx lp_cap_10fdx lp_cap_10hdx lp_cap_asm_pause lp_cap_pause If the link partner is not capable of autonegotiation (when lp_cap_autoneg is 0), the remaining information described in value = 0.
  • Page 79 describes the netstat -k transmit and receive parameters: TABLE 4-12 Transmit and Receive Parameters TABLE 4-12 Parameter Description Number of Physical layer re-initializations every time you change link parameters using NDD this increments. xcvr_inits Revision ID of the GigaSwift Ethernet device useful for recognition rev_id of device being used in the field.
  • Page 80 Transmit and Receive Parameters TABLE 4-12 Parameter rx_new_hdr_pgs rx_new_mtu_pgs rx_new_nxt_pgs rx_hdr_drops rx_mtu_drops rx_nxt_drops rx_rel_flow Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003 Description Number of pages that were filled with packets less than 256 bytes that got replaced during reception. Number of pages that were filled with packets greater than 256 bytes and less than 1514 that got replaced during reception.
  • Page 81: To Check Link Partner Settings

    To Check Link Partner Settings If you are running Solaris 2.6, 7 or 8 operating evironment, type the netstat -k command as superuser: # netstat -k ce:0 ce0: ipackets 0 ipackets64 0 ierrors 0 opackets 0 opackets64 0 oerrors 0 collisions 0 rbytes 0 rbytes64 0 obytes 0 obytes64 0 multircv 0 multixmt 0 brdcstrcv 0 brdcstxmt 0 norcvbuf 0 noxmtbuf 0 first_collision 0 excessive_collisions 0 late_collisions 0 peak_attempts 0 length_err 0 alignment_err 0 crc_err 0 code_violations 0...
  • Page 82 CODE EXAMPLE 4-1 # kstat ce0 cap_10fdx cap_10hdx cap_asmpause cap_autoneg cap_pause code_violations collisions crc_err crtime excessive_collisions first_collision ierrors ifspeed ipackets ipackets64 ipackets_cpu00 ipackets_cpu01 ipackets_cpu02 ipackets_cpu03 late_collisions lb_mode length_err link_T4 link_asmpause link_duplex link_pause link_speed link_up lp_cap_1000fdx lp_cap_1000hdx lp_cap_100T4 lp_cap_100fdx lp_cap_100hdx lp_cap_10fdx lp_cap_10hdx lp_cap_asmpause lp_cap_autoneg...
  • Page 83 Output from kstat Command (Continued) CODE EXAMPLE 4-1 # kstat ce0 opackets64 pci_bad_ack_err pci_dmarz_err pci_dmawz_err pci_drto_err pci_err pci_parity_err pci_rma_err pci_rta_err peak_attempts promisc qos_mode rbytes rbytes64 rev_id rx_allocb_fail rx_hdr_drops rx_hdr_pkts rx_inits rx_len_mm rx_msgdup_fail rx_mtu_drops rx_mtu_pkts rx_new_hdr_pgs rx_new_mtu_pgs rx_new_nxt_pgs rx_new_pages rx_no_buf rx_no_comp_wb rx_nocanput rx_nxt_drops rx_ov_flow...
  • Page 84 CODE EXAMPLE 4-1 # kstat ce0 tx_inits tx_max_desc tx_max_pend tx_msgdup_fail tx_no_desc tx_nocanput tx_queue0 tx_queue1 tx_queue2 tx_queue3 tx_starts tx_uflo xcvr_addr xcvr_id xcvr_inits xcvr_inuse Additional Uses for the kstat Command Use the kstat command to discover link partner capabilities. # kstat ce:0 | grep lp_ lp_cap_1000fdx lp_cap_1000hdx lp_cap_100T4...
  • Page 85 Use the kstat command to discover link settings. # kstat ce:0 | grep link link_T4 link_asmpause link_duplex link_pause link_speed link_up 1000 Chapter 4 Configuring Driver Parameters...
  • Page 86 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 87: Configuring Vlans

    C H A P T E R Configuring VLANs This chapter explains VLANs in detail and provides configuration instructions and examples. VLANs: Virtual Local Area Networks (VLANs) are commonly used to split up groups of network users into manageable broadcast domains, to create logical segmentation of workgroups, and to enforce security policies among each logical segment.
  • Page 88: Figure

    Although VLANs are commonly used to create individual broadcast domains and/ or separate IP subnets, it is sometimes useful for a server to have a presence on more than one VLAN simultaneously. Several Sun products support multiple VLANs on a per port or per interface basis, allowing very flexible network configurations.
  • Page 89: Configuring Vlans

    The Main Server is a high-use server that needs to be accessed from all VLANs and IP subnets. The server has an Sun GigaSwift Ethernet adapter installed. All three IP subnets are accessed via the single physical adapter interface. The server is attached to one of the SunSwitch’s Gigabit Ethernet ports, which is configured for VLANs 1, 2, and 3.
  • Page 90: To Configure Static Vlans

    Tagging an Ethernet frame requires the addition of a tag header to the frame. The header is inserted immediately following the Destination MAC address and the Source MAC address. The tag header consists of two bytes of Ethernet Tag Protocol Identifier (TPID, 0x8100) and two bytes of Tag Control Information (TCI).
  • Page 91 2. Use the ifconfig(1M) to configure a VLAN virtual device, for example: # ifconfig ce123000 plumb up # ifconfig ce224000 plumb up The output of ifconfig -a on a system having VLAN devices ce123000 and ce224000: # ifconfig -a lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4>...
  • Page 92 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 93: Power Requirements

    A P P E N D I X Specifications This appendix lists the specifications for the Sun GigaSwift Ethernet adapter. It contains the following sections: “Connectors” on page 69 “Performance Specifications” on page 70 “Physical Characteristics” on page 71 “Power Requirements” on page 71 Connectors shows the connector for the Sun GigaSwift Ethernet MMF adapter.
  • Page 94: Performance Specifications

    shows the connector for the Sun GigaSwift Ethernet UTP adapter. FIGURE A-2 Sun GigaSwift Ethernet UTP Adapter Connector FIGURE A-2 Table A-2 lists the characteristics of the Cat-5 Connector used by the Sun GigaSwift Ethernet UTP adapter. Cat-5 Connector Link Characteristics TABLE A-2 Description Operating range...
  • Page 95: Physical Characteristics

    Physical Characteristics Physical Characteristics TABLE A-4 Dimension Length Width Power Requirements Power Requirements TABLE A-5 Specification Maximum power consumption Voltage Measurement 6.8 inches 4.2 inches Measurement 12 watts (MMF) 15 watts (UTP) 3.3V and 5V Appendix A Specifications...
  • Page 96 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 97: Diagnostic Software And Troubleshooting Issues

    A P P E N D I X Diagnostic Software and Troubleshooting Issues This appendix provides an overview of the SunVTS diagnostic application and instructions for testing the adapter using the onboard FCode self-test. There is also a section outlining some common troubleshooting issues. This appendix contains the following sections: “SunVTS Diagnostic Software”...
  • Page 98: Using The Openboot Prom Fcode Self-Test

    Using the OpenBoot PROM FCode Self- Test The following tests are available to help identify problems with the adapter if the system does not boot. You can invoke the FCode self-test diagnostics by using the OpenBoot user interface test or test-all commands. If you encounter an error while running diagnostics, appropriate messages will be displayed.
  • Page 99 4. Type show-nets to display the list of devices. You should see a list of devices, similar to the example below, specific to the adapter: ok show-nets a) /pci@1f,0/pci@1/network@4 b) /pci@1f,0/pci@1,1/network@1,1 q) NO SELECTION Enter Selection, q to quit: 5. Type the following to run the self-test using the test command: ok test device path The following tests are run when the test command is executed: ce register test (happens only when diag-switch? is true)
  • Page 100: Troubleshooting Issues

    7. Set the auto-boot? configuration parameter to true. ok setenv auto-boot? true 8. Reset and reboot the system. Refer to the appropriate OpenBoot Command Reference Manual for more information. Troubleshooting Issues Known Incompatibilities with Pre-IEEE 802.3z Network Switches You might experience interoperability issues when using the Sun GigaSwift Ethernet adapter with the SunSwitch switch, the Alteon ACE 110 switch, or other pre- or non-IEEE 802.3z standard compliant network equipment.
  • Page 101: To Set Autonegotiation To Off For Other Noncompliant Network Equipment

    2. At the Main# prompt, type cfg to display the Configuration menu and prompt (Configuration#). >> Main# cfg [Configuration Menu] System-wide parameter menu port Port configuration menu IP addressing menu vlan VLAN configuration menu Spanning Tree menu snmp SNMP menu setup - Step by step configuration set up dump...
  • Page 102: Failure To Configure Gigaswift Ethernet Instance

    2. Set the adv-autoneg-cap parameter to 0. Note – See Chapter 4 for the default values of these parameters and for instructions on how to set these parameters. Failure to Configure GigaSwift Ethernet Instance If your machine fails to configure a GigaSwift Ethernet instance, yet prtconf indicates the adapter is present, the problem may be due to residue adapter instances in the path_to_inst file.
  • Page 103: Problem With Dr Attach On Sun Enterprise Platforms

    Troubleshooting the GigaSwift Ethernet Adapter (Continued) TABLE B-1 Problem Description System panics in The GigaSwift Ethernet driver uses certain not Solaris 7 11/99 suspendable kernel threads. When CPR attempts to environment when suspend the driver, the system panics. Currently, CPR is CPR attempts to supported only in Sun desktop systems (for example, suspend a non-...
  • Page 104 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003...
  • Page 105: Index

    Index SYMBOLS .properties command, 18 .properties file, 18 /etc/hostname.cenumber file, 26 assigning an IP address, 26 autonegotiation setting disabling, 50 CAT-5 twisted-pair cable, 15 ce driver parameter, status, and descriptions, 38 configuring device driver parameters, 37 configuring the driver parameters, 37 configuring the network host files, 25 configuring VLANs, 65 device properties, 18...
  • Page 106 checking, 58 local-mac-address property, 19 MAC address, 19 mac-address property, 19 Media Access Control (MAC), 19 ndd utility, 48 nettest diagnostic, 73 NVRAM configuration, 19 operational mode parameters, 39 parameter values how to modify and display, 49 parameters and settings, 38 random early detection register, 45 receive interrupt blanking values, 39, 44 setting ce driver parameters...

This manual is also suitable for:

816-1702-11

Table of Contents