]> git.proxmox.com Git - mirror_frr.git/blob - doc/user/ospf6d.rst
bd30fb67b0aa303cff806dc404fdb1b25b38f831
[mirror_frr.git] / doc / user / ospf6d.rst
1 .. _OSPFv3:
2
3 ******
4 OSPFv3
5 ******
6
7 *ospf6d* is a daemon support OSPF version 3 for IPv6 network. OSPF for IPv6 is
8 described in :rfc:`2740`.
9
10 .. _OSPF6-router:
11
12 OSPF6 router
13 ============
14
15 .. index:: router ospf6
16 .. clicmd:: router ospf6
17
18 .. index:: router-id A.B.C.D
19 .. clicmd:: router-id A.B.C.D
20
21 Set router's Router-ID.
22
23 .. index:: interface IFNAME area AREA
24 .. clicmd:: interface IFNAME area AREA
25
26 Bind interface to specified area, and start sending OSPF packets. `area` can
27 be specified as 0.
28
29 .. index:: timers throttle spf DELAY INITIAL-HOLDTIME MAX-HOLDTIME
30 .. clicmd:: timers throttle spf DELAY INITIAL-HOLDTIME MAX-HOLDTIME
31
32 .. index:: no timers throttle spf
33 .. clicmd:: no timers throttle spf
34
35 This command sets the initial `delay`, the `initial-holdtime`
36 and the `maximum-holdtime` between when SPF is calculated and the
37 event which triggered the calculation. The times are specified in
38 milliseconds and must be in the range of 0 to 600000 milliseconds.
39
40 The `delay` specifies the minimum amount of time to delay SPF
41 calculation (hence it affects how long SPF calculation is delayed after
42 an event which occurs outside of the holdtime of any previous SPF
43 calculation, and also serves as a minimum holdtime).
44
45 Consecutive SPF calculations will always be seperated by at least
46 'hold-time' milliseconds. The hold-time is adaptive and initially is
47 set to the `initial-holdtime` configured with the above command.
48 Events which occur within the holdtime of the previous SPF calculation
49 will cause the holdtime to be increased by `initial-holdtime`, bounded
50 by the `maximum-holdtime` configured with this command. If the adaptive
51 hold-time elapses without any SPF-triggering event occuring then
52 the current holdtime is reset to the `initial-holdtime`.::
53
54 router ospf6
55 timers throttle spf 200 400 10000
56
57
58 In this example, the `delay` is set to 200ms, the initial holdtime is set
59 to 400ms and the `maximum holdtime` to 10s. Hence there will always be at
60 least 200ms between an event which requires SPF calculation and the actual
61 SPF calculation. Further consecutive SPF calculations will always be
62 seperated by between 400ms to 10s, the hold-time increasing by 400ms each
63 time an SPF-triggering event occurs within the hold-time of the previous
64 SPF calculation.
65
66 .. index:: auto-cost reference-bandwidth COST
67 .. clicmd:: auto-cost reference-bandwidth COST
68
69 .. index:: no auto-cost reference-bandwidth
70 .. clicmd:: no auto-cost reference-bandwidth
71
72 This sets the reference bandwidth for cost calculations, where this
73 bandwidth is considered equivalent to an OSPF cost of 1, specified in
74 Mbits/s. The default is 100Mbit/s (i.e. a link of bandwidth 100Mbit/s
75 or higher will have a cost of 1. Cost of lower bandwidth links will be
76 scaled with reference to this cost).
77
78 This configuration setting MUST be consistent across all routers
79 within the OSPF domain.
80
81 .. _OSPF6-area:
82
83 OSPF6 area
84 ==========
85
86 Area support for OSPFv3 is not yet implemented.
87
88 .. _OSPF6-interface:
89
90 OSPF6 interface
91 ===============
92
93 .. index:: ipv6 ospf6 cost COST
94 .. clicmd:: ipv6 ospf6 cost COST
95
96 Sets interface's output cost. Default value depends on the interface
97 bandwidth and on the auto-cost reference bandwidth.
98
99 .. index:: ipv6 ospf6 hello-interval HELLOINTERVAL
100 .. clicmd:: ipv6 ospf6 hello-interval HELLOINTERVAL
101
102 Sets interface's Hello Interval. Default 40
103
104 .. index:: ipv6 ospf6 dead-interval DEADINTERVAL
105 .. clicmd:: ipv6 ospf6 dead-interval DEADINTERVAL
106
107 Sets interface's Router Dead Interval. Default value is 40.
108
109 .. index:: ipv6 ospf6 retransmit-interval RETRANSMITINTERVAL
110 .. clicmd:: ipv6 ospf6 retransmit-interval RETRANSMITINTERVAL
111
112 Sets interface's Rxmt Interval. Default value is 5.
113
114 .. index:: ipv6 ospf6 priority PRIORITY
115 .. clicmd:: ipv6 ospf6 priority PRIORITY
116
117 Sets interface's Router Priority. Default value is 1.
118
119 .. index:: ipv6 ospf6 transmit-delay TRANSMITDELAY
120 .. clicmd:: ipv6 ospf6 transmit-delay TRANSMITDELAY
121
122 Sets interface's Inf-Trans-Delay. Default value is 1.
123
124 .. index:: ipv6 ospf6 network (broadcast|point-to-point)
125 .. clicmd:: ipv6 ospf6 network (broadcast|point-to-point)
126
127 Set explicitly network type for specifed interface.
128
129 .. _Redistribute-routes-to-OSPF6:
130
131 Redistribute routes to OSPF6
132 ============================
133
134 .. index:: redistribute static
135 .. clicmd:: redistribute static
136
137 .. index:: redistribute connected
138 .. clicmd:: redistribute connected
139
140 .. index:: redistribute ripng
141 .. clicmd:: redistribute ripng
142
143
144 .. _Showing-OSPF6-information:
145
146 Showing OSPF6 information
147 =========================
148
149 .. index:: show ipv6 ospf6 [INSTANCE_ID]
150 .. clicmd:: show ipv6 ospf6 [INSTANCE_ID]
151
152 INSTANCE_ID is an optional OSPF instance ID. To see router ID and OSPF
153 instance ID, simply type "show ipv6 ospf6 <cr>".
154
155 .. index:: show ipv6 ospf6 database
156 .. clicmd:: show ipv6 ospf6 database
157
158 This command shows LSA database summary. You can specify the type of LSA.
159
160 .. index:: show ipv6 ospf6 interface
161 .. clicmd:: show ipv6 ospf6 interface
162
163 To see OSPF interface configuration like costs.
164
165 .. index:: show ipv6 ospf6 neighbor
166 .. clicmd:: show ipv6 ospf6 neighbor
167
168 Shows state and chosen (Backup) DR of neighbor.
169
170 .. index:: show ipv6 ospf6 request-list A.B.C.D
171 .. clicmd:: show ipv6 ospf6 request-list A.B.C.D
172
173 Shows requestlist of neighbor.
174
175 .. index:: show ipv6 route ospf6
176 .. clicmd:: show ipv6 route ospf6
177
178 This command shows internal routing table.
179
180 .. index:: show ipv6 ospf6 zebra
181 .. clicmd:: show ipv6 ospf6 zebra
182
183 Shows state about what is being redistributed between zebra and OSPF6
184
185 OSPF6 Configuration Examples
186 ============================
187
188 Example of ospf6d configured on one interface and area:
189
190 ::
191
192 interface eth0
193 ipv6 ospf6 instance-id 0
194 !
195 router ospf6
196 router-id 212.17.55.53
197 area 0.0.0.0 range 2001:770:105:2::/64
198 interface eth0 area 0.0.0.0
199 !