This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
EtherSpanTree -- Click element; 802.1d Ethernet spanning tree implementation
EtherSpanTree(ADDR, INPUT_SUPPRESSOR, OUTPUT_SUPPRESSOR, SWITCH)
Ports: any number of inputs, the same number of outputs
Package: etherswitch (core)
Implements the IEEE 802.1d spanning tree algorithm for Ethernet switches. Expects 802.1d control packets on its inputs and reacts by selectively suppressing forwarding on an associated EtherSwitch. ADDR is the address of this Ethernet switch. SWITCH is the name of an EtherSwitch element that actually switches packets. INPUT_SUPPRESSOR and OUTPUT_SUPPRESSOR are two Suppressor elements; they should be placed upstream and downstream of the SWITCH. The EtherSpanTree, Suppressor, and EtherSwitch elements should all have the same numbers of inputs and outputs, equal to the number of ports in the switch.
from_port0, from_port1 :: FromDevice...; to_port0, to_port1 :: ToDevice...; span_tree :: EtherSpanTree(00-1f-29-4d-f8-31, in_supp, out_supp, switch); switch :: EtherSwitch; in_supp, out_supp :: Suppressor; from_port0 -> c0 :: Classifier(14/4242, -); // ethertype 802.1d, others from_port1 -> c1 :: Classifier(14/4242, -); q0 :: Queue -> to_port0; q1 :: Queue -> to_port1; c0  ->  span_tree  -> q0; c1  ->  span_tree  -> q1; c0  ->  in_supp  ->  switch  ->  out_supp  -> q0; c1  ->  in_supp  ->  switch  ->  out_supp  -> q1;
Generated by 'click-elem2man' from '../elements/etherswitch/spantree.hh:10' on 12/Jul/2011.