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 76fadd3c..cbab0a80 100644
--- a/docs/interfaces/vlan.rst
+++ b/docs/interfaces/vlan.rst
@@ -7,7 +7,7 @@ term used for this is `vif`. Configuration of a tagged sub-interface is
accomplished using the configuration command
`set interfaces ethernet <name> vif <vlan-id>`.
-.. code-block:: sh
+.. code-block:: console
set interfaces ethernet eth1 vif 100 description 'VLAN 100'
set interfaces ethernet eth1 vif 100 address '192.168.100.1/24'
@@ -15,7 +15,7 @@ accomplished using the configuration command
Resulting in:
-.. code-block:: sh
+.. code-block:: console
ethernet eth1 {
address 192.168.100.1/24
@@ -33,7 +33,7 @@ Resulting in:
VLAN interfaces are shown as `<name>.<vlan-id>`, e.g. `eth1.100`:
-.. code-block:: sh
+.. code-block:: console
vyos@vyos:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down