123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?xml version="1.0" encoding="UTF-8"?>
- <CLISH_MODULE xmlns="http://clish.sourceforge.net/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://clish.sourceforge.net/XMLSchema
- http://clish.sourceforge.net/XMLSchema/clish.xsd">
- <!--=======================================================-->
- <COMMAND name="ping"
- help="Ping">
- <DETAIL>
- The ping utility uses the ICMP protocol's mandatory ECHO_REQUEST datagram
- to elicit an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST
- datagrams (``pings'') have an IP and ICMP header, followed by a ``struct
- timeval'' and then an arbitrary number of ``pad'' bytes used to fill out
- the packet.
- </DETAIL>
- <PARAM name="num_echos"
- help="Specify the number of echo requests to be sent"
- ptype="UINT"
- prefix="-c"
- default="5" />
- <PARAM name="hops"
- help="Specify maximum number of hops"
- ptype="UINT"
- prefix="-h"/>
-
- <PARAM name="dest"
- help="Host name or IP address"
- ptype="IP_ADDR" />
- <ACTION>exec ping ${-c :num_echos} ${-t :hops} ${dest}</ACTION>
- </COMMAND>
- <!--=======================================================-->
- <COMMAND name="traceroute"
- help="TraceRoute">
- <DETAIL>
- The Internet is a large and complex aggregation of network hardware, con-
- nected together by gateways. Tracking the route one's packets follow (or
- finding the miscreant gateway that's discarding your packets) can be dif-
- ficult. traceroute utilizes the IP protocol `time to live' field and at-
- tempts to elicit an ICMP TIME_EXCEEDED response from each gateway along
- the path to some host.
- The only mandatory parameter is the destination host name or IP number.
- </DETAIL>
- <PARAM name="hops"
- help="Specify maximum number of hops"
- ptype="UINT"
- prefix="-h"/>
- <PARAM name="dest"
- help="Remote system to trace"
- ptype="IP_ADDR" />
- <ACTION>exec traceroute ${-m :hops} ${dest}</ACTION>
- </COMMAND>
- <!--=======================================================-->
- </CLISH_MODULE>
|