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