Sun Microsystems X1150A View the.properties file for a list of device properties, Ok .properties

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. Your output may look different from the following example:

ok .properties

 

 

 

 

 

assigned-addresses

82002010

00000000 01000000 00000000 00200000

 

82002030

00000000

01200000 00000000 00100000

d-fru-len

00 00 00

00

 

 

 

d-fru-off

00 00 e8

00

 

 

 

d-fru-dev

eeprom

 

 

 

 

s-fru-len

00 00 08

00

 

 

 

s-fru-off

00 00 e0

00

 

 

 

s-fru-dev

eeprom

 

 

 

 

compatible

70 63 69

31

30 38

65 2c 61 62 62

61 2e 31 31 00

reg

00002000

00000000 00000000 00000000 00000000

 

02002010

00000000

00000000 00000000 00200000

 

02002030

00000000

00000000 00000000 00100000

address-bits

00 00 00

30

 

 

 

max-frame-size

00 00 40

00

 

 

 

network-interface-type ethernet

 

 

 

 

device_type

network

 

 

 

 

name

network

 

 

 

 

local-mac-address

08 00 20

aa bb cc

 

 

version

Sun PCI Gigaswift 1000Base-T FCode 2.11 02/09/23

phy-type

mif

 

 

 

 

board-model

501-5525

 

 

 

 

model

SUNW,pci-ce

 

 

 

fcode-rom-offset

00000000

 

 

 

 

66mhz-capable

 

 

 

 

 

fast-back-to-back

 

 

 

 

 

devsel-speed

00000002

 

 

 

 

class-code

00020000

 

 

 

 

interrupts

00000001

 

 

 

 

 

00000002

 

 

 

 

 

00000003

 

 

 

 

 

00000004

 

 

 

 

max-latency

00000040

 

 

 

 

min-grant

00000040

 

 

 

 

revision-id

00000011

 

 

 

 

device-id

0000abba

 

 

 

 

vendor-id

0000108e

 

 

 

 

 

 

 

 

 

 

18 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003

