background image

KS8995MA Evaluation Board User’s Guide 

Micrel Inc. Confidential 

Page 20 

11/3/2006 

Interpretation of results: The RxLoPriorityByte counter is incremented for all ports because 
the priority feature is not turned on. All packets are considered low priority. Port 1 shows 
100000 CRC error packets and 100000 64 byte packets received. Note that the Rx64Octets 
counter increments even when the packets have CRC errors. Port 2’s counter show 100000 
fragments received, which is consistent with the packets sent from the smartbits tester.  A 
fragment is defined as a packet that is less than the minimum packet size and has a CRC 
error. The undersized packet is defined as a packet that is less than the minimum packet size, 
but has a valid CRC. Port 3 shows 100000 undersized packets.  Port 4’s counter shows 
100000 oversize packets. An oversized packet is defined as a packet larger than the 
maximum packet size.  

6.2 Tag Based VLAN  

The KS8995MA supports 16 different tag based VLANs. There are 12 bits in the IEEE 
802.1Q VLAN ID field, allowing for 4096 different VLAN ID’s.  The KS8995MA supports 
16 active VLANs. Any one of the 4096 available VLAN ID’s can be specifed as one of 16 
active VLANs in the KS8995MA. If a non-tagged packet or a null VID packet is received, 
the KS8995MA will use the ingress port’s programmable default VID for look up.  

 

Figure 6 Tagged Ethernet Packet 

 

 

The following scenario demonstrates how to use the tagged based VLAN feature in the 
KS8995MA. The objective is to create two separate VLANs and show that they are isolated 
from one another. VLAN 1 will have in its membership ports 1, 2, 3 and 5. VLAN 2 will 
have in its membership ports 4 and 5. If an incoming packet is not tagged, the KS8995MA 
has a feature that will use the ingress port’s default VID for port forwarding. The 
KS8995MA also has an optional feature to discard packets whose VID port membership in 
the VLAN table does not include the ingress port.  

 

 

Summary of Contents for KS8995MA

Page 1: ...KS8995MA Evaluation Board User s Guide Micrel Inc Confidential Page 1 11 3 2006 KS8995MA Evaluation Board User s Guide KS8995MA Integrated 5 port 10 100 Ethernet Managed Switch Rev 1 7 October 2006...

Page 2: ...9 4 3 SPI Mode 10 4 4 10 100 Ethernet Ports 11 4 5 LED indicators 11 4 6 MII Port Configuration 11 5 0 Software Description 13 5 1 EEPROM Programming Software 13 5 2 SPI Interface Software 17 6 0 Adv...

Page 3: ...16 Figure 5 MIB Counter Screen 19 Figure 6 Tagged Ethernet Packet 20 Figure 7 VLAN Screen 22 Figure 8 Rate Limit Screen 26 Figure 9 Port Mirror Screen 28 Table 1 Feature Setting Jumpers 8 Table 2 Rese...

Page 4: ...nged references restructured procedures 1 2 3 14 02 Updated SPI Commands 1 3 4 22 02 Incorporated Windows SPI GUI Updated PSPI command list Added WPSPI procedures 1 4 5 21 02 Removed JP9 thru JP23 to...

Page 5: ...45 Jacks for Ethernet LAN and WAN Interfaces with Corresponding Isolation Magnetics Auto MDI MDIX On All Ports 1 PHY Mode and 1 MAC Mode MII Connector for the Switch MII Interface 1 PHY Mode MII Conne...

Page 6: ...l feature set The board also features two MII connectors for the Switch MII interface These are to facilitate connections from the switch to either an external CPU or an external PHY There is also an...

Page 7: ...The user has to simply set the board s configuration jumpers to the desired settings and apply power to the board The user can also change jumper settings while power is applied to the board and press...

Page 8: ...wer down KS8995MA JP25 PMRXD3 Enable TX flow control Disable TX RX flow control JP26 PMRXD2 Disable Back Pressure Enable Back Pressure JP27 PMRXD1 Drop excessive collision packets Do not drop excessiv...

Page 9: ...JP39 Test1 Open JP40 Test2 Open JP43 FXSD5 Closed JP44 FXSD4 Closed 4 2 EEPROM Mode The evaluation board has an EEPROM to allow the user to explore more extensive capabilities of the KS8995MA The user...

Page 10: ...st CPU connected to the KS8995MA s SPI interface will be able to access all static MAC entries the VLAN table dynamic MAC address table and the MIB counters To prepare the KS8995MA evaluation board fo...

Page 11: ...bit 1 The mode definitions are shown in Table 5 There are three LEDs per port The naming convention is LEDx_y where x is the port number and y is the number of the LED for that port Table 5 LED Modes...

Page 12: ...ader pins The connections between the header pins and the SNI signals are shown in the table Table 7 The PHY5 MII port is used to connect to an external MAC or CPU This port is only in PHY mode Table...

Page 13: ...in decimal followed by the value in hex Contents of default data data data data data data data data data data data 0 55 1 95 2 f0 3 0 4 0 5 c0 6 0 7 c1 8 1f 9 1f 10 1f 11 1f 12 1f 13 80 14 1 15 80 16...

