git: 5a3f517110ef - stable/13 - bridge.4: Document the net.link.bridge.log_mac_flap sysctl variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Sep 2023 10:09:15 UTC
The branch stable/13 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=5a3f517110ef2d076274ca0cc41668740d62e9c7
commit 5a3f517110ef2d076274ca0cc41668740d62e9c7
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-04-10 10:07:04 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-09-01 10:08:13 +0000
bridge.4: Document the net.link.bridge.log_mac_flap sysctl variable
It was introduced in 2d3614fb132b (bridge: Log MAC address port flapping).
Reviewed by: gbe (manpages)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D39465
(cherry picked from commit 3fdb40d1befe7b561e7e5fa0b5c80aac41adc50d)
---
share/man/man4/bridge.4 | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/share/man/man4/bridge.4 b/share/man/man4/bridge.4
index 2b977c4578a4..06255b85e1a8 100644
--- a/share/man/man4/bridge.4
+++ b/share/man/man4/bridge.4
@@ -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 November 17, 2021
+.Dd April 10, 2023
.Dt IF_BRIDGE 4
.Os
.Sh NAME
@@ -116,6 +116,15 @@ interfaces that are part of the bridge.
For unicast traffic, the bridge learns which MAC addresses are associated
with which interfaces and will forward the traffic selectively.
.Pp
+By default the bridge logs MAC address port flapping to
+.Xr syslog 3 .
+This behavior can be disabled by setting the
+.Xr sysctl 8
+variable
+.Va net.link.bridge.log_mac_flap
+to
+.Li 0 .
+.Pp
All the bridged member interfaces need to be up in order to pass network traffic.
These can be enabled using
.Xr ifconfig 8