aoe-interfaces.8 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 [-c] [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 OPTIONS
  28. .TP
  29. \fB-c\fP
  30. The \fB-c\fP flag will clear the interface access list, permitting any interface to be used.
  31. .SH EXAMPLE
  32. In this example, the root user on a host named
  33. .I nai
  34. loads the aoe module with only eth0 allowable for AoE traffic. After
  35. remembering that shelf 7 is on eth3, this
  36. sysadmin uses
  37. .I aoe-interfaces
  38. to add eth3 to the list of allowable network interfaces and then
  39. calls
  40. .I aoe-discover
  41. to ask the aoe driver to look for new AoE devices.
  42. .IP
  43. .EX
  44. .nf
  45. nai:~# modprobe aoe aoe_iflist="eth0"
  46. nai:~# aoe-stat
  47. e10.9 eth0 up
  48. nai:~# aoe-interfaces eth0 eth3
  49. nai:~# aoe-discover
  50. nai:~# aoe-stat
  51. e7.0 eth3 up
  52. e7.1 eth3 up
  53. e7.2 eth3 up
  54. e7.3 eth3 up
  55. e7.4 eth3 up
  56. e7.5 eth3 up
  57. e7.6 eth3 up
  58. e7.7 eth3 up
  59. e7.8 eth3 up
  60. e7.9 eth3 up
  61. e10.9 eth0 up
  62. nai:~# aoe-interfaces
  63. eth0 eth3
  64. .fi
  65. .EE
  66. .SH "SEE ALSO"
  67. .IR aoe-discover (8),
  68. .IR aoe-mkdevs (8),
  69. .IR aoe-mkshelf (8),
  70. .IR aoe-stat (8).
  71. .SH AUTHOR
  72. Ed L. Cashin (ecashin@coraid.com)