ospf6d.texi 5.4 KB

  1. @node OSPFv3
  2. @chapter OSPFv3
  3. @command{ospf6d} is a daemon support OSPF version 3 for IPv6 network.
  4. OSPF for IPv6 is described in RFC2740.
  5. @menu
  6. * OSPF6 router::
  7. * OSPF6 area::
  8. * OSPF6 interface::
  9. * Redistribute routes to OSPF6::
  10. * Showing OSPF6 information::
  11. * OSPF6 Configuration Examples::
  12. @end menu
  13. @node OSPF6 router
  14. @section OSPF6 router
  15. @deffn {Command} {router ospf6} {}
  16. @end deffn
  17. @deffn {OSPF6 Command} {router-id @var{a.b.c.d}} {}
  18. Set router's Router-ID.
  19. @end deffn
  20. @deffn {OSPF6 Command} {interface @var{ifname} area @var{area}} {}
  21. Bind interface to specified area, and start sending OSPF packets. @var{area} can
  22. be specified as 0.
  23. @end deffn
  24. @deffn {OSPF6 Command} {timers throttle spf @var{delay} @var{initial-holdtime} @var{max-holdtime}} {}
  25. @deffnx {OSPF6 Command} {no timers throttle spf} {}
  26. This command sets the initial @var{delay}, the @var{initial-holdtime}
  27. and the @var{maximum-holdtime} between when SPF is calculated and the
  28. event which triggered the calculation. The times are specified in
  29. milliseconds and must be in the range of 0 to 600000 milliseconds.
  30. The @var{delay} specifies the minimum amount of time to delay SPF
  31. calculation (hence it affects how long SPF calculation is delayed after
  32. an event which occurs outside of the holdtime of any previous SPF
  33. calculation, and also serves as a minimum holdtime).
  34. Consecutive SPF calculations will always be seperated by at least
  35. 'hold-time' milliseconds. The hold-time is adaptive and initially is
  36. set to the @var{initial-holdtime} configured with the above command.
  37. Events which occur within the holdtime of the previous SPF calculation
  38. will cause the holdtime to be increased by @var{initial-holdtime}, bounded
  39. by the @var{maximum-holdtime} configured with this command. If the adaptive
  40. hold-time elapses without any SPF-triggering event occuring then
  41. the current holdtime is reset to the @var{initial-holdtime}.
  42. @example
  43. @group
  44. router ospf6
  45. timers throttle spf 200 400 10000
  46. @end group
  47. @end example
  48. In this example, the @var{delay} is set to 200ms, the @var{initial
  49. holdtime} is set to 400ms and the @var{maximum holdtime} to 10s. Hence
  50. there will always be at least 200ms between an event which requires SPF
  51. calculation and the actual SPF calculation. Further consecutive SPF
  52. calculations will always be seperated by between 400ms to 10s, the
  53. hold-time increasing by 400ms each time an SPF-triggering event occurs
  54. within the hold-time of the previous SPF calculation.
  55. @end deffn
  56. @deffn {OSPF6 Command} {auto-cost reference-bandwidth @var{cost}} {}
  57. @deffnx {OSPF6 Command} {no auto-cost reference-bandwidth} {}
  58. This sets the reference bandwidth for cost calculations, where this
  59. bandwidth is considered equivalent to an OSPF cost of 1, specified in
  60. Mbits/s. The default is 100Mbit/s (i.e. a link of bandwidth 100Mbit/s
  61. or higher will have a cost of 1. Cost of lower bandwidth links will be
  62. scaled with reference to this cost).
  63. This configuration setting MUST be consistent across all routers
  64. within the OSPF domain.
  65. @end deffn
  66. @node OSPF6 area
  67. @section OSPF6 area
  68. Area support for OSPFv3 is not yet implemented.
  69. @node OSPF6 interface
  70. @section OSPF6 interface
  71. @deffn {Interface Command} {ipv6 ospf6 cost COST} {}
  72. Sets interface's output cost. Default value depends on the interface
  73. bandwidth and on the auto-cost reference bandwidth.
  74. @end deffn
  75. @deffn {Interface Command} {ipv6 ospf6 hello-interval HELLOINTERVAL} {}
  76. Sets interface's Hello Interval. Default 40
  77. @end deffn
  78. @deffn {Interface Command} {ipv6 ospf6 dead-interval DEADINTERVAL} {}
  79. Sets interface's Router Dead Interval. Default value is 40.
  80. @end deffn
  81. @deffn {Interface Command} {ipv6 ospf6 retransmit-interval RETRANSMITINTERVAL} {}
  82. Sets interface's Rxmt Interval. Default value is 5.
  83. @end deffn
  84. @deffn {Interface Command} {ipv6 ospf6 priority PRIORITY} {}
  85. Sets interface's Router Priority. Default value is 1.
  86. @end deffn
  87. @deffn {Interface Command} {ipv6 ospf6 transmit-delay TRANSMITDELAY} {}
  88. Sets interface's Inf-Trans-Delay. Default value is 1.
  89. @end deffn
  90. @deffn {Interface Command} {ipv6 ospf6 network (broadcast|point-to-point)} {}
  91. Set explicitly network type for specifed interface.
  92. @end deffn
  93. @node Redistribute routes to OSPF6
  94. @section Redistribute routes to OSPF6
  95. @deffn {OSPF6 Command} {redistribute static} {}
  96. @deffnx {OSPF6 Command} {redistribute connected} {}
  97. @deffnx {OSPF6 Command} {redistribute ripng} {}
  98. @end deffn
  99. @node Showing OSPF6 information
  100. @section Showing OSPF6 information
  101. @deffn {Command} {show ipv6 ospf6 [INSTANCE_ID]} {}
  102. INSTANCE_ID is an optional OSPF instance ID. To see router ID and OSPF
  103. instance ID, simply type "show ipv6 ospf6 <cr>".
  104. @end deffn
  105. @deffn {Command} {show ipv6 ospf6 database} {}
  106. This command shows LSA database summary. You can specify the type of LSA.
  107. @end deffn
  108. @deffn {Command} {show ipv6 ospf6 interface} {}
  109. To see OSPF interface configuration like costs.
  110. @end deffn
  111. @deffn {Command} {show ipv6 ospf6 neighbor} {}
  112. Shows state and chosen (Backup) DR of neighbor.
  113. @end deffn
  114. @deffn {Command} {show ipv6 ospf6 request-list A.B.C.D} {}
  115. Shows requestlist of neighbor.
  116. @end deffn
  117. @deffn {Command} {show ipv6 route ospf6} {}
  118. This command shows internal routing table.
  119. @end deffn
  120. @node OSPF6 Configuration Examples
  121. @section OSPF6 Configuration Examples
  122. Example of ospf6d configured on one interface and area:
  123. @example
  124. interface eth0
  125. ipv6 ospf6 instance-id 0
  126. !
  127. router ospf6
  128. router-id
  129. area range 2001:770:105:2::/64
  130. interface eth0 area
  131. !
  132. @end example