summaryrefslogtreecommitdiff
path: root/docs/interfaces/bridging.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-28 21:41:53 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-28 21:41:53 +0100
commitde3b09d6ac10405b72dfefdfe750a92d8eea30f6 (patch)
treefc493ef372dbe11ca9fea91d8a070b7e76a5ad25 /docs/interfaces/bridging.rst
parent8d843d4a17ff0c249256a4be902607f3e83f16ab (diff)
downloadvyos-documentation-de3b09d6ac10405b72dfefdfe750a92d8eea30f6.tar.gz
vyos-documentation-de3b09d6ac10405b72dfefdfe750a92d8eea30f6.zip
Refactor "code-block:: console" to "code-block:: none"
Diffstat (limited to 'docs/interfaces/bridging.rst')
-rw-r--r--docs/interfaces/bridging.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/interfaces/bridging.rst b/docs/interfaces/bridging.rst
index 3c11a64b..8d9c905e 100644
--- a/docs/interfaces/bridging.rst
+++ b/docs/interfaces/bridging.rst
@@ -7,7 +7,7 @@ Layer-2 traffic.
A bridge is created when a bridge interface is defined. In the example below
we will be creating a bridge for VLAN 100 and assigning a VIF to the bridge.
-.. code-block:: console
+.. code-block:: none
set interfaces bridge 'br100'
~~set interfaces ethernet eth1 vif 100 bridge-group bridge br100~~
@@ -17,14 +17,14 @@ Interfaces assigned to a bridge-group do not have address configuration. An IP
address can be assigned to the bridge interface itself, however, like any
normal interface.
-.. code-block:: console
+.. code-block:: none
set interfaces bridge br100 address '192.168.100.1/24'
set interfaces bridge br100 address '2001:db8:100::1/64'
Example Result:
-.. code-block:: console
+.. code-block:: none
bridge br100 {
address 192.168.100.1/24
@@ -49,7 +49,7 @@ Spanning-Tree Protocol. STP is disabled by default.
To enable spanning-tree use the
`set interfaces bridge <name> stp true` command:
-.. code-block:: console
+.. code-block:: none
set interfaces bridge br100 stp true
@@ -63,7 +63,7 @@ configured.
The `show bridge` operational command can be used to display configured
bridges:
-.. code-block:: console
+.. code-block:: none
vyos@vyos:~$ show bridge
bridge name bridge id STP enabled interfaces
@@ -72,7 +72,7 @@ bridges:
If spanning-tree is enabled, the `show bridge <name> spanning-tree` command
can be used to show STP configuration:
-.. code-block:: console
+.. code-block:: none
vyos@vyos:~$ show bridge br100 spanning-tree
br100
@@ -98,7 +98,7 @@ can be used to show STP configuration:
The MAC address-table for a bridge can be displayed using the
`show bridge <name> macs` command:
-.. code-block:: console
+.. code-block:: none
vyos@vyos:~$ show bridge br100 macs
port no mac addr is local? ageing timer