summaryrefslogtreecommitdiff
path: root/docs/interfaces/bridge.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/interfaces/bridge.rst')
-rw-r--r--docs/interfaces/bridge.rst112
1 files changed, 24 insertions, 88 deletions
diff --git a/docs/interfaces/bridge.rst b/docs/interfaces/bridge.rst
index a7343a0d..144e5f6d 100644
--- a/docs/interfaces/bridge.rst
+++ b/docs/interfaces/bridge.rst
@@ -17,92 +17,12 @@ standard.
Configuration
#############
-Address
--------
-
-.. cfgcmd:: set interfaces bridge <interface> address <address | dhcp |
- dhcpv6>
-
- Configure interface `<interface>` with one or more interface
- addresses.
-
- * **address** can be specified multiple times as IPv4 and/or IPv6
- address, e.g. 192.0.2.1/24 and/or 2001:db8::1/64
- * **dhcp** interface address is received by DHCP from a DHCP server
- on this segment.
- * **dhcpv6** interface address is received by DHCPv6 from a DHCPv6
- server on this segment.
-
- Example:
-
- .. code-block:: none
-
- set interfaces bridge br0 address 192.0.2.1/24
- set interfaces bridge br0 address 192.0.2.2/24
- set interfaces bridge br0 address 2001:db8::ffff/64
- set interfaces bridge br0 address 2001:db8:100::ffff/64
-
-
-.. cfgcmd:: set interfaces bridge <interface> ipv6 address autoconf
-
- .. include:: common-ipv6-addr-autoconf.txt
-
-.. cfgcmd:: set interfaces bridge <interface> ipv6 address eui64
- <prefix>
-
- :abbr:`EUI-64 (64-Bit Extended Unique Identifier)` as specified in
- :rfc:`4291` allows a host to assign iteslf a unique 64-Bit IPv6
- address.
-
- .. code-block:: none
-
- set interfaces bridge br0 ipv6 address eui64 2001:db8:beef::/64
-
-
-.. 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.
-
-
-Link Administration
--------------------
-
-.. cfgcmd:: set interfaces bridge <interface> description <description>
-
- Assign given `<description>` to interface. Description will also be
- passed to SNMP monitoring systems.
-
-
-.. cfgcmd:: set interfaces bridge <interface> disable
-
- Disable given `<interface>`. It will be placed in administratively
- down (``A/D``) state.
-
-
-.. cfgcmd:: set interfaces bridge <interface> disable-flow-control
-
- Disable Ethernet flow control (pause frames).
-
-
-.. cfgcmd:: set interfaces bridge <interface> mac <mac-address>
-
- Configure user defined :abbr:`MAC (Media Access Control)` address on
- given `<interface>`.
-
-
-.. cfgcmd:: set interfaces bridge <interface> igmp querier
-
- Enable IGMP querier
-
+Common interface configuration
+------------------------------
+.. cmdinclude:: ../_include/interface-common-with-dhcp.txt
+ :var0: bridge
+ :var1: br0
Member Interfaces
-----------------
@@ -139,7 +59,6 @@ Member Interfaces
deciding which link to use. Faster interfaces should have lower
costs.
-
.. _stp:
STP Parameter
@@ -175,9 +94,26 @@ 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:
@@ -212,7 +148,7 @@ This results in the active configuration:
Operation
-=========
+#########
.. opcmd:: show bridge