1*10491SRishi.Srivatsavai@Sun.COM 2*10491SRishi.Srivatsavai@Sun.COM 3*10491SRishi.Srivatsavai@Sun.COMThe Rapid Spanning Tree Library project contains a full implementation 4*10491SRishi.Srivatsavai@Sun.COMof 802.1s as an library with API. There is two processes, using this 5*10491SRishi.Srivatsavai@Sun.COMlibrary: 'bridge' & 'mngr'. First simulates RSTP bridge behavior, second 6*10491SRishi.Srivatsavai@Sun.COMis dedicated to link/unlink 'bridges' into virtual RSTP domain (VRSTPD). 7*10491SRishi.Srivatsavai@Sun.COMBoth 'bridge' & 'mngr' has its own simple CLI like language of commands; 8*10491SRishi.Srivatsavai@Sun.COMthese commands allow to manage the VRSTPD. There are tools to trace 9*10491SRishi.Srivatsavai@Sun.COMstate machine transitions and get traps about drastic changes. 10*10491SRishi.Srivatsavai@Sun.COM 11*10491SRishi.Srivatsavai@Sun.COMPurpose: studying, debugging, development. 12*10491SRishi.Srivatsavai@Sun.COM 13*10491SRishi.Srivatsavai@Sun.COMThe library may be used in real bridges/routers while bounding to a real 14*10491SRishi.Srivatsavai@Sun.COMsystem depending environment. 15*10491SRishi.Srivatsavai@Sun.COM 16*10491SRishi.Srivatsavai@Sun.COMTo run: 17*10491SRishi.Srivatsavai@Sun.COM1. In one shell run 'mngr' 18*10491SRishi.Srivatsavai@Sun.COM./mngr 19*10491SRishi.Srivatsavai@Sun.COMYou will get prompt of 'mngr'; type '?' and get full help of 20*10491SRishi.Srivatsavai@Sun.COM'mngr' commands. 21*10491SRishi.Srivatsavai@Sun.COM 22*10491SRishi.Srivatsavai@Sun.COM2. In another shell run bridge instance. 23*10491SRishi.Srivatsavai@Sun.COM./bridge 24*10491SRishi.Srivatsavai@Sun.COMYou will get prompt of 'bridge'; type '?' and get full help 25*10491SRishi.Srivatsavai@Sun.COMof bridge management commands. 26*10491SRishi.Srivatsavai@Sun.COM 27*10491SRishi.Srivatsavai@Sun.COM3. You may (and should) run a number of bridge instances, each in its 28*10491SRishi.Srivatsavai@Sun.COMseparate shell (this way you will be able manage them). 29*10491SRishi.Srivatsavai@Sun.COM 30*10491SRishi.Srivatsavai@Sun.COMFor example, if there were two bridge instances, you may see examples 31*10491SRishi.Srivatsavai@Sun.COMof the dialog in files mngr.txt, B5055.txt and B5056.txt. 32*10491SRishi.Srivatsavai@Sun.COM 33*10491SRishi.Srivatsavai@Sun.COMNote: prompt both of 'mngr' and of 'bridge' instance contains time stamp, 34*10491SRishi.Srivatsavai@Sun.COMwhile all these process run onto the same computer, these time stamps 35*10491SRishi.Srivatsavai@Sun.COMare synchronized. 36*10491SRishi.Srivatsavai@Sun.COM 37*10491SRishi.Srivatsavai@Sun.COM 38