git: dddf410362b9 - stable/12 - 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:11:12 UTC
The branch stable/12 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=dddf410362b9eaf8ae9fe13f5edd9fd67f24046e commit dddf410362b9eaf8ae9fe13f5edd9fd67f24046e 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:10:40 +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) (cherry picked from commit 5a3f517110ef2d076274ca0cc41668740d62e9c7) --- 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 d787db1aa141..6b32da22efce 100644 --- a/share/man/man4/bridge.4 +++ b/share/man/man4/bridge.4 @@ -35,7 +35,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 16, 2017 +.Dd April 10, 2023 .Dt IF_BRIDGE 4 .Os .Sh NAME @@ -118,6 +118,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