您好,欢迎访问三七文档
低端交换机架构简介DisclaimerStatements•AboutPeteroguang–Peterorguangisnotthebestmarketingguy.–Pleasecontactpeterorguangwhenuneedswitch.•AboutRouter–Routerissimple.–RouterisnotsosimpleasdescribedinthisPPT.•AboutPPT–Pig-likePresales’Tools.–Itisanerror-not-free&final-versionPPT.–ItisatypicalJFFPPT.转发控制管理功能分解系统软件操作系统硬件基础SW-TableSW-LogicMACPHYMAC-LearningSW-TableTablecontrolSignaling:-configure-stplikeprotocol-UI:CLI/SNMP/TR069-SystemManager-ProtocolModuleManageTaskManagerArchitectureManagerR-registers:Hardcounters/stateregInterrupt/ExceptionManagerOS-BasicservicecoredopraTask-manQueue-manTimer-manINT/EXEmanMemory-manW-registers:controlSummary•硬件结构•软件结构•关键流程硬件结构典型低端交换机硬件架构CPLD:粘合逻辑CPLDCPUDev1Dev2LocalbusLEDRSTWDGADTCPU:PPC8241交换芯片:BCM5645-1交换芯片:BCM5645-2软件结构ros结构USER执行流管理内存管理中断&异常管理insdatastkTDinsdatastkTDinsdatastkTDinsdatastkTDKERNELdopras-code调度器createrunkillmodifydopramallocfreemalloc323232646464128128128102410241024dopraaddstubdelstubinsdatastkinsstkdatavectorsetvectorexeint系统软件结构关键流程主机数据流Intheveryoldpast…XMac-PhyFWTaskPINThndEnablesndtoLink12notifyrxdmaint3456PPPPPPPPPNowadays…RdWrINThndMac-PhyFWTask表管理流程片外缓存交换芯片ddrpcidmavendor-sdkdriverProtocolVendor原语协议驱动交换芯片异常管理流程………………..………………..LOADR3,R17JZMPR3………………..0x000AdatatextstackVSIFmac_rcvIp_fastswArp_procSPIPTCBIP=0x000ASP=0xA00AR1=0x000BR2=0xAB0AR30=0xXXXXR31=0xXXXXstorecontext,Callhook;RestorecontextVectorExceptionTaskosprocessing,Calldorprahook;resetCloseDogSaveContexttoNVRAMSetEXERebootFlagDumpMemoryPushCTRL-KcliRESETROSExe-handleDorpraExe-handle
本文标题:低端交换机培训
链接地址:https://www.777doc.com/doc-966142 .html