Hi Jing, This element wasn't ever documented, but I've just added some documentation. Hopefully you will find it useful.
http://read.cs.ucla.edu/gitweb?p=click;a=blob;f=elements/etherswitch/spantree.hh Eddie Jing Yuan wrote: > Thank Beyers for your quick help. > > I still have some problems. > > 1 For example, when I want to build a spanning tree among many(more than > 2)switches based on Click. How can I generate the BPDU packet? Does the > Switch still get the packet from the device and modify it to BPDU frame > format and then broadcast the modified packet(BPDU)? I have no clear idea to > configure this work. How does the EtherSpanTree element work when switch is > building a spanning tree among themselves? When configure a Ethernet Switch, > does each switch need an EtherSpanTree element? I have little knowledge on > Click and I am totally confused. > > 2 I still do not know the exact meanings of the parameter in EtherSpanTree. > Can anybody give me a detailed discription about this element? For example, > in st::EtherSpanTree(00:02:03:04:05:06, in, out, s), Does > "00:02:03:04:05:06"represent the MAC address of the switch? > > Best regards!Looking forward to your reply. I do appreciate your help very > much! > > -Jing > > 2010-01-18 > > > > Jing Yuan > > > > 发件人: Beyers Cronje > 发送时间: 2010-01-18 01:12:01 > 收件人: Jing Yuan > 抄送: click > 主题: Re: [Click] Question about Ethernet Switch Configuration > > Hi Jing, > > Look on page 69/70 of > http://pdos.csail.mit.edu/papers/click:kohler-phd/thesis.pdf for an > explanation and example of a Ethernet Switch configuration that includes > EtherSpanTree. There's also an example in click/conf directory called > kswitch.ipb > > Hope that helps. > > Beyers Cronje > > > On Mon, Jan 18, 2010 at 7:04 AM, Jing Yuan <[email protected]> wrote: > > Dear Click developers and users > > As I am familiarizing myself with Click and using Click worked as Ethernet > Switch to implement a protocol like SPT(Spanning Tree Protocol), I have some > questions about Click > > 1 I have designed a protocol and want to implement it on switch. So should I > install Click in some PCs (more than two) and use Click to configure them as > switch respectively? > > 2 My protocol is similar to STP. So I think maybe I can modify the > EtherSpanTree element, but there is no description about this element. Does > anybody have some experiences or examples about this element or some > instances of Ethernet switch which is configured with elements, such as > Supperssor, EtherSwitch and EtherSpanTree. > > I do need some detailed introductions and examples about EtherSpanTree > element. Can anybody help me and give me a > clear explanation on these questions? Thanks very much! > > All the best wishes for you! > Looking forward to your reply! > > -Jing > > 2010-01-17 > > > > Jing Yuan > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
