From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [PATCH v4] iproute2: add mdb sub-command to bridge Date: Mon, 10 Dec 2012 11:13:40 +0800 Message-ID: <1355109220.11752.3.camel@cr0> References: <1a884874-7123-401f-a53c-cc8e301b1ffe@tahiti.vyatta.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, Herbert Xu , Jesper Dangaard Brouer , Thomas Graf , "David S. Miller" To: Stephen Hemminger Return-path: In-Reply-To: <1a884874-7123-401f-a53c-cc8e301b1ffe@tahiti.vyatta.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bridge-bounces@lists.linux-foundation.org Errors-To: bridge-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org On Fri, 2012-12-07 at 09:07 -0800, Stephen Hemminger wrote: > > > > > # ./bridge/bridge mdb > > bridge br0: > > port eth0, group 224.8.8.9 > > port eth1, group 224.8.8.8 > > I like the ability to see what is going on. It would > be good if there was also a monitor like hook to see new entries > created and destroyed (later version). I am working on a patch to implement RTM_NEWMDB and RTM_DELMDB, so we will have this. > > The output format should be one line per entry for easier > parsing by utilities. Something similar to 'ip neigh show' > Right, I will update this in v5. Thanks!