diff options
Diffstat (limited to 'templates/show/interfaces/pseudo-ethernet')
4 files changed, 5 insertions, 2 deletions
diff --git a/templates/show/interfaces/pseudo-ethernet/node.tag/capture/filter/node.def b/templates/show/interfaces/pseudo-ethernet/node.tag/capture/filter/node.def new file mode 100644 index 0000000..f434614 --- /dev/null +++ b/templates/show/interfaces/pseudo-ethernet/node.tag/capture/filter/node.def @@ -0,0 +1 @@ +help: Show captured traffic with filtering diff --git a/templates/show/interfaces/pseudo-ethernet/node.tag/capture/filter/node.tag/node.def b/templates/show/interfaces/pseudo-ethernet/node.tag/capture/filter/node.tag/node.def new file mode 100644 index 0000000..2bb99d7 --- /dev/null +++ b/templates/show/interfaces/pseudo-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/pseudo-ethernet/node.tag/capture/not/port/node.tag/node.def b/templates/show/interfaces/pseudo-ethernet/node.tag/capture/not/port/node.tag/node.def index 3a2b44e..0378015 100644 --- a/templates/show/interfaces/pseudo-ethernet/node.tag/capture/not/port/node.tag/node.def +++ b/templates/show/interfaces/pseudo-ethernet/node.tag/capture/not/port/node.tag/node.def @@ -1,3 +1,3 @@ help: Show captured traffic excluding the specified pseudo 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/pseudo-ethernet/node.tag/capture/port/node.tag/node.def b/templates/show/interfaces/pseudo-ethernet/node.tag/capture/port/node.tag/node.def index d5e357e..3d491dd 100644 --- a/templates/show/interfaces/pseudo-ethernet/node.tag/capture/port/node.tag/node.def +++ b/templates/show/interfaces/pseudo-ethernet/node.tag/capture/port/node.tag/node.def @@ -1,3 +1,3 @@ help: Show captured traffic on specified pseudo 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>' |