less05_DB_Replay
- 格式:ppt
- 大小:856.50 KB
- 文档页数:45


KSZ8795-POE-EVAL Board(KSZ8795CLX+KSZ9031RNX)Demo Evaluation Board User’s GuideKSZ8795 Family Integrated 5-port Managed Switch with 4 10/100 Copper Ports and Port 5 Gigabit port Rev 1.0 January 2015Table of contents1.0 Introduction (4)2.0 Features (4)3.0 Evaluation Kit Contents (4)4.0 Hardware Description (5)4.1 Strap in Mode (6)4.2 Feature Setting Jumpers (7)4.3 SPI Mode (8)4.4 10/100 Ethernet Ports (8)4.4 10/100/1000 Gigabit Ports (8)4.5 LED indicators (9)5.0 Software Tools Description (10)5.1 Introducing Application Software Tools (10)5.2 Window Driver Installation First (10)5.3 Installation Application Software Tools (13)5.4 DOS SPI Tool (15)5.5 Window SPI Software Tool (16)5.6 LinkMD Software Tool (17)6.0 Reference Documents (19)7.0 Bill of Material (19)8.0 Schematics (19)List of Figures and TablesFigure 1 KSZ8795-POE-EVAL Board (5)Figure 2 KSZ8795-POE-EVAL Board Block Diagram (6)Table 1 General Setting Jumpers (7)Table 2 Power Setting Jumpers (7)Table 3 LED Modes (9)Revision History1.0 IntroductionThe KSZ8795 family is Micrel Operations new generation integrated 5-port switch with Gigabit up-link. The KSZ8795CLX is one of KSZ8795 family. KSZ8795CLX contains four MAC/PHYs for four copper ports and one GMAC5 interface with configurable GMII/RGMII/MII/RMII interfaces. The device had been designed with cost sensitive systems in mind but still offers a multitude of new features such as port based security ACL filtering, 802.1az EEE, LinkMD and so on. Also support port and tag based VLAN; QoS priority; SPI and MDC/MDIO interfaces for the registers access. The KSZ8795 family is an excellent choice in broadband gateway applications, integrated broadband router applications, industrial automatic, automotive, etc. fields and as a standalone switch. The KSZ8795-POE-EVAL board is designed to allow the user to experience Gigabit up-link with KSZ9031 Gigabit PHY to Gigabit port of any processor board directly, and can provide PoE PSE power to other four ports. Other rich feature set can be evaluated on this board. The evaluation board is highly configurable and easy to use.2.0 Features∙Micrel KSZ8795 Integrated 5-port 10/100 Managed Ethernet Switch∙ 4 RJ-45 Jacks for 10/100Base-T/TX Ethernet LAN with Corresponding Isolation Magnetics. ∙Auto MDI/MDIX on All Ports.∙Port 5 SW5-RGMII hook-up with a KSZ9031RNX GPHY and provide a Gigabit port.∙Easily set to different VDDIO of 3.3V, 2.5V and 1.8V by jumpers.∙ 1 USB Port Interface Configurable to Emulate an SPI Interface for all registers access by using Window GUI and DOS based software tools.∙ 2 LEDs per Port with 5 LED sets to indicate the Status and Activity for 4 fast Ethernet ports and1 Gigabit port.∙The board powered can be used by a 12V DC power supply.3.0 Evaluation Kit ContentsThe KSZ8795-POE-EVAL Evaluation kit includes the following:∙KSZ8795-POE-EVAL Evaluation Board Rev. 1.x∙KSZ8795-POE-EVAL Ev aluation Board User’s Guide Rev 1.x∙Micrel SPI Configuration Software tools∙KSZ8795-POE-EVAL Evaluation Board Schematics and BOM∙KSZ8795-POE-EVAL PCB file, Gerber file and IBIS model∙The software, reference schematics and other design information will be found in the Design Kit (Design Package) of the KSZ8795 Ethernet switch products on Micrel website.(Contact your Micrel FAE for the latest schematic).∙One 12V DC power supply.∙The USB cable is not included.4.0 Hardware DescriptionThe KSZ8795-POE-EVAL evaluation board is in a compact form factor and can sit on a bench near a computer with USB connector. There are two options for configuration: strap in mode; SPI mode and Strap-in mode that is easily done with on board jumper options. SPI mode is accomplished through a built in USB port interface. You can configure the KSZ8795 device on board by the USB port. Using Micrel SPI software and your PC, you can access the KSZ8795’s full feature set registers by the USB to SPI interface. The board also features RGMII to hook up a KSZ9031RNX as a Gigabit uplink for Gigabit port 5.The KSZ8795-POE-EVAL evaluation board is easy to use. There are programmable LED indicators for link and activity on all ports and a power LED. A manual reset button allows the user to reset the board without removing the power plug. A standard 12VDC power supply can be used by the power jack so that the user can supply power from any 110-240 Volt AC wall or bench socket.Figure 1 KSZ8795-POE-EVAL BoardFigure 2 KSZ8795-POE-EVAL Board Block Diagram4.1 Strap in ModeStrap in configuration mode is the quickest and easiest way to get started. In the default mode, the KSZ8795 acts as a stand-alone 4 port switch and one RGMII up-link. 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 the convenient manual reset button for the new settings to take effect. Note that even if there is no external strap in values are set, internal pull up and pull down resistors will set the KSZ8795 default configuration. Section 4.1.1 covers each jumper on the board and describes its function.The KSZ8795 will start automatically after power up or reset.4.2 Feature Setting JumpersThe evaluation board provides jumpers to allow the user to easily set strap in configurations for the KSZ8795. Tables below describe the jumpers and their functions in the open or closed state.Table 1 General Setting JumpersTable 2 Power Setting Jumpers4.3 SPI ModeFrom SPI interface to the KSZ8795, use a USB to SPI converter that allows accessing all of the KSZ8795 features and registers. The user can easily access the SPI interface using a computer connected to the evaluation board’s USB port interface. Micrel provides a Windows GUI based program for the user to evaluate the KSZ8795’s full feature set. KSZ8795’s SP I interface will be able to access all static MAC table, the VLAN table, dynamic MAC address table, the MIB counters and all enhanced features.To prepare the KSZ8795CLXD-EVAL board for SPI mode configuration follow these steps:1. Copy the Micrel provided SPI interface software on your computer.2. KSZ8795-POE-EVAL board is fixed at SPI slave mode.3.Connect the computer’s USB port to the KSZ8795CLXD-EVAL board with a USB port cable.4.Connect the 12V DC power supply to J7 of the KSZ8795-POE-EVAL board.5.Open the Windows and navigate to the directory where the Window SPI file is stored. Click itsicon to invoke the software.6.Program the desired settings using the Micrel SPI interface software. See the softwareoperation description section for details.4.4 10/100 Ethernet PortsThere are five 10/100 Ethernet ports on the KSZ8795-POE-EVAL board. The ports J1, J2, J3 and J4 are the standard RJ45 connectors and using CAT-5 cables. Each port can be used as either an uplink or downlink. All ports support Auto-MDI/MDIX, so there is no need for cross over cables. J1 = RJ45 connector for port 1J2 = RJ45 connector for port 2J3 = RJ45 connector for port 3J4 = RJ45 connector for port 4JM1, JM2, JM3, JM4 and JS1, JS2, JS3, JS4 special connectors for Automotive used only.4.4 10/100/1000 Gigabit PortsThere is one KSZ9031RNX with 10/100/1000 Ethernet ports on the KSZ8795-POE-EVAL board. The ports RJ1 is the standard RJ45 connectors for port 5 and can connect to one Gigabit port of a processor platform by using CAT-5 cables. The port supports Auto-MDI/MDIX, so there is no need for the cross over cables.RJ1 = RJ45 connector for port 54.5 LED indicatorsEthernet Port LEDsThere are four columns of LED indicators on the board, one column for each of the four ports. The LED indicators are programmable to two different modes. You can program the LED mode through Register 11 bits [5:4]. The mode definitions are shown in Table below. There are two 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 3 LED ModesLED1_y are assigned to port 1LED2_y are assigned to port 2LED3_y are assigned to port 3LED4_y are assigned to port 4Gigabit Port LEDThe board also has a Gigabit port LED D3 to indicate the link-up speed for port 5.Green Color: 1G LinkRed Color: 100M LinkOrange Color: 10M LinkPower LEDThe board also has a power LED D7 for the 3.3V power supply. D7 LED indicates Power on and off.5.0 Software Tools Description5.1 Introducing Application Software ToolsThe Design Kit provides some software tools to support SPI access for all registers andMDC/MDIO access for MIIM registers. The installation file is located folders in the software tool directory within subdirectory of Window SPI_MDIO_Tools, this file name is MicrelSwitchPhyTool_x.xx.msi.5.2 Window Driver Installation FirstBefore use the Window based application software tool, the support drivers need to be installed to PC/Laptop first and this installation is just one times only. When connect one standard USB cable with type A and type B connectors between the evaluation board and PC computer first time, the Found New Hardware Wizard window will pop-up and then follow the instructions step by step as below.. Choose ‘No, not this time’ radio button and click the ‘Next’ button.Choose the ‘Install from a list or specific location (Advanced)’ radio button and click the ‘Next’ button.Click the ‘Include this location in the search’ check box, and use ‘Browse’ button to select the‘C:\MicrelEthernetChipConfig\D2XXDriver\CDM 2.02.04 WHQL Certified’ directory and click the ‘Next’ button. The window will install the drivers from this location.Click ‘Finish’ button. The Window will install another driver called ‘USB Serial Converter B’. After the drivers installed, Window Device Manager will show ‘USB Serial Converter A’ and ‘USB Serial Converter B’ as below figure. That means the installation successful.5.3 Installation Application Software ToolsIn the Design Kit, the installation file is located folders in the software tool directory within subdirectory of Window SPI_MDIO_Tools, this file name is MicrelSwitchPhyTool_x.xx.msi. Double click this file name, an installation Window will pop-up and then follow the instructions step by step as below.In this pop-up Window, this application software tools can be assigned to default Micrel directory in above window shown or is assigned to a specified folder what you want. Click ‘Next’ button, next Window will pop-up as below.Click ‘Next’ button to start the installation.Click ‘Close’ button to finish the installation. All application software tools are installed into the default Micrel directory or assigned directory in installation as below.5.4 DOS SPI ToolThis is a simple and powerful tool to access all register. The tool located in the default or assigned folder in the installation. There is an USBSPI.exe file which can be executed directly by clicking its icon. Before run the software tool, the SPI jumper setting should follows Table 5 in 4.3 SPI mode section and USB cable is plugged in both KSZ8795-POE-EVAL board and PC/Laptop. After click its icon, a DOS Window will pop up as follow:T ype a ‘help’ and press Enter, all commands will display as follows,For Read or Write registers, reg is the offset address of the register, value is Hex number.The ‘run file’ command can execute multiple commands by a script file, the script file is a .txt file which can be created by any edit tools.run xxxx.txt //will run the .txt script file.5.5 Window SPI Software ToolThis is a powerful tool to access all register. The tool located in the default or assigned folder in the installation. There is a MicrelSwitchConfigApp.exe file which can be executed directly by clicking its icon.Before run the software tool, the SPI jumper setting should follows Table 5 in 4.3 SPI mode section and USB cable should be plugged in both KSZ8795CLXD-EVAL board and PC/Laptop. After click its icon, a GUI Window will pop up as follow:The default is SPI interface to do switch configuration. From the device selection window to select any devices then press ‘Continue’ button or click ‘Continue’ button directly, the software tool can detect devices automatically. A control Window will be pop up as follow.All register can be read/ written in the window.The control Window includes all application registers, static MAC table, VLAN table, dynamic table and MIB counters that are supported by SPI. The software can save and open the configuration file as a back-up.5.6 LinkMD Software ToolThis is a simple and powerful tool to test Micrel LinkMD feature. The tool is in the installation folder. There is a LinkMDUSB.exe file which can be executed directly by clicking its icon.After click the icon of this executed file, a GUI Window will pop up as follow:Select one part and clik ‘Next’ button, using SPI interface and clik ‘Next’ button again, pop up a test windown as below:An example for CAT-5 cable diagnostic with open on port 1, just clic k ‘TEST’ button, a test result shows as below.The test result shows both MDIX mode for pair 3-6 and MDI mode for 1-2 pair. The detail LinkMD diagnostic testing configuration is described in the datasheet.6.0 Reference DocumentsKSZ8795CLX Data Sheets (Contact Micrel for Latest Datasheet), KSZ8795 Design Package includes all design information as a Design kit. The Design Kit will be found on Micrel website (Contact Micrel for the updates).7.0 Bill of MaterialPlease see the detail BOMs in the BOM folder of the hardware design package for theKSZ8795-POE-EVAL Boards.8.0 SchematicsPlease see the schematics of the evaluation board and reference design in the schematicsfolder of the hardware design package (Design kit) for the KSZ8795-POE-EVAL Board. Magnetics Vendors:See the datasheets for the recommendation.MICREL, INC. 1849 FORTUNE DRIVE SAN JOSE, CA 95131 USA TEL +1 (408) 944-0800 FAX +1 (408) 474-1000 WEB http:/ The information furnished by Micrel in this data sheet is believed to be accurate and reliable. However, no responsibility is assumed by Micrel for its use. Micrel reserves the right to change circuitry and specifications at any time without notification to thecustomer.Micrel Products are not designed or authorized for use as components in life support appliances, devices or systems where malfunction of a product can reasonably be expected to result in personal injury. Life support devices or systems are devices or systems that (a) are intended for surgical implant into the body or (b) support or sustain life, and whose failure to perform can be reasonably expected to result in a signi ficant injury to the user. A Purchaser’s use or sale of Micrel Products for use in life support appliances, devices or systems is a Purchaser’s own risk and Purchaser agrees to fully indemnify Micrel for any damagesresulting from such use or sale.© 2015 Micrel, Incorporated.。
链路聚合报错udld error detected err disable处理经验链路聚合报错udlderrordetectederr-disable处理经验链接聚合错误UdleErrorDetectedErr disable1、环境结构:Cisco4507用于聚合1,h3c5560用于聚合2。
聚合1的G4/6和G4/11分别与聚合2的T1/0/51和T1/0/52连接并聚合。
2、故障现象:(1)汇聚2设备H3C聚合T1/0/51、T1/0/52端口指示灯亮灭,每分钟来回切换一次(2)登录到汇聚1设备,检查聚合的g4/6和g4/11端口状态,两个端口down/up来回切换,一分钟左右切换一次3.失败的设备日志:*sep816:39:50.845:ì-5-unbundle:interfacegi4/11lefttheport-channelpo5*sep816:39:51.617:ì-5-bundle:interfacegi4/6 JoinedPort-channelpo5*sep816:40:20.845:%pm-4-err_recover:attemptingtorecoverfromudlderr-disablestateongi4/11*sep816:40:27.837:%udld-4-udld_uu端口_u禁用:udlddisabledinterfacegi4/6,检测到单向链接*sep816:40:27.837:%pm-4-err_disable:udlderrordetectedongi4/6,puttinggi4/6inerr-disablestate4.接口配置:汇聚设备1cisco4507,g4/6和g4/11interfacegigabitethernet4/6描述Sysc_uz1q_uuC5560_uT1/0/51 SwitchPortTrunkAllowedVLAN956994999101SwitchPortModeTrunkIPAccess-groupacl-virusinipaccess-groupacl-VirusOutspeedNoneGottateUDLDPort攻击性通道-protocollacpchannel-group5modeactiveinterfacegigabitethernet4/11描述YSC_uuz1q_uuc560_uu5;T1/0/52 SwitchPortTrunkAllowedVLAN956994999101SwitchPortModelTrunkIPAccess组ACL病毒间隔组ACL病毒超出速度协商PortaggregateTechnel协议通道组5模式聚合设备2h3c5560t1/0/51和T1/0/52interfaceten-gigabitethernet1/0/51portlink-modebridge来自cysc-txgs-4506\ge4/6portlink类型中继的描述porttrunkpermitvlan19569949991101portlink-aggregationgroup5interfaceten-gigabitethernet1/0/52portlink-modebridge来自cysc-txgs-4506\ge4/11端口链接类型中继的描述porttrunkpermitvlan19569949991101portlink-aggregationgroup54、故障分析:根据上述情况,基本确定故障原因:(1)由于聚合链路两端使用了不通厂商的设备,而cisco4507设备开启了udid(单项链路检测,cisco思科私有二层协议)功能,链路故障而导致udid将接口down掉,并不断来回切换(2)思科将errdetect扩展到STP和聚合,将在与其他制造商的互连中导致难以解释的问题5、故障定位聚合链路中两条链路的传输质量差异很大,UDID将其误认为是单链路传输,并来回切换,导致网络中断。
broadcast-probe reply disablebroadcast-probe reply disable是一种网络设置的功能,它可以禁用网络广播探测的回复。
广播探测是广播一条消息,然后等待网络上所有的设备回复,以确定网络上的设备数量和类型。
这可以帮助管理员识别网络中的设备并进行故障排查。
然而,在某些情况下,禁用广播探测的回复可能是有用的。
一种常见的情况是在网络中存在大量的设备,这样会导致广播探测的回复产生大量的网络流量。
在某些情况下,网络流量可能会造成网络拥塞,并影响正常的网络通信。
此时,禁用广播探测的回复可以有效减少网络流量,提高网络的性能和稳定性。
另一种情况是在网络中存在安全隐患的情况下,禁用广播探测的回复可以增加网络的安全性。
广播探测的回复可以泄露网络上存在的设备,包括类型、版本等信息,这可能会被黑客用来进行网络攻击和入侵。
通过禁用广播探测的回复,可以减少黑客获取有关网络设备的信息的机会,从而提高网络的安全性。
为了禁用广播探测的回复,可以按照以下步骤进行操作:1. 登录到网络设备的管理界面。
这通常需要管理员账户和密码。
2. 寻找关于广播探测的配置选项。
这在不同的设备上可能有所不同,可以参考设备的用户手册或询问设备制造商的技术支持。
3. 在广播探测的配置选项中,找到相关的设置项。
可能会有一个名为"broadcast-probe reply"的选项。
4. 将该选项的值设置为"disable"。
有些设备可能使用其他关键字或选项来实现相同的功能,可以根据设备的文档或技术支持找到正确的设置。
5. 保存更改并重新启动网络设备。
在重新启动后,网络设备将禁止回复广播探测。
需要注意的是,禁用广播探测的回复可能会影响一些网络的功能和管理任务。
例如,一些网络管理工具可能依赖广播探测来识别设备并进行管理操作。
在禁用广播探测的回复之前,应该对网络进行细致的分析和评估,以确保禁用这个功能不会对网络的正常运行造成不利影响。