[ovs-dev] How to set forwarding delay of OVS bridge

Changbin Liu changbin.liu at gmail.com
Fri Jun 20 03:56:28 UTC 2014


ovs-vsctl settting forwarding delay does not seem to be working. Forwarding
delay is always 15 seconds.

# ovs-vsctl set bridge obr2 other_config:stp-forward-delay=0
# tcpdump -vvv -i br2
tcpdump: listening on br2, link-type EN10MB (Ethernet), capture size 65535
bytes
03:55:30.833907 STP 802.1d, Config, Flags [none], bridge-id
8000.be:f4:18:e7:2a:49.8004,
length 35
        message-age 0.01s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.16:07:ab:af:b6:4f, root-pathcost 57
03:55:32.834256 STP 802.1d, Config, Flags [none], bridge-id
8000.be:f4:18:e7:2a:49.8004,
length 35
        message-age 0.01s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.16:07:ab:af:b6:4f, root-pathcost 57


Thanks

Changbin


On Thu, Jun 19, 2014 at 4:36 PM, Justin Pettit <jpettit at nicira.com> wrote:

> The ovs-vsctl man page has some examples of configuring STP.  It should be
> easy to extrapolate how configure the forwarding delay with the
> "stp-forward-delay" configuration field described in the
> ovs-vswitchd.conf.db man page.
>
> --Justin
>
>
>
> On Thu, Jun 19, 2014 at 1:07 PM, Changbin Liu <changbin.liu at gmail.com>
> wrote:
>
>> Hi Folks,
>>
>> I am wondering whether there is a command to set the forwarding delay of
>> OVS bridge. In Linux bridge, there is "brctl setfd" to set the forwarding
>> delay.
>>
>> The motivation is that when doing live migration of a VM which is
>> attached to OVS bridge, I need to make sure the Gratuitous ARP will be sent
>> out as quickly as possible to retain all on-going network sessions in the
>> VM.
>>
>> Thanks
>>
>> Changbin
>>
>> _______________________________________________
>> dev mailing list
>> dev at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20140619/04dbd4a7/attachment-0005.html>


More information about the dev mailing list