This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
EtherSwitch -- Click element; learning, forwarding Ethernet switch
EtherSwitch([keywords TIMEOUT])
Ports: any number of inputs, the same number of outputs
Processing: push
Package: etherswitch (core)
Expects and produces Ethernet packets. Each pair of corresponding ports (e.g., input 0 and output 0, and input 1 and output 1, and so forth) corresponds to a LAN. Acts as a learning, forwarding Ethernet switch among those LANs. On receiving a packet on input port I with source address A, EtherSwitch associates A with I. Future packets destined for A are sent to output I (unless they came from input I, in which case they are dropped). Packets sent to an unknown destination address are forwarded to every output port, except the one corresponding to the packet's input port. The TIMEOUT parameter affects how long port associations last. If it is 0, then the element does not learn addresses, and acts like a dumb hub. Keyword arguments are:
The EtherSwitch element has no limit on the memory consumed by cached Ethernet addresses.
ListenEtherSwitch, EtherSpanTree
Generated by 'click-elem2man' from '../elements/etherswitch/etherswitch.hh' on 24/May/2007.