ifmetric.8.xml.in 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" standalone='no'?> <!--*-nxml-*-->
  2. <!DOCTYPE manpage SYSTEM "xmltoman.dtd">
  3. <?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
  4. <!-- $Id: ifmetric.8.xml.in 16 2004-01-23 23:20:25Z lennart $ -->
  5. <!--
  6. This file is part of ifmetric.
  7. ifmetric is free software; you can redistribute it and/or modify it under
  8. the terms of the GNU General Public License as published by the Free
  9. Software Foundation; either version 2 of the License, or (at your
  10. option) any later version.
  11. ifmetric is distributed in the hope that it will be useful, but WITHOUT
  12. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  14. for more details.
  15. You should have received a copy of the GNU General Public License
  16. along with ifmetric; if not, write to the Free Software Foundation,
  17. Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  18. -->
  19. <manpage name="ifmetric" section="8" desc="An IPv4 route metrics manipulation tool">
  20. <synopsis>
  21. <cmd>ifmetric <arg>INTERFACE</arg> [<arg>METRIC</arg>]</cmd>
  22. </synopsis>
  23. <description> <p>ifmetric is a Linux tool for setting the metrics of all
  24. IPv4 routes attached to a given network interface at once. This
  25. may be used to change the priority of routing IPv4 traffic over
  26. the interface. Lower metrics correlate with higher
  27. priorities.</p>
  28. <p>ifmetric uses the Linux NETLINK interface to manipulate the
  29. routes. Because of that it is compatible with routes created with
  30. the new iproute2 utility.</p>
  31. </description>
  32. <options>
  33. <p>You should specify the interface name as first parameter. The
  34. second parameter should be the new metric. If ommited the metric
  35. 0 (highest) is used.</p>
  36. </options>
  37. <section name="Return values">
  38. <p><arg>0</arg> Success</p>
  39. <p><arg>1</arg> Failure</p>
  40. </section>
  41. <section name="Author">
  42. <p>ifmetric was written by Lennart Poettering &lt;@PACKAGE_BUGREPORT@&gt;. ifmetric is available at <url href="@PACKAGE_URL@"/></p>
  43. </section>
  44. <section name="See also">
  45. <p>
  46. <manref name="route" section="8"/>, <manref name="ip" section="8"/> (iproute2)
  47. </p>
  48. </section>
  49. <section name="Comments">
  50. <p>This man page was written using <manref name="xml2man" section="1"
  51. href="http://masqmail.cx/xml2man/"/> by Oliver Kurth.</p>
  52. </section>
  53. </manpage>