summaryrefslogtreecommitdiff
path: root/docs/_include/interface-mirror.txt
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-07 10:10:21 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-07 10:10:21 +0300
commit672b331fdaaa91e5a0c23c4abb9609c6f4c6a359 (patch)
tree82f67edd0bd5cc9730014e6e5f5a829a379ea81f /docs/_include/interface-mirror.txt
parent0dbd2b071c0fc36796ae00a814586a39aabcc616 (diff)
parentcda6de295f85bc33d4ad60b0cbed48ea54aaedf8 (diff)
downloadvyos-documentation-672b331fdaaa91e5a0c23c4abb9609c6f4c6a359.tar.gz
vyos-documentation-672b331fdaaa91e5a0c23c4abb9609c6f4c6a359.zip
Merge remote-tracking branch 'origin/sagitta' into fix/docs-html-title-sagitta
# Conflicts: # docs/conf.py
Diffstat (limited to 'docs/_include/interface-mirror.txt')
-rw-r--r--docs/_include/interface-mirror.txt53
1 files changed, 28 insertions, 25 deletions
diff --git a/docs/_include/interface-mirror.txt b/docs/_include/interface-mirror.txt
index 66d63248..3e2a7bed 100644
--- a/docs/_include/interface-mirror.txt
+++ b/docs/_include/interface-mirror.txt
@@ -10,28 +10,31 @@ VyOS uses the `mirror` option to configure port mirroring. The configuration
is divided into 2 different directions. Destination ports should be configured
for different traffic directions.
-.. cfgcmd:: set interfaces {{ var0 }} <interface> mirror
- ingress <monitor-interface>
-
- Configure port mirroring for `interface` inbound traffic and copy the
- traffic to `monitor-interface`
-
- Example: Mirror the inbound traffic of `{{ var1 }}` port to `{{ var2 }}`
-
- .. code-block:: none
-
- set interfaces {{ var0 }} {{ var1 }} mirror ingress {{ var2 }}
-
-.. cfgcmd:: set interfaces {{ var0 }} <interface> mirror egress
- <monitor-interface>
-
- Configure port mirroring for `interface` outbound traffic and copy the
- traffic to `monitor-interface`
-
- Example: Mirror the outbound traffic of `{{ var1 }}` port to `{{ var2 }}`
-
- .. code-block:: none
-
- set interfaces {{ var0 }} {{ var1 }} mirror egress {{ var2 }}
-
-
+::::{cfgcmd} set interfaces {{ var0 }} \<interface\> mirror
+
+ingress <monitor-interface>
+
+Configure port mirroring for `interface` inbound traffic and copy the
+traffic to `monitor-interface`
+
+Example: Mirror the inbound traffic of `{{ var1 }}` port to `{{ var2 }}`
+
+```none
+
+```
+ set interfaces {{ var0 }} {{ var1 }} mirror ingress {{ var2 }}
+::::
+::::{cfgcmd} set interfaces {{ var0 }} \<interface\> mirror egress
+
+<monitor-interface>
+
+Configure port mirroring for `interface` outbound traffic and copy the
+traffic to `monitor-interface`
+
+Example: Mirror the outbound traffic of `{{ var1 }}` port to `{{ var2 }}`
+
+```none
+
+```
+ set interfaces {{ var0 }} {{ var1 }} mirror egress {{ var2 }}
+::::