You need to enable STP for s1, s2, ..., s5. That is,* for i in $(seq 5); do sudo ovs-vsctl --no-wait set bridge s$i stp_enable=true; done*
On Fri, Jul 19, 2013 at 10:17 AM, Josep Batallé <[email protected]> wrote: > Hi, > I don't understand the response. I need to create a bridge between the > switches? and this bridge with the STP enabled? How I can do it? > > When I create a network topology with Mininet I see that the "ovs-vsctl > show" show that the bridges are the switches: > > Bridge "s5" > Controller "tcp:127.0.0.1:6765" > fail_mode: secure > Port "s5-eth2" > Interface "s5-eth2" > Port "s5" > Interface "s5" > type: internal > Port "s5-eth4" > Interface "s5-eth4" > Port "s5-eth1" > Interface "s5-eth1" > Port "s5-eth3" > Interface "s5-eth3" > ovs_version: "1.9.0" > > > 2013/7/18 Volkan YAZICI <[email protected]> > >> You can enable STP on switches: * ovs-vsctl set bridge br0 >> stp_enable=true*. Remember though this way switches will disable some >> ports to avoid loops. (See STP for details.)* >> >> * >> *[Josep, sorry for the double post. I forgot to add ovs-discuss to CC.]** >> * >> >> >> On Thu, Jul 18, 2013 at 1:42 PM, Josep Batallé <[email protected]>wrote: >> >>> Hello, >>> >>> I want to ask some questions about flooding messages in openvswtich. >>> >>> I think that it's possible to avoid flooding messages through blocking >>> ports (i read something about OFPPC_NO_FLOOD in OpenFlow specification, >>> but I don't know how I can use it). I think maybe using some type of >>> openflow message... How I do this? >>> >>> And other question, is it possible to filter the type of messages that >>> the switch can flood through a port (e.g. in order to avoid loops) >>> >>> Thanks! >>> >>> _______________________________________________ >>> discuss mailing list >>> [email protected] >>> http://openvswitch.org/mailman/listinfo/discuss >>> >>> >> >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
