aoe-interfaces.8 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .TH aoe-interfaces 8
  2. .SH NAME
  3. aoe-interfaces \- restrict aoe driver to specified network interfaces
  4. .SH SYNOPSIS
  5. .nf
  6. .B aoe-interfaces [dev1] [dev2 ...]
  7. .fi
  8. .SH DESCRIPTION
  9. The
  10. .I aoe-interfaces
  11. command tells the aoe driver to ignore ATA over Ethernet (AoE) traffic
  12. on all but the specified network interfaces. It is analogous to the
  13. \fIaoe_iflist\fP module load option.
  14. .PP
  15. If neither the \fIaoe_iflist\fP module load option nor the
  16. \fIaoe-interfaces\fP command are used, the aoe driver will use any
  17. network interface for AoE traffic.
  18. .PP
  19. If the aoe driver is a module, then calling
  20. .I aoe-interfaces
  21. without arguments will display the current interfaces list. If it
  22. hasn't been set then the output will be blank.
  23. .PP
  24. It's good to run the
  25. .I aoe-discover
  26. command after setting the AoE interfaces list.
  27. .SH EXAMPLE
  28. In this example, the root user on a host named
  29. .I nai
  30. loads the aoe module with only eth0 allowable for AoE traffic. After
  31. remembering that shelf 7 is on eth3, this
  32. sysadmin uses
  33. .I aoe-interfaces
  34. to add eth3 to the list of allowable network interfaces and then
  35. calls
  36. .I aoe-discover
  37. to ask the aoe driver to look for new AoE devices.
  38. .IP
  39. .EX
  40. nai:~# modprobe aoe aoe_iflist="eth0"
  41. nai:~# aoe-stat
  42. e10.9 eth0 up
  43. nai:~# aoe-interfaces eth0 eth3
  44. nai:~# aoe-discover
  45. nai:~# aoe-stat
  46. e7.0 eth3 up
  47. e7.1 eth3 up
  48. e7.2 eth3 up
  49. e7.3 eth3 up
  50. e7.4 eth3 up
  51. e7.5 eth3 up
  52. e7.6 eth3 up
  53. e7.7 eth3 up
  54. e7.8 eth3 up
  55. e7.9 eth3 up
  56. e10.9 eth0 up
  57. nai:~# aoe-interfaces
  58. eth0 eth3
  59. .EE
  60. .LP
  61. .SH "SEE ALSO"
  62. .IR aoe-discover (8),
  63. .IR aoe-mkdevs (8),
  64. .IR aoe-mkshelf (8),
  65. .IR aoe-stat (8).
  66. .SH AUTHOR
  67. Ed L. Cashin (ecashin@coraid.com)