diff mbox series

[5/6] Document root_block option

Message ID 20200412235038.377692-6-rouca@debian.org
State Accepted
Delegated to: stephen hemminger
Headers show
Series iproute improve documentation of bridge | expand

Commit Message

=?UTF-8?q?Bastien=20Roucari=C3=A8s?= April 12, 2020, 11:50 p.m. UTC
From: Bastien Roucari├Ęs <rouca@debian.org>

Root_block is also called root port guard, document it.

Signed-off-by: Bastien Roucari├Ęs <rouca@debian.org>
---
 man/man8/bridge.8 | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/man/man8/bridge.8 b/man/man8/bridge.8
index 9bfd942f..ff6a5cc9 100644
--- a/man/man8/bridge.8
+++ b/man/man8/bridge.8
@@ -372,6 +372,11 @@  enabled on the bridge. By default the flag is off.
 Controls whether a given port is allowed to become root port or not. Only used
 when STP is enabled on the bridge. By default the flag is off.
 
+This feature is also called root port guard.
+If BPDU is received from a leaf (edge) port, it should not
+be elected as root port. This could be used if using STP on a bridge and the downstream bridges are not fully
+trusted; this prevents a hostile guest from rerouting traffic.
+
 .TP
 .BR "learning on " or " learning off "
 Controls whether a given port will learn MAC addresses from received traffic or