summaryrefslogtreecommitdiff
path: root/templates/show/interfaces/ethernet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/interfaces/ethernet')
-rw-r--r--templates/show/interfaces/ethernet/node.tag/capture/filter/node.def1
-rw-r--r--templates/show/interfaces/ethernet/node.tag/capture/filter/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/capture/not/port/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/capture/port/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/filter/node.def1
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/filter/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/not/port/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/port/node.tag/node.def2
8 files changed, 10 insertions, 4 deletions
diff --git a/templates/show/interfaces/ethernet/node.tag/capture/filter/node.def b/templates/show/interfaces/ethernet/node.tag/capture/filter/node.def
new file mode 100644
index 0000000..f434614
--- /dev/null
+++ b/templates/show/interfaces/ethernet/node.tag/capture/filter/node.def
@@ -0,0 +1 @@
+help: Show captured traffic with filtering
diff --git a/templates/show/interfaces/ethernet/node.tag/capture/filter/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/capture/filter/node.tag/node.def
new file mode 100644
index 0000000..2bb99d7
--- /dev/null
+++ b/templates/show/interfaces/ethernet/node.tag/capture/filter/node.tag/node.def
@@ -0,0 +1,2 @@
+help: Show captured traffic for interface with filtering
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "$7"
diff --git a/templates/show/interfaces/ethernet/node.tag/capture/not/port/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/capture/not/port/node.tag/node.def
index a350ac5..ed32087 100644
--- a/templates/show/interfaces/ethernet/node.tag/capture/not/port/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/capture/not/port/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show captured traffic excluding the specified ethernet interface port
-run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "$8" 1
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "not port $8"
allowed: echo -n '<1-65535>'
diff --git a/templates/show/interfaces/ethernet/node.tag/capture/port/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/capture/port/node.tag/node.def
index f1aedc4..a607426 100644
--- a/templates/show/interfaces/ethernet/node.tag/capture/port/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/capture/port/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show captured traffic on specified ethernet interface port
-run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "$7" 0
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "port $7"
allowed: echo -n '<1-65535>'
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/filter/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/filter/node.def
new file mode 100644
index 0000000..f434614
--- /dev/null
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/filter/node.def
@@ -0,0 +1 @@
+help: Show captured traffic with filtering
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/filter/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/filter/node.tag/node.def
new file mode 100644
index 0000000..3866075
--- /dev/null
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/filter/node.tag/node.def
@@ -0,0 +1,2 @@
+help: Show captured traffic for interface with filtering
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6" "$9"
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/not/port/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/not/port/node.tag/node.def
index 258c6dc..1824901 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/not/port/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/not/port/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show captured traffic excluding the specified ethernet interface port
-run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6" "${10}" 1
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6" "not port ${10}"
allowed: echo -n '<1-65535>'
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/port/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/port/node.tag/node.def
index 4090508..c94b8d5 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/port/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/capture/port/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show captured traffic on specified ethernet virtual interface port
-run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6" "$9" 0
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6" "port $9"
allowed: echo -n '<1-65535>'