Sun Microsystems X1150A To Configure Static VLANs, Vlan logical PPA = 1000 * VID + Device PPA

Page 90
FIGURE 5-2

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

shows the Ethernet Tag Header format.

 

 

 

 

 

 

 

 

Octet

 

 

 

 

 

 

 

 

 

1

 

 

 

TPID (0x8100

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

3 bits

1

12 bytes

 

3

 

 

 

 

bit

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User_

 

priority

 

 

 

 

 

 

 

CFI

VID

 

 

FIGURE 5-2Ethernet Tag Header Format

By default, a single VLAN is configured for every port, which groups all ports into the same broadcast domain, just as if there were no VLANs at all, VLAN tagging for the switch port turned off.

Note If you configure a VLAN virtual device for an adapter, all traffic sent or received by that adapter must be in VLAN-tagged format.

To Configure Static VLANs

1.Create one hostname6.cenum file for each VLAN which will be configured for each adapter on the server, using the following naming format that includes both the VID and the physical point of attachment (PPA):

VLAN logical PPA = <1000 * VID> + <Device PPA>

ce123000 = 1000*123 + ce

This format limits the maximum number of PPAs (instances) you can configure to 1000 in the /etc/path_to_inst file.

For example, on a server with the Sun GigaSwift Ethernet adapter having an instance of 0, that belongs to a member of two VLANs, with VID 123 and 224, you would use ce123000 and ce224000, respectively, as the two VLAN PPAs.

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

Image 90
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 ParametersDiagnostic Software and Troubleshooting Issues Configuring VLANsSpecifications IndexPage Figures Page Tables Performance Sepcifications Preface How This Book Is OrganizedUsing Unix Commands Typographic ConventionsAccessing Sun Documentation Online Shell PromptsRelated Documentation Sun Welcomes Your Comments Product Overview Hardware OverviewLED Displays Link is in Full Duplex modeSun GigaSwift Ethernet MMF Adapter 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 displaysVerifying Patches Patch version should be -07 or greater# showrev -p grep Patch version should be -13 or greater Patch version should be -05 or greaterInstalling the Adapter Without Dynamic Reconfiguration To Install the AdapterSave the filler panel screw for Step 1Connecting the Fiber Optic Cable To Verify the Installation 2Cat-5 Twisted-Pair CableList the network devices on your system Ok show-netsOk cd /pci@1f,0/pci@1/network@4 View the.properties file for a list of device properties Ok .propertiesSetting the local-mac-addressProperty Phy-typewill have its value assigned as followsOk setenv local-mac-address? true Rebooting the System Ok setenv boot-device /pci@1f,2000/pci@1/network@4Ok boot -r States and conditions should be Installing the Adapter With Dynamic ReconfigurationTo Install an Adapter in a Dynamic Reconfiguration System # cfgadm# cfgadm -v -c configure sysctrl#slot# # cfgadm -c disconnect sysctrl#slot## cfgadm -c disconnect sysctrl03 # drvconfig devlinks disks ports tapes Configure the adapter and slotReconfigure the devices on the adapter 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 To Set Up a GigaSwift Ethernet Port on a Diskless Client # cat /etc/hostsExport/root/clientname Edit the hosts in the diskless client’s root directory Network Configuration # grep clientname /etc/bootparams Find the root directory of the client system# cd /cdrom/cdrom0/GigaSwiftEthernet/Packages # ls SUNWce Use the shutdown command to display the OpenBoot ok prompt Shut down and halt the client system# shutdown -i0 -g0 -y Proceed with the Solaris operating environment installation Ok boot /pci@1f,4000/network@4speed=100,duplex=full# 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=100,duplex=full # boot netspeed=1000,duplex=full,link-clock=master# 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 Descriptions4Forced Mode Parameter Gigabit Link Clock Mastership ControlsInterpacket Gap Parameters 5Parameters Defining enable-ipg0and ipg0 Interrupt Parameters 7describes the receive interrupt blanking values7RX 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 UtilityDevice remains selected until you change the selection To Specify Device Instances for the ndd UtilityUse the instance number to select the device # ndd -set /dev/ce instance instance## ndd -set /dev/ce parameter value To modify a parameter value, use the -setoptionNdd utility then prompts you for the name of the parameter # ndd /dev/ce parameterSetting the Autonegotiation Mode Setting Parameters Using the ce.conf File Set the adv-autoneg-capparameter to# ndd -set /dev/ce adv-autoneg-cap To Set Driver Parameters Using a ce.conf File Second line in the previous example# grep ce /etc/pathtoinst Save the ce.conf file Usability Enhancements to the DriverThird line in the previous example # ndd -set /dev/hme instance# ndd -get /dev/hme link-status GigaSwift Ethernet Driver Operating StatisticsThen you had to get the link status # kstat cen grep linkup10Read-Only ce Device Capabilities Reporting the Link Partner Capabilities 11describes the read-only link partner capabilities11Read-Only Link Partner Capabilities 12describes the netstat -k transmit and receive parameters 12Transmit and Receive Parameters12Transmit and Receive Parameters Code Example 4-1Output from kstat Command # netstat -k ce0# 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.3zPerformance Specifications Table A-2Cat-5 Connector Link CharacteristicsTable A-3Performance Sepcifications Physical Characteristics Power RequirementsTable A-5Power Requirements Page Diagnostic Software Troubleshooting Issues SunVTS Diagnostic SoftwareReset the system Using the OpenBoot Prom FCode Self- TestRunning the Ethernet FCode Self-Test Diagnostic Shut down the systemOk setenv diag-switch? false Type show-netsto display the list of devicesOk test /pci@1f,0/pci@1/network@4 Reset and reboot the system Troubleshooting IssuesSet the auto-boot?configuration parameter to true Ok setenv auto-boot? trueType the following to apply and save your changes Adv-pause-capFailure to Configure GigaSwift Ethernet Instance Non-Specific IssuesTable B-1Troubleshooting the GigaSwift Ethernet Adapter Add the following lines to the /etc/system file Problem with DR Attach on Sun Enterprise PlatformsReboot system Set drdetachsafelist1=ce set hswpsuspendsafelist1=cePage Symbols Index