Discussion:
[ovs-discuss] mac address table entries
saeedeh motlagh
2012-04-30 06:31:04 UTC
Permalink
hello guys,
I need to insert some mac addresses to the learning mac address table
as static entries. I want to know if there is such capability on
Openvswitch 1.4?
I also want to change mac address aging time on the table, would it be
possible to do that?
Any hints or comments are really appreciated
p.s. I am using Openvswitch 1.4.0 on debian 6.0 linux.
yours
motlagh
Sergio Kviato
2012-04-30 06:53:45 UTC
Permalink
Post by saeedeh motlagh
hello guys,
I need to insert some mac addresses to the learning mac address table
as static entries. I want to know if there is such capability on
Openvswitch 1.4?
I also want to change mac address aging time on the table, would it be
possible to do that?
Any hints or comments are really appreciated
p.s. I am using Openvswitch 1.4.0 on debian 6.0 linux.
yours
What you actually mean? Do you want to restrict Mac address to port? If yes, you can do it though OpenFlow. Use ovs-ofctl for example.
Justin Pettit
2012-04-30 06:53:30 UTC
Permalink
Post by saeedeh motlagh
I need to insert some mac addresses to the learning mac address table
as static entries. I want to know if there is such capability on
Openvswitch 1.4?
No, your best bet is to populate a flow table with the "ovs-ofctl add-flow" command.
Post by saeedeh motlagh
I also want to change mac address aging time on the table, would it be
possible to do that?
You can configure that with the "mac-aging-time" key in "other_config" on the Bridge table. It's documented in the ovs-vswitchd.conf.db man page.

--Justin
saeedeh motlagh
2012-05-01 08:11:28 UTC
Permalink
thanks sergio and justin for your quick reply,

i execute the below command:
"ovs-vsctl set bridge br0 other_config:mac-aging-time=3"
then i execute "ovs-appctl fdb/show br0". in output table some ages
are greater than 3.
i thought when mac-aging-time is 3 it means that the age can not be
more than 3. please let me know if i'm misunderstanding.
thank you so much for your attention
motlagh
Post by Justin Pettit
Post by saeedeh motlagh
I need to insert some mac addresses to the learning mac address table
as static entries. I want to know if there is such capability on
Openvswitch 1.4?
No, your best bet is to populate a flow table with the "ovs-ofctl add-flow" command.
Post by saeedeh motlagh
I also want to change mac address aging time on the table, would it be
possible to do that?
You can configure that with the "mac-aging-time" key in "other_config" on
the Bridge table. It's documented in the ovs-vswitchd.conf.db man page.
--Justin
Justin Pettit
2012-05-01 08:18:26 UTC
Permalink
Sorry! That configuration option is not available in 1.4.0. It will be in 1.4.1, which will most likely be released tomorrow morning.

--Justin
Post by saeedeh motlagh
thanks sergio and justin for your quick reply,
"ovs-vsctl set bridge br0 other_config:mac-aging-time=3"
then i execute "ovs-appctl fdb/show br0". in output table some ages
are greater than 3.
i thought when mac-aging-time is 3 it means that the age can not be
more than 3. please let me know if i'm misunderstanding.
thank you so much for your attention
motlagh
Post by Justin Pettit
Post by saeedeh motlagh
I need to insert some mac addresses to the learning mac address table
as static entries. I want to know if there is such capability on
Openvswitch 1.4?
No, your best bet is to populate a flow table with the "ovs-ofctl add-flow" command.
Post by saeedeh motlagh
I also want to change mac address aging time on the table, would it be
possible to do that?
You can configure that with the "mac-aging-time" key in "other_config" on
the Bridge table. It's documented in the ovs-vswitchd.conf.db man page.
--Justin
saeedeh motlagh
2012-05-03 06:29:50 UTC
Permalink
hi again
congratulation for new release. as you said before, i run
openvswitch1.4.1 to be able changing the mac aging time in mac address
table but unfortunately i can't do it yet. like before i set the
mac-age-time to 3 but age in mac table get value greater than 3.
please let me know what i'm doing wrong.
i use "ovs-vsctl set bridge br0 other_config:mac-aging-time=3" command.
thank you so much
motlagh
Post by Justin Pettit
Sorry! That configuration option is not available in 1.4.0. It will be in
1.4.1, which will most likely be released tomorrow morning.
--Justin
Post by saeedeh motlagh
thanks sergio and justin for your quick reply,
"ovs-vsctl set bridge br0 other_config:mac-aging-time=3"
then i execute "ovs-appctl fdb/show br0". in output table some ages
are greater than 3.
i thought when mac-aging-time is 3 it means that the age can not be
more than 3. please let me know if i'm misunderstanding.
thank you so much for your attention
motlagh
Post by Justin Pettit
Post by saeedeh motlagh
I need to insert some mac addresses to the learning mac address table
as static entries. I want to know if there is such capability on
Openvswitch 1.4?
No, your best bet is to populate a flow table with the "ovs-ofctl
add-flow"
command.
Post by saeedeh motlagh
I also want to change mac address aging time on the table, would it be
possible to do that?
You can configure that with the "mac-aging-time" key in "other_config" on
the Bridge table. It's documented in the ovs-vswitchd.conf.db man page.
--Justin
Justin Pettit
2012-05-03 06:35:14 UTC
Permalink
Is it being forced to 15 seconds like the documentation says?

