From 84ea67db630846210df983f4ab4cb966a550790a Mon Sep 17 00:00:00 2001 From: jack9603301 Date: Sun, 20 Dec 2020 22:24:48 +0800 Subject: Examples of adding VLAN awareness and port mirroring --- docs/_include/interface-mirror.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/_include') 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 }} mirror egress 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 }} -- cgit v1.2.3