diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-08-16 18:26:24 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-08-16 18:26:24 -0500 |
commit | 5145fd68da8f1c7f8289b99f58cb6eb96389fcef (patch) | |
tree | 0403af40698e922e90c3a2e37adb59327bc95f66 /templates/ping/node.def | |
parent | fe38fc5bf3bded486133e5ee1a4c21d403d85c42 (diff) | |
download | vyatta-op-5145fd68da8f1c7f8289b99f58cb6eb96389fcef.tar.gz vyatta-op-5145fd68da8f1c7f8289b99f58cb6eb96389fcef.zip |
Create new ping command with the following semantics
1. ping <ipv4|ipv6|hostname> will use
* ping for a v4 address
* ping6 for a v6 address
* ping or ping6 for a hostname which ever resolves prefering ipv4
2. ping ipv4 <ipv4|hostname> will ping
3. ping ipv6 <ipv6|hostname> will ping6
4. ping <node> option <advanced ping options>
* allows for options to pass down to ping
* this is a stop gap while we add the most common options
* to the CLI
Diffstat (limited to 'templates/ping/node.def')
-rw-r--r-- | templates/ping/node.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/ping/node.def b/templates/ping/node.def index 2639ddb..a1bac16 100644 --- a/templates/ping/node.def +++ b/templates/ping/node.def @@ -2,3 +2,4 @@ # Operational mode template for the "ping" command # help: Send Internet Control Message Protocol (ICMP) echo request +allowed: echo -n '<hostname> <x.x.x.x> <h:h:h:h:h:h:h:h>' |