--Justin
Post by saeedeh motlagh
hi again
congratulation for new release. as you said before, i run
openvswitch1.4.1 to be able changing the mac aging time in mac address
table but unfortunately i can't do it yet. like before i set the
mac-age-time to 3 but age in mac table get value greater than 3.
please let me know what i'm doing wrong.
i use "ovs-vsctl set bridge br0 other_config:mac-aging-time=3" command.
thank you so much
motlagh
Post by Justin Pettit
Sorry! That configuration option is not available in 1.4.0. It will be in
1.4.1, which will most likely be released tomorrow morning.
--Justin
Post by saeedeh motlagh
thanks sergio and justin for your quick reply,
"ovs-vsctl set bridge br0 other_config:mac-aging-time=3"
then i execute "ovs-appctl fdb/show br0". in output table some ages
are greater than 3.
i thought when mac-aging-time is 3 it means that the age can not be
more than 3. please let me know if i'm misunderstanding.
thank you so much for your attention
motlagh
Post by Justin Pettit
Post by saeedeh motlagh
I need to insert some mac addresses to the learning mac address table
as static entries. I want to know if there is such capability on
Openvswitch 1.4?
No, your best bet is to populate a flow table with the "ovs-ofctl
add-flow"
command.
Post by saeedeh motlagh
I also want to change mac address aging time on the table, would it be
possible to do that?
You can configure that with the "mac-aging-time" key in "other_config" on
the Bridge table. It's documented in the ovs-vswitchd.conf.db man page.
--Justin
saeedeh motlagh
2012-05-03 07:50:42 UTC
Permalink
oh yes you're right. it's being forces to 15 seconds. thank you.
is there any option to disable mac aging time?
Post by Justin Pettit
Is it being forced to 15 seconds like the documentation says?
--Justin
Post by saeedeh motlagh
hi again
congratulation for new release. as you said before, i run
openvswitch1.4.1 to be able changing the mac aging time in mac address
table but unfortunately i can't do it yet. like before i set the
mac-age-time to 3 but age in mac table get value greater than 3.
please let me know what i'm doing wrong.
i use "ovs-vsctl set bridge br0 other_config:mac-aging-time=3" command.
thank you so much
motlagh
Post by Justin Pettit
Sorry! That configuration option is not available in 1.4.0. It will be in
1.4.1, which will most likely be released tomorrow morning.
--Justin
Post by saeedeh motlagh
thanks sergio and justin for your quick reply,
"ovs-vsctl set bridge br0 other_config:mac-aging-time=3"
then i execute "ovs-appctl fdb/show br0". in output table some ages
are greater than 3.
i thought when mac-aging-time is 3 it means that the age can not be
more than 3. please let me know if i'm misunderstanding.
thank you so much for your attention
motlagh
Post by Justin Pettit
Post by saeedeh motlagh
I need to insert some mac addresses to the learning mac address table
as static entries. I want to know if there is such capability on
Openvswitch 1.4?
No, your best bet is to populate a flow table with the "ovs-ofctl
add-flow"
command.
Post by saeedeh motlagh
I also want to change mac address aging time on the table, would it be
possible to do that?
You can configure that with the "mac-aging-time" key in "other_config" on
the Bridge table. It's documented in the ovs-vswitchd.conf.db man page.
--Justin
Justin Pettit
2012-05-03 08:12:44 UTC
Permalink
Sorry, I can't think of any way to configure that.

--Justin
Post by saeedeh motlagh
oh yes you're right. it's being forces to 15 seconds. thank you.
is there any option to disable mac aging time?
Post by Justin Pettit
Is it being forced to 15 seconds like the documentation says?
--Justin
Post by saeedeh motlagh
hi again
congratulation for new release. as you said before, i run
openvswitch1.4.1 to be able changing the mac aging time in mac address
table but unfortunately i can't do it yet. like before i set the
mac-age-time to 3 but age in mac table get value greater than 3.
please let me know what i'm doing wrong.
i use "ovs-vsctl set bridge br0 other_config:mac-aging-time=3" command.
thank you so much
motlagh
Post by Justin Pettit
Sorry! That configuration option is not available in 1.4.0. It will be in
1.4.1, which will most likely be released tomorrow morning.
--Justin
Post by saeedeh motlagh
thanks sergio and justin for your quick reply,
"ovs-vsctl set bridge br0 other_config:mac-aging-time=3"
then i execute "ovs-appctl fdb/show br0". in output table some ages
are greater than 3.
i thought when mac-aging-time is 3 it means that the age can not be
more than 3. please let me know if i'm misunderstanding.
thank you so much for your attention
motlagh
Post by Justin Pettit
Post by saeedeh motlagh
I need to insert some mac addresses to the learning mac address table
as static entries. I want to know if there is such capability on
Openvswitch 1.4?
No, your best bet is to populate a flow table with the "ovs-ofctl
add-flow"
command.
Post by saeedeh motlagh
I also want to change mac address aging time on the table, would it be
possible to do that?
You can configure that with the "mac-aging-time" key in "other_config" on
the Bridge table. It's documented in the ovs-vswitchd.conf.db man page.
--Justin
Loading...