[ovs-discuss] How to read L2 MAC tables
Morgan Yang
Morgan.Yang at radisys.com
Thu Oct 3 02:11:51 UTC 2013
Hi Justin:
Thanks. Is it possible to dump the flows into the ovsdb so if I have a backup ovs instance,, it can just load the flow information? Or, is it expected to have redundant openflow controllers to do that?
Much Thanks
Morgan Yang
-----Original Message-----
From: Justin Pettit [mailto:jpettit at nicira.com]
Sent: Wednesday, October 02, 2013 7:06 PM
To: Morgan Yang
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] How to read L2 MAC tables
Who is populating the MAC table? If it's your controller (as it appears in your output), then that's the best way. If you're using the OVS's "normal" action, then "ovs-appctl fdb/show <bridge>".
--Justin
On Oct 2, 2013, at 7:03 PM, Morgan Yang <Morgan.Yang at radisys.com> wrote:
> Hi All:
>
> Is it possible to dump just the L2 MAC table for a bridge in OVS? Also, is it possible to see flows via "dump-flows" without running an openflow controller? Right now, I have to run a POX controller to see the L2 and flow info via "ovs-ofctl dump-flows"
>
> # ovs-ofctl dump-flows ovsfabric0
> NXST_FLOW reply (xid=0x4):
> cookie=0x0, duration=10.466s, table=0, n_packets=6, n_bytes=588,
> idle_timeout=10, hard_timeout=30, idle_age=5,
> priority=65535,icmp,in_port=2,vlan_tci=0x0000,dl_src=52:54:00:da:d3:a0
> ,dl_dst=00:00:50:a4:5e:d8,nw_src=80.1.11.1,nw_dst=80.2.1.1,nw_tos=0,ic
> mp_type=8,icmp_code=0 actions=output:1 cookie=0x0, duration=11.483s,
> table=0, n_packets=7, n_bytes=686, idle_timeout=10, hard_timeout=30,
> idle_age=5,
> priority=65535,icmp,in_port=1,vlan_tci=0x0000,dl_src=00:00:50:a4:5e:d8
> ,dl_dst=52:54:00:da:d3:a0,nw_src=80.2.1.1,nw_dst=80.1.11.1,nw_tos=0,ic
> mp_type=0,icmp_code=0 actions=output:2 cookie=0x0, duration=6.432s,
> table=0, n_packets=1, n_bytes=42, idle_timeout=10, hard_timeout=30,
> idle_age=6,
> priority=65535,arp,in_port=2,vlan_tci=0x0000,dl_src=52:54:00:da:d3:a0,
> dl_dst=00:00:50:a4:5e:d8,arp_spa=80.1.11.1,arp_tpa=80.2.1.1,arp_op=2
> actions=output:1 cookie=0x0, duration=6.433s, table=0, n_packets=1,
> n_bytes=60, idle_timeout=10, hard_timeout=30, idle_age=6,
> priority=65535,arp,in_port=1,vlan_tci=0x0000,dl_src=00:00:50:a4:5e:d8,
> dl_dst=52:54:00:da:d3:a0,arp_spa=80.2.1.1,arp_tpa=80.1.11.1,arp_op=1
> actions=output:2
>
> Much Thanks
> Morgan Yang
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
More information about the discuss
mailing list