Image 40
Contents Sun GigaSwift Ethernet Adapter Installation User’s Guide Please Recycle Regulatory Compliance Statements FCC Class a NoticeICES-003 Class a Notice Avis NMB-003, Classe a Bsmi Class a Notice Page Declaration of Conformity European UnionPage Declaration of Conformity Page Contents Network Configuration Configuring Driver ParametersConfiguring VLANs SpecificationsDiagnostic Software and Troubleshooting Issues IndexPage Figures Page Tables Performance Sepcifications Preface How This Book Is OrganizedUsing Unix Commands Typographic ConventionsShell Prompts Accessing Sun Documentation OnlineRelated Documentation Sun Welcomes Your Comments Product Overview Hardware OverviewLink is in Full Duplex mode Sun GigaSwift Ethernet MMF AdapterLED Displays 1Front Panel Display LEDs for the MMF AdapterSun GigaSwift Ethernet UTP Adapter 2Sun GigaSwift Ethernet UTP Adapter2Front Panel Display LEDs for the UTP Adapter Hardware and Software Requirements Patch RequirementsProduct Features Key Protocols and InterfacesDiagnostic Support Page Installing the Driver Software Become superuser1Files and Directories on the CD-ROM Select the packages you want to install Menu similar to the following displaysPatch version should be -07 or greater Verifying Patches# showrev -p grep Patch version should be -13 or greater Patch version should be -05 or greaterTo Install the Adapter Installing the Adapter Without Dynamic ReconfigurationSave the filler panel screw for Step 1Connecting the Fiber Optic Cable To Verify the Installation 2Cat-5 Twisted-Pair CableOk show-nets List the network devices on your systemOk cd /pci@1f,0/pci@1/network@4 View the.properties file for a list of device properties Ok .propertiesPhy-typewill have its value assigned as follows Setting the local-mac-addressPropertyOk setenv local-mac-address? true Ok setenv boot-device /pci@1f,2000/pci@1/network@4 Rebooting the SystemOk boot -r Installing the Adapter With Dynamic Reconfiguration To Install an Adapter in a Dynamic Reconfiguration SystemStates and conditions should be # cfgadm# cfgadm -c disconnect sysctrl#slot# # cfgadm -v -c configure sysctrl#slot## cfgadm -c disconnect sysctrl03 Configure the adapter and slot Reconfigure the devices on the adapter# drvconfig devlinks disks ports tapes Connect the adapter and slotPage Configuring the Network Host Files Use the ifconfig command to setup the adapter’s ce interface# ifconfig ce0 plumb ipaddress up # cat /etc/hosts To Set Up a GigaSwift Ethernet Port on a Diskless ClientExport/root/clientname Edit the hosts in the diskless client’s root directory Network Configuration Find the root directory of the client system # grep clientname /etc/bootparams# cd /cdrom/cdrom0/GigaSwiftEthernet/Packages # ls SUNWce Shut down and halt the client system Use the shutdown command to display the OpenBoot ok prompt# shutdown -i0 -g0 -y Ok boot /pci@1f,4000/network@4speed=100,duplex=full Proceed with the Solaris operating environment installation# pkginfo grep SUNWce Booting Over the GigaSwift Ethernet Network Ok boot device-pathspeed=s,duplex=d,link-clock=c,promiscuous1Device Link Parameters 2link-clockCapabilities for Link Up# boot netspeed=1000,duplex=full,link-clock=master # boot netspeed=100,duplex=full# boot netspeed=1000,duplex=auto,link-clock=auto Page Configuring Driver Parameters GigaSwift Ethernet Device Driver ParametersDriver Parameter Values and Definitions 1ce Driver Parameter, Status, and DescriptionsOperational Mode Parameters Operational Mode Parameters2Operational Mode Parameters Flow Control Parameters3provides flow control keywords and describes their function 3Read-Write Flow Control Keyword DescriptionsGigabit Link Clock Mastership Controls 4Forced Mode ParameterInterpacket Gap Parameters 5Parameters Defining enable-ipg0and ipg0 7describes the receive interrupt blanking values Interrupt Parameters7RX Blanking Register for Alias Read Random 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 Use the instance number to select the deviceDevice remains selected until you change the selection # ndd -set /dev/ce instance instance#To modify a parameter value, use the -setoption Ndd utility then prompts you for the name of the parameter# ndd -set /dev/ce parameter value # ndd /dev/ce parameterSetting the Autonegotiation Mode Set the adv-autoneg-capparameter to Setting Parameters Using the ce.conf File# ndd -set /dev/ce adv-autoneg-cap Second line in the previous example To Set Driver Parameters Using a ce.conf File# grep ce /etc/pathtoinst Usability Enhancements to the Driver Third line in the previous exampleSave the ce.conf file # ndd -set /dev/hme instanceGigaSwift Ethernet Driver Operating Statistics Then you had to get the link status# ndd -get /dev/hme link-status # kstat cen grep linkup10Read-Only ce Device Capabilities 11describes the read-only link partner capabilities Reporting the Link Partner Capabilities11Read-Only Link Partner Capabilities 12describes the netstat -k transmit and receive parameters 12Transmit and Receive Parameters12Transmit and Receive Parameters # netstat -k ce0 Code Example 4-1Output from kstat Command# kstat Ce0 # kstat ce0 # kstat ce0 Use the kstat command to discover link partner capabilities # kstat ce0 grep lpUse the kstat command to discover link settings # kstat ce0 grep linkPage Configuring VLANs An Overview of VLANs1shows an example network that uses VLANs Configuring VLANs To Configure Static VLANs Vlan logical PPA = 1000 * VID + Device PPA# ifconfig ce123000 plumb up # ifconfig ce224000 plumb up # ifconfig -aPage Connectors Table A-1SC Connector Link Characteristics Ieee P802.3zTable A-2Cat-5 Connector Link Characteristics Performance SpecificationsTable A-3Performance Sepcifications Power Requirements Physical CharacteristicsTable A-5Power Requirements Page Diagnostic Software Troubleshooting Issues SunVTS Diagnostic SoftwareUsing the OpenBoot Prom FCode Self- Test Running the Ethernet FCode Self-Test DiagnosticReset the system Shut down the systemType show-netsto display the list of devices Ok setenv diag-switch? falseOk test /pci@1f,0/pci@1/network@4 Troubleshooting Issues Set the auto-boot?configuration parameter to trueReset and reboot the system Ok setenv auto-boot? trueType the following to apply and save your changes Adv-pause-capNon-Specific Issues Failure to Configure GigaSwift Ethernet InstanceTable B-1Troubleshooting the GigaSwift Ethernet Adapter Problem with DR Attach on Sun Enterprise Platforms Reboot systemAdd the following lines to the /etc/system file Set drdetachsafelist1=ce set hswpsuspendsafelist1=cePage Symbols Index