Page 14: ...the default values in one step 8 Read KS8995MA registers Not used 9 Exit Use this command to close the program Please see the KS8995MA Datasheet for all register descriptions Be sure to press the manu...

Page 15: ...e Micrel Inc Confidential Page 15 11 3 2006 Figure 2 Run KEEPROM software Click the File menu and open a default95M data file the default values will display on the window of the KEEPROM as shown in F...

Page 16: ...fy all registers values based on the Modify window and register number for KS8995MA configuration Once you finish the modification and configuration click OK and click the Download function in Tool me...

Page 17: ...port mirroring features of the KS8995MA The graphical interface does not allow access to the KS8995MA s full register set but gives the user an easy and comprehensive way to configure the KS8995MA for...

Page 18: ...to the end of each packet PSPI Procedure 1 Connect the smartbits tester to the KS8995MA with standard CAT 5 cables Connect smartbits port 1 to port 1 on the KS8995MA evaluation board Connect Smartbit...

Page 19: ...igure the Smartbits tester by opening the mib prf file Transmit a few packets from the Smartbits tester to ports 1 4 by pressing the SMB group start button This is so the switch can learn the addresse...

Page 20: ...larger than the maximum packet size 6 2 Tag Based VLAN The KS8995MA supports 16 different tag based VLANs There are 12 bits in the IEEE 802 1Q VLAN ID field allowing for 4096 different VLAN ID s The...

Page 21: ...tag removal on ports 1 2 3 and 4 Please see the vlan txt script for more details on eMAct register settings 6 Configure the Smartbits tester with the vlan prf configuration file This file will set up...

Page 22: ...cast packets tagged with VLAN ID 1 from port 1 2 or 3 to all ports The broadcast packets should only be received on VLAN 1 ports 1 2 3 and 5 8 Broadcast packets tagged with VLAN ID 2 from port 4 to al...

Page 23: ...t IGMP packets on ports 1 to 4 PSPI Procedure 1 Connect the smartbits tester to the KS8995MA with standard CAT 5 cables Connect port 1 from the smartbits to port 1 on the KS8995MA and port 2 on the Sm...

Page 24: ...pecial Tag Insertion Forwarded to Port 5 From Type Field Port 1 8101 Port 2 8102 Port 3 8104 Port 4 8108 WPSPI Procedure There is no WPSPI procedure for special tagging mode Interpretation of Results...

Page 25: ...les the rate limiting feature Please see the rtlimit txt script for more details and the eMAct register settings 6 Configure the Smartbits tester with the rtlimit prf configuration file 7 Open the Sma...

Page 26: ...nits 32 768 bits s per unit 51 1 Mbps 8 Transmit packets continuously from port 2 to port 1 at line rate You should see packets transmitted to port 2 at about 49 864 packets s 49 864 packets s 64 byte...

Page 27: ...d port B would be designated as the tx sniff port All packets transmitted from port B will be forwarded to port A the sniffer port 3 Receive and Transmit Mirroring Port A is designated as the sniffer...

Page 28: ...d packets from ports 1 2 and 3 so that the switch can learn their addresses Then stop transmission and clear the Smartbits counters 7 Send 100 000 packets from the Smartbits tester to port 2 50 000 de...

Page 29: ...apture packets on port 1 again when sending these You will notice that even error packets can be forwarded to the sniffer port by the switch in the KS8995MA In normal operation error packets would not...

Page 30: ...only option available use the following layer stacking ________________ layer 1 component side 1 oz copper ______5mil______ layer 2 GND plane 1 oz copper ________________ layer 3 power plane 1 oz cop...

Page 31: ...aces The chassis ground should be isolated from the rest of the circuitry 12 Fill up the unused area on the top and bottom sides of the PCB with GND plane 13 Add TVS transient suppression device at th...

Page 32: ...N4004 12 1 D6 1N4148 13 6 FB1 FB2 FB3 FB4 FB5 FB6 FBEAD 14 25 JP1 JP2 JP3 JP4 JP5 JP6 JP JP7 JP8 JP24 JP25 JP26 JP27 JP28 JP29 JP30 JP31 JP32 JP33 JP34 JP35 JP36 JP37 JP38 JP43 JP44 15 4 JP39 JP40 JP4...

Page 33: ...N 34 7 TP1 TP8 TP9 TP10 TP11 TP12 TP13 TP14 TP15 TP16 TP17 TP18 TP19 TP20 TP 35 1 T1 QUAD 36 1 T2 SINGLE 37 1 U1 74F125 38 1 U2 AT24C02 39 1 U3 KS8995MA 40 1 U4 MIC 39150 1 8BT 41 1 U5 MIC 39100 3 3BS...

Page 34: ...Port Dump port control and status registers associated to port number Port dtos Dump TOS Priority Control registers dmac Dump MAC address registers di Dump Indirect Access Control registers ddt Dump...

Page 35: ...s is not specified z Reset all MIB counters except dropped packet MIB counters MICREL INC 1849 FORTUNE DRIVE SAN JOSE CA 95131 USA TEL 1 408 944 0800 FAX 1 408 474 1000 WEB http www micrel com The in...

Reviews: