diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-06-23 09:38:45 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-06-23 09:38:45 +0000 |
commit | faf87e1a036da715dabba36d119c0ce3a93c7a9e (patch) | |
tree | d0a09e10dd5074a52e57607f910aeebed1478251 /templates/show/interfaces | |
parent | e29735e051da7520869b91a4324b9695d9656cfc (diff) | |
download | vyatta-op-faf87e1a036da715dabba36d119c0ce3a93c7a9e.tar.gz vyatta-op-faf87e1a036da715dabba36d119c0ce3a93c7a9e.zip |
Fix Bug 1059 Feature Request: integrate 'tcpdump' and 'tethereal' into Vyatta CLI
add op-mode command for tsharking tunnel interfaces
Diffstat (limited to 'templates/show/interfaces')
6 files changed, 11 insertions, 0 deletions
diff --git a/templates/show/interfaces/tunnel/node.tag/capture/node.def b/templates/show/interfaces/tunnel/node.tag/capture/node.def new file mode 100644 index 0000000..b196a35 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/node.def @@ -0,0 +1,2 @@ +help: Show captured traffic on specified tunnel interface +run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" diff --git a/templates/show/interfaces/tunnel/node.tag/capture/not/node.def b/templates/show/interfaces/tunnel/node.tag/capture/not/node.def new file mode 100644 index 0000000..c957f71 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/not/node.def @@ -0,0 +1 @@ +help: Show captured traffic excluding the specified tunnel interface port diff --git a/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.def b/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.def new file mode 100644 index 0000000..c957f71 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.def @@ -0,0 +1 @@ +help: Show captured traffic excluding the specified tunnel interface port diff --git a/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.tag/node.def new file mode 100644 index 0000000..b5c87c9 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show captured traffic excluding the specified tunnel interface port +run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "$8" 1 +allowed: echo -n '<1-65535>' diff --git a/templates/show/interfaces/tunnel/node.tag/capture/port/node.def b/templates/show/interfaces/tunnel/node.tag/capture/port/node.def new file mode 100644 index 0000000..ed3b544 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/port/node.def @@ -0,0 +1 @@ +help: Show captured traffic on specified tunnel interface port diff --git a/templates/show/interfaces/tunnel/node.tag/capture/port/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/capture/port/node.tag/node.def new file mode 100644 index 0000000..d1f01df --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/port/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show captured traffic on specified tunnel interface port +run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "$7" 0 +allowed: echo -n '<1-65535>' |