summaryrefslogtreecommitdiff
path: root/docs/interfaces/bridge.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-13 14:46:04 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-13 14:46:04 +0100
commitd20c299b9dff3226e886a10a0e7223704fac32a0 (patch)
tree62d87c704ea4211b52e44a2bd40bc2439f287c53 /docs/interfaces/bridge.rst
parent85206b1c287de9f45d74181f636d08b11e37cd50 (diff)
downloadvyos-documentation-d20c299b9dff3226e886a10a0e7223704fac32a0.tar.gz
vyos-documentation-d20c299b9dff3226e886a10a0e7223704fac32a0.zip
interfaces: use common toc and chapter style
Diffstat (limited to 'docs/interfaces/bridge.rst')
-rw-r--r--docs/interfaces/bridge.rst52
1 files changed, 27 insertions, 25 deletions
diff --git a/docs/interfaces/bridge.rst b/docs/interfaces/bridge.rst
index 144e5f6d..ba6d70fb 100644
--- a/docs/interfaces/bridge.rst
+++ b/docs/interfaces/bridge.rst
@@ -14,18 +14,19 @@ standard.
.. note:: Spanning Tree Protocol is not enabled by default in VyOS.
:ref:`stp` can be easily enabled if needed.
+*************
Configuration
-#############
+*************
Common interface configuration
-------------------------------
+==============================
.. cmdinclude:: ../_include/interface-common-with-dhcp.txt
:var0: bridge
:var1: br0
Member Interfaces
------------------
+=================
.. cfgcmd:: set interfaces bridge <interface> member interface <member>
@@ -59,6 +60,24 @@ Member Interfaces
deciding which link to use. Faster interfaces should have lower
costs.
+Bridge Options
+==============
+
+.. cfgcmd:: set interfaces bridge <interface> aging <time>
+
+ MAC address aging `<time`> in seconds (default: 300).
+
+.. cfgcmd:: set interfaces bridge <interface> max-age <time>
+
+ Bridge maximum aging `<time>` in seconds (default: 20).
+
+ If a another bridge in the spanning tree does not send out a hello
+ packet for a long period of time, it is assumed to be dead.
+
+.. cfgcmd:: set interfaces bridge <interface> igmp querier
+
+ Enable IGMP querier
+
.. _stp:
STP Parameter
@@ -94,26 +113,9 @@ links providing fault tolerance if an active link fails.
Designated Bridges. Hello packets are used to communicate information
about the topology throughout the entire Bridged Local Area Network.
-Additional Bridge Options
--------------------------
-
-.. cfgcmd:: set interfaces bridge <interface> aging <time>
-
- MAC address aging `<time`> in seconds (default: 300).
-
-.. cfgcmd:: set interfaces bridge <interface> max-age <time>
-
- Bridge maximum aging `<time>` in seconds (default: 20).
-
- If a another bridge in the spanning tree does not send out a hello
- packet for a long period of time, it is assumed to be dead.
-
-.. cfgcmd:: set interfaces bridge <interface> igmp querier
-
- Enable IGMP querier
-
+*******
Example
-#######
+*******
Creating a bridge interface is very simple. In this example we will
have:
@@ -146,9 +148,9 @@ This results in the active configuration:
}
stp
-
-Operation
-#########
+*******
+Example
+*******
.. opcmd:: show bridge