diff options
author | Robert Göhler <github@ghlr.de> | 2020-12-20 16:33:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 16:33:55 +0100 |
commit | d26b6a952be035a261a505cec3f45f148fc0a877 (patch) | |
tree | e33b960371896d71747473db680848f857adc25c /docs/_include/interface-mirror.txt | |
parent | c06ec85619a4c98342ab8791d73fd6ab5a9239db (diff) | |
parent | 84ea67db630846210df983f4ab4cb966a550790a (diff) | |
download | vyos-documentation-d26b6a952be035a261a505cec3f45f148fc0a877.tar.gz vyos-documentation-d26b6a952be035a261a505cec3f45f148fc0a877.zip |
Merge pull request #399 from jack9603301/master
Examples of adding VLAN awareness and port mirroring
Diffstat (limited to 'docs/_include/interface-mirror.txt')
-rw-r--r-- | docs/_include/interface-mirror.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/_include/interface-mirror.txt b/docs/_include/interface-mirror.txt index a3d12220..7903299a 100644 --- a/docs/_include/interface-mirror.txt +++ b/docs/_include/interface-mirror.txt @@ -12,11 +12,23 @@ for different traffic directions. Configure port mirroring for `interface` inbound traffic and copy the traffic to `monitor-interface` + + Example: Mirror the inbound traffic of `{{ var1 }}` port to `eth2` + + .. 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 `eth2` + + .. code-block:: none + + set interfaces {{ var0 }} {{ var1 }} mirror egress {{ var2 }} |