<?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 ${-n :num_echos} ${-i :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 tracert ${-m :hops} ${dest}</ACTION> </COMMAND> <!--=======================================================--> </CLISH_MODULE>