Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/brconfig Add missing "addr" and "static" commands.



details:   https://anonhg.NetBSD.org/src/rev/ec936d23af11
branches:  trunk
changeset: 335378:ec936d23af11
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jan 05 00:36:23 2015 +0000

description:
Add missing "addr" and "static" commands.

diffstat:

 sbin/brconfig/brconfig.8 |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r 33886deee923 -r ec936d23af11 sbin/brconfig/brconfig.8
--- a/sbin/brconfig/brconfig.8  Sun Jan 04 22:11:40 2015 +0000
+++ b/sbin/brconfig/brconfig.8  Mon Jan 05 00:36:23 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: brconfig.8,v 1.17 2007/01/08 07:22:12 wiz Exp $
+.\"    $NetBSD: brconfig.8,v 1.18 2015/01/05 00:36:23 msaitoh Exp $
 .\"
 .\" Copyright 2001 Wasabi Systems, Inc.
 .\" All rights reserved.
@@ -33,7 +33,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 7, 2007
+.Dd January 5, 2015
 .Dt BRCONFIG 8
 .Os
 .Sh NAME
@@ -102,6 +102,8 @@
 from the bridge.
 Promiscuous mode is disabled on the interface when
 it is removed from the bridge.
+.It Cm addr
+Display the addresses that have been learned by the bridge.
 .It Cm maxaddr Ar size
 Set the size of the bridge address cache to
 .Ar size .
@@ -166,6 +168,11 @@
 Clear the
 .Dq learning
 attribute on a member interface.
+.It Cm static Ar interface address
+Add a static entry into the address cache pointing to
+.Ar interface .
+Static entries are never aged out of the cache or replaced, even if the address
+is seen on a different interface.
 .It Cm stp Ar interface
 Enable Spanning Tree protocol on
 .Ar interface .



Home | Main Index | Thread Index | Old Index