nl-classid-lookup.8 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .TH nl\-classid\-lookup 8 "19 October 2010" "libnl"
  2. .SH NAME
  3. nl\-classid\-lookup - Lookup classid definitions
  4. .SH SYNOPSIS
  5. .B nl\-classid\-lookup
  6. .RB [ \-hv ]
  7. .RB [ \-r ]
  8. .RB [ \-\-raw ]
  9. .I name
  10. .SH DESCRIPTION
  11. .PP
  12. nl\-classid\-lookup searches the classid database for a matching entry. It is used
  13. to resolve qdisc/class names to classid values and vice versa.
  14. .SH OPTIONS
  15. .TP
  16. .BR \-\^h " or " \-\-help
  17. Print help text to console and exit.
  18. .TP
  19. .BR \-\^v " or " \-\-version
  20. Print versioning information to console and exit.
  21. .TP
  22. .BR \-\^r " or " \-\-reverse
  23. Do a reverse lookup. Lookup a classid and print its name.
  24. .TP
  25. .B \-\-raw
  26. Print the raw classid in hexadecimal format, do not pretty print it.
  27. .SH USAGE
  28. .PP
  29. Resolve the qdisc/class name "interactive":
  30. .PP
  31. .RS
  32. # nl\-classid\-lookup interactive
  33. .RE
  34. .PP
  35. Lookup the name of classid 1:2:
  36. .PP
  37. .RS
  38. # nl\-classid\-lookup -r 1:2
  39. .RE
  40. .SH FILES
  41. .PP
  42. /etc/libnl/classid
  43. .SH AUTHOR
  44. .PP
  45. Thomas Graf is the original author and current maintainer of libnl and
  46. libnl tools. Many people have contributed to it since.