diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-06 20:11:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-06 20:11:13 +0300 |
| commit | ab5359702db9ba94fa27d770af440a20cf95a41b (patch) | |
| tree | 22b30d717e61a573a3712efec8a60f3e6b409d97 /docs/_include/interface-mirror.txt | |
| parent | c784d8880325f96423fdd2c558750cac4313a56e (diff) | |
| parent | 88957530a3e174bfc61e8358cb2b28fd8f1fbbb6 (diff) | |
| download | vyos-documentation-ab5359702db9ba94fa27d770af440a20cf95a41b.tar.gz vyos-documentation-ab5359702db9ba94fa27d770af440a20cf95a41b.zip | |
Merge pull request #1898 from vyos/fix/myst-import-sagitta-v2
feat: bundle MyST migration + swap mechanism for sagitta (replaces #1886)
Diffstat (limited to 'docs/_include/interface-mirror.txt')
| -rw-r--r-- | docs/_include/interface-mirror.txt | 53 |
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 }} +:::: |
