summaryrefslogtreecommitdiff
path: root/docs/interfaces/vlan.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/interfaces/vlan.rst')
-rw-r--r--docs/interfaces/vlan.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/interfaces/vlan.rst b/docs/interfaces/vlan.rst
index 5f7013b6..82f73efe 100644
--- a/docs/interfaces/vlan.rst
+++ b/docs/interfaces/vlan.rst
@@ -30,7 +30,7 @@ accomplished using the configuration command:
To assign a vif 100 using the VLAN 100 tag to physical interface eth1 use:
-.. code-block:: console
+.. code-block:: none
set interfaces ethernet eth1 vif 100 description 'VLAN 100'
set interfaces ethernet eth1 vif 100 address '192.168.100.1/24'
@@ -38,7 +38,7 @@ To assign a vif 100 using the VLAN 100 tag to physical interface eth1 use:
Resulting in:
-.. code-block:: console
+.. code-block:: none
ethernet eth1 {
address 192.168.100.1/24
@@ -56,7 +56,7 @@ Resulting in:
VLAN interfaces are shown as `<name>.<vlan-id>`, e.g. `eth1.100`:
-.. code-block:: console
+.. code-block:: none
vyos@vyos:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down