Debian Codegraph @

ansible_collections/cisco/ios/docs/cisco.ios.ios_ospf_interfaces_module.rst

raw
1 .. _cisco.ios.ios_ospf_interfaces_module:
2
3
4 *****************************
5 cisco.ios.ios_ospf_interfaces
6 *****************************
7
8 **Resource module to configure OSPF interfaces.**
9
10
11 Version added: 1.0.0
12
13 .. contents::
14 :local:
15 :depth: 1
16
17
18 Synopsis
19 --------
20 - This module configures and manages the Open Shortest Path First (OSPF) version 2 on IOS platforms.
21
22
23
24
25 Parameters
26 ----------
27
28 .. raw:: html
29
30 <table border=0 cellpadding=0 class="documentation-table">
31 <tr>
32 <th colspan="6">Parameter</th>
33 <th>Choices/<font color="blue">Defaults</font></th>
34 <th width="100%">Comments</th>
35 </tr>
36 <tr>
37 <td colspan="6">
38 <div class="ansibleOptionAnchor" id="parameter-"></div>
39 <b>config</b>
40 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
41 <div style="font-size: small">
42 <span style="color: purple">list</span>
43 / <span style="color: purple">elements=dictionary</span>
44 </div>
45 </td>
46 <td>
47 </td>
48 <td>
49 <div>A dictionary of OSPF interfaces options.</div>
50 </td>
51 </tr>
52 <tr>
53 <td class="elbow-placeholder"></td>
54 <td colspan="5">
55 <div class="ansibleOptionAnchor" id="parameter-"></div>
56 <b>address_family</b>
57 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
58 <div style="font-size: small">
59 <span style="color: purple">list</span>
60 / <span style="color: purple">elements=dictionary</span>
61 </div>
62 </td>
63 <td>
64 </td>
65 <td>
66 <div>OSPF interfaces settings on the interfaces in address-family context.</div>
67 </td>
68 </tr>
69 <tr>
70 <td class="elbow-placeholder"></td>
71 <td class="elbow-placeholder"></td>
72 <td colspan="4">
73 <div class="ansibleOptionAnchor" id="parameter-"></div>
74 <b>adjacency</b>
75 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
76 <div style="font-size: small">
77 <span style="color: purple">boolean</span>
78 </div>
79 </td>
80 <td>
81 <ul style="margin: 0; padding: 0"><b>Choices:</b>
82 <li>no</li>
83 <li>yes</li>
84 </ul>
85 </td>
86 <td>
87 <div>Adjacency staggering</div>
88 </td>
89 </tr>
90 <tr>
91 <td class="elbow-placeholder"></td>
92 <td class="elbow-placeholder"></td>
93 <td colspan="4">
94 <div class="ansibleOptionAnchor" id="parameter-"></div>
95 <b>afi</b>
96 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
97 <div style="font-size: small">
98 <span style="color: purple">string</span>
99 / <span style="color: red">required</span>
100 </div>
101 </td>
102 <td>
103 <ul style="margin: 0; padding: 0"><b>Choices:</b>
104 <li>ipv4</li>
105 <li>ipv6</li>
106 </ul>
107 </td>
108 <td>
109 <div>Address Family Identifier (AFI) for OSPF interfaces settings on the interfaces.</div>
110 </td>
111 </tr>
112 <tr>
113 <td class="elbow-placeholder"></td>
114 <td class="elbow-placeholder"></td>
115 <td colspan="4">
116 <div class="ansibleOptionAnchor" id="parameter-"></div>
117 <b>authentication</b>
118 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
119 <div style="font-size: small">
120 <span style="color: purple">dictionary</span>
121 </div>
122 </td>
123 <td>
124 </td>
125 <td>
126 <div>Enable authentication</div>
127 </td>
128 </tr>
129 <tr>
130 <td class="elbow-placeholder"></td>
131 <td class="elbow-placeholder"></td>
132 <td class="elbow-placeholder"></td>
133 <td colspan="3">
134 <div class="ansibleOptionAnchor" id="parameter-"></div>
135 <b>key_chain</b>
136 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
137 <div style="font-size: small">
138 <span style="color: purple">string</span>
139 </div>
140 </td>
141 <td>
142 </td>
143 <td>
144 <div>Use a key-chain for cryptographic authentication keys</div>
145 </td>
146 </tr>
147 <tr>
148 <td class="elbow-placeholder"></td>
149 <td class="elbow-placeholder"></td>
150 <td class="elbow-placeholder"></td>
151 <td colspan="3">
152 <div class="ansibleOptionAnchor" id="parameter-"></div>
153 <b>message_digest</b>
154 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
155 <div style="font-size: small">
156 <span style="color: purple">boolean</span>
157 </div>
158 </td>
159 <td>
160 <ul style="margin: 0; padding: 0"><b>Choices:</b>
161 <li>no</li>
162 <li>yes</li>
163 </ul>
164 </td>
165 <td>
166 <div>Use message-digest authentication</div>
167 </td>
168 </tr>
169 <tr>
170 <td class="elbow-placeholder"></td>
171 <td class="elbow-placeholder"></td>
172 <td class="elbow-placeholder"></td>
173 <td colspan="3">
174 <div class="ansibleOptionAnchor" id="parameter-"></div>
175 <b>null</b>
176 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
177 <div style="font-size: small">
178 <span style="color: purple">boolean</span>
179 </div>
180 </td>
181 <td>
182 <ul style="margin: 0; padding: 0"><b>Choices:</b>
183 <li>no</li>
184 <li>yes</li>
185 </ul>
186 </td>
187 <td>
188 <div>Use no authentication</div>
189 </td>
190 </tr>
191
192 <tr>
193 <td class="elbow-placeholder"></td>
194 <td class="elbow-placeholder"></td>
195 <td colspan="4">
196 <div class="ansibleOptionAnchor" id="parameter-"></div>
197 <b>bfd</b>
198 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
199 <div style="font-size: small">
200 <span style="color: purple">boolean</span>
201 </div>
202 </td>
203 <td>
204 <ul style="margin: 0; padding: 0"><b>Choices:</b>
205 <li>no</li>
206 <li>yes</li>
207 </ul>
208 </td>
209 <td>
210 <div>BFD configuration commands</div>
211 <div>Enable/Disable BFD on this interface</div>
212 </td>
213 </tr>
214 <tr>
215 <td class="elbow-placeholder"></td>
216 <td class="elbow-placeholder"></td>
217 <td colspan="4">
218 <div class="ansibleOptionAnchor" id="parameter-"></div>
219 <b>cost</b>
220 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
221 <div style="font-size: small">
222 <span style="color: purple">dictionary</span>
223 </div>
224 </td>
225 <td>
226 </td>
227 <td>
228 <div>Interface cost</div>
229 </td>
230 </tr>
231 <tr>
232 <td class="elbow-placeholder"></td>
233 <td class="elbow-placeholder"></td>
234 <td class="elbow-placeholder"></td>
235 <td colspan="3">
236 <div class="ansibleOptionAnchor" id="parameter-"></div>
237 <b>dynamic_cost</b>
238 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
239 <div style="font-size: small">
240 <span style="color: purple">dictionary</span>
241 </div>
242 </td>
243 <td>
244 </td>
245 <td>
246 <div>Specify dynamic cost options</div>
247 <div>Valid only with IPv6 OSPF config</div>
248 </td>
249 </tr>
250 <tr>
251 <td class="elbow-placeholder"></td>
252 <td class="elbow-placeholder"></td>
253 <td class="elbow-placeholder"></td>
254 <td class="elbow-placeholder"></td>
255 <td colspan="2">
256 <div class="ansibleOptionAnchor" id="parameter-"></div>
257 <b>default</b>
258 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
259 <div style="font-size: small">
260 <span style="color: purple">integer</span>
261 </div>
262 </td>
263 <td>
264 </td>
265 <td>
266 <div>Specify default link metric value</div>
267 </td>
268 </tr>
269 <tr>
270 <td class="elbow-placeholder"></td>
271 <td class="elbow-placeholder"></td>
272 <td class="elbow-placeholder"></td>
273 <td class="elbow-placeholder"></td>
274 <td colspan="2">
275 <div class="ansibleOptionAnchor" id="parameter-"></div>
276 <b>hysteresis</b>
277 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
278 <div style="font-size: small">
279 <span style="color: purple">dictionary</span>
280 </div>
281 </td>
282 <td>
283 </td>
284 <td>
285 <div>Specify hysteresis value for LSA dampening</div>
286 </td>
287 </tr>
288 <tr>
289 <td class="elbow-placeholder"></td>
290 <td class="elbow-placeholder"></td>
291 <td class="elbow-placeholder"></td>
292 <td class="elbow-placeholder"></td>
293 <td class="elbow-placeholder"></td>
294 <td colspan="1">
295 <div class="ansibleOptionAnchor" id="parameter-"></div>
296 <b>percent</b>
297 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
298 <div style="font-size: small">
299 <span style="color: purple">integer</span>
300 </div>
301 </td>
302 <td>
303 </td>
304 <td>
305 <div>Specify hysteresis percent changed. Please refer vendor documentation of Valid values.</div>
306 </td>
307 </tr>
308 <tr>
309 <td class="elbow-placeholder"></td>
310 <td class="elbow-placeholder"></td>
311 <td class="elbow-placeholder"></td>
312 <td class="elbow-placeholder"></td>
313 <td class="elbow-placeholder"></td>
314 <td colspan="1">
315 <div class="ansibleOptionAnchor" id="parameter-"></div>
316 <b>threshold</b>
317 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
318 <div style="font-size: small">
319 <span style="color: purple">integer</span>
320 </div>
321 </td>
322 <td>
323 </td>
324 <td>
325 <div>Specify hysteresis threshold value. Please refer vendor documentation of Valid values.</div>
326 </td>
327 </tr>
328
329 <tr>
330 <td class="elbow-placeholder"></td>
331 <td class="elbow-placeholder"></td>
332 <td class="elbow-placeholder"></td>
333 <td class="elbow-placeholder"></td>
334 <td colspan="2">
335 <div class="ansibleOptionAnchor" id="parameter-"></div>
336 <b>weight</b>
337 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
338 <div style="font-size: small">
339 <span style="color: purple">dictionary</span>
340 </div>
341 </td>
342 <td>
343 </td>
344 <td>
345 <div>Specify weight to be placed on individual metrics</div>
346 </td>
347 </tr>
348 <tr>
349 <td class="elbow-placeholder"></td>
350 <td class="elbow-placeholder"></td>
351 <td class="elbow-placeholder"></td>
352 <td class="elbow-placeholder"></td>
353 <td class="elbow-placeholder"></td>
354 <td colspan="1">
355 <div class="ansibleOptionAnchor" id="parameter-"></div>
356 <b>l2_factor</b>
357 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
358 <div style="font-size: small">
359 <span style="color: purple">integer</span>
360 </div>
361 </td>
362 <td>
363 </td>
364 <td>
365 <div>Specify weight to be given to L2-factor metric</div>
366 <div>Percentage weight of L2-factor metric. Please refer vendor documentation of Valid values.</div>
367 </td>
368 </tr>
369 <tr>
370 <td class="elbow-placeholder"></td>
371 <td class="elbow-placeholder"></td>
372 <td class="elbow-placeholder"></td>
373 <td class="elbow-placeholder"></td>
374 <td class="elbow-placeholder"></td>
375 <td colspan="1">
376 <div class="ansibleOptionAnchor" id="parameter-"></div>
377 <b>latency</b>
378 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
379 <div style="font-size: small">
380 <span style="color: purple">integer</span>
381 </div>
382 </td>
383 <td>
384 </td>
385 <td>
386 <div>Specify weight to be given to latency metric.</div>
387 <div>Percentage weight of latency metric. Please refer vendor documentation of Valid values.</div>
388 </td>
389 </tr>
390 <tr>
391 <td class="elbow-placeholder"></td>
392 <td class="elbow-placeholder"></td>
393 <td class="elbow-placeholder"></td>
394 <td class="elbow-placeholder"></td>
395 <td class="elbow-placeholder"></td>
396 <td colspan="1">
397 <div class="ansibleOptionAnchor" id="parameter-"></div>
398 <b>oc</b>
399 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
400 <div style="font-size: small">
401 <span style="color: purple">boolean</span>
402 </div>
403 </td>
404 <td>
405 <ul style="margin: 0; padding: 0"><b>Choices:</b>
406 <li>no</li>
407 <li>yes</li>
408 </ul>
409 </td>
410 <td>
411 <div>Specify weight to be given to cdr/mdr for oc</div>
412 <div>Give 100 percent weightage for current data rate(0 for maxdatarate)</div>
413 </td>
414 </tr>
415 <tr>
416 <td class="elbow-placeholder"></td>
417 <td class="elbow-placeholder"></td>
418 <td class="elbow-placeholder"></td>
419 <td class="elbow-placeholder"></td>
420 <td class="elbow-placeholder"></td>
421 <td colspan="1">
422 <div class="ansibleOptionAnchor" id="parameter-"></div>
423 <b>resources</b>
424 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
425 <div style="font-size: small">
426 <span style="color: purple">integer</span>
427 </div>
428 </td>
429 <td>
430 </td>
431 <td>
432 <div>Specify weight to be given to resources metric</div>
433 <div>Percentage weight of resources metric. Please refer vendor documentation of Valid values.</div>
434 </td>
435 </tr>
436 <tr>
437 <td class="elbow-placeholder"></td>
438 <td class="elbow-placeholder"></td>
439 <td class="elbow-placeholder"></td>
440 <td class="elbow-placeholder"></td>
441 <td class="elbow-placeholder"></td>
442 <td colspan="1">
443 <div class="ansibleOptionAnchor" id="parameter-"></div>
444 <b>throughput</b>
445 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
446 <div style="font-size: small">
447 <span style="color: purple">integer</span>
448 </div>
449 </td>
450 <td>
451 </td>
452 <td>
453 <div>Specify weight to be given to throughput metric</div>
454 <div>Percentage weight of throughput metric. Please refer vendor documentation of Valid values.</div>
455 </td>
456 </tr>
457
458
459 <tr>
460 <td class="elbow-placeholder"></td>
461 <td class="elbow-placeholder"></td>
462 <td class="elbow-placeholder"></td>
463 <td colspan="3">
464 <div class="ansibleOptionAnchor" id="parameter-"></div>
465 <b>interface_cost</b>
466 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
467 <div style="font-size: small">
468 <span style="color: purple">integer</span>
469 </div>
470 </td>
471 <td>
472 </td>
473 <td>
474 <div>Interface cost or Route cost of this interface</div>
475 </td>
476 </tr>
477
478 <tr>
479 <td class="elbow-placeholder"></td>
480 <td class="elbow-placeholder"></td>
481 <td colspan="4">
482 <div class="ansibleOptionAnchor" id="parameter-"></div>
483 <b>database_filter</b>
484 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
485 <div style="font-size: small">
486 <span style="color: purple">boolean</span>
487 </div>
488 </td>
489 <td>
490 <ul style="margin: 0; padding: 0"><b>Choices:</b>
491 <li>no</li>
492 <li>yes</li>
493 </ul>
494 </td>
495 <td>
496 <div>Filter OSPF LSA during synchronization and flooding</div>
497 </td>
498 </tr>
499 <tr>
500 <td class="elbow-placeholder"></td>
501 <td class="elbow-placeholder"></td>
502 <td colspan="4">
503 <div class="ansibleOptionAnchor" id="parameter-"></div>
504 <b>dead_interval</b>
505 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
506 <div style="font-size: small">
507 <span style="color: purple">dictionary</span>
508 </div>
509 </td>
510 <td>
511 </td>
512 <td>
513 <div>Interval after which a neighbor is declared dead</div>
514 </td>
515 </tr>
516 <tr>
517 <td class="elbow-placeholder"></td>
518 <td class="elbow-placeholder"></td>
519 <td class="elbow-placeholder"></td>
520 <td colspan="3">
521 <div class="ansibleOptionAnchor" id="parameter-"></div>
522 <b>minimal</b>
523 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
524 <div style="font-size: small">
525 <span style="color: purple">integer</span>
526 </div>
527 </td>
528 <td>
529 </td>
530 <td>
531 <div>Set to 1 second and set multiplier for Hellos</div>
532 <div>Number of Hellos sent within 1 second. Please refer vendor documentation of Valid values.</div>
533 <div>Valid only with IP OSPF config</div>
534 </td>
535 </tr>
536 <tr>
537 <td class="elbow-placeholder"></td>
538 <td class="elbow-placeholder"></td>
539 <td class="elbow-placeholder"></td>
540 <td colspan="3">
541 <div class="ansibleOptionAnchor" id="parameter-"></div>
542 <b>time</b>
543 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
544 <div style="font-size: small">
545 <span style="color: purple">integer</span>
546 </div>
547 </td>
548 <td>
549 </td>
550 <td>
551 <div>time in seconds</div>
552 </td>
553 </tr>
554
555 <tr>
556 <td class="elbow-placeholder"></td>
557 <td class="elbow-placeholder"></td>
558 <td colspan="4">
559 <div class="ansibleOptionAnchor" id="parameter-"></div>
560 <b>demand_circuit</b>
561 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
562 <div style="font-size: small">
563 <span style="color: purple">dictionary</span>
564 </div>
565 </td>
566 <td>
567 </td>
568 <td>
569 <div>OSPF Demand Circuit, enable or disable the demand circuit&#x27;</div>
570 </td>
571 </tr>
572 <tr>
573 <td class="elbow-placeholder"></td>
574 <td class="elbow-placeholder"></td>
575 <td class="elbow-placeholder"></td>
576 <td colspan="3">
577 <div class="ansibleOptionAnchor" id="parameter-"></div>
578 <b>disable</b>
579 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
580 <div style="font-size: small">
581 <span style="color: purple">boolean</span>
582 </div>
583 </td>
584 <td>
585 <ul style="margin: 0; padding: 0"><b>Choices:</b>
586 <li>no</li>
587 <li>yes</li>
588 </ul>
589 </td>
590 <td>
591 <div>Disable demand circuit on this interface</div>
592 <div>Valid only with IPv6 OSPF config</div>
593 </td>
594 </tr>
595 <tr>
596 <td class="elbow-placeholder"></td>
597 <td class="elbow-placeholder"></td>
598 <td class="elbow-placeholder"></td>
599 <td colspan="3">
600 <div class="ansibleOptionAnchor" id="parameter-"></div>
601 <b>enable</b>
602 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
603 <div style="font-size: small">
604 <span style="color: purple">boolean</span>
605 </div>
606 </td>
607 <td>
608 <ul style="margin: 0; padding: 0"><b>Choices:</b>
609 <li>no</li>
610 <li>yes</li>
611 </ul>
612 </td>
613 <td>
614 <div>Enable Demand Circuit</div>
615 </td>
616 </tr>
617 <tr>
618 <td class="elbow-placeholder"></td>
619 <td class="elbow-placeholder"></td>
620 <td class="elbow-placeholder"></td>
621 <td colspan="3">
622 <div class="ansibleOptionAnchor" id="parameter-"></div>
623 <b>ignore</b>
624 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
625 <div style="font-size: small">
626 <span style="color: purple">boolean</span>
627 </div>
628 </td>
629 <td>
630 <ul style="margin: 0; padding: 0"><b>Choices:</b>
631 <li>no</li>
632 <li>yes</li>
633 </ul>
634 </td>
635 <td>
636 <div>Ignore demand circuit auto-negotiation requests</div>
637 </td>
638 </tr>
639
640 <tr>
641 <td class="elbow-placeholder"></td>
642 <td class="elbow-placeholder"></td>
643 <td colspan="4">
644 <div class="ansibleOptionAnchor" id="parameter-"></div>
645 <b>flood_reduction</b>
646 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
647 <div style="font-size: small">
648 <span style="color: purple">boolean</span>
649 </div>
650 </td>
651 <td>
652 <ul style="margin: 0; padding: 0"><b>Choices:</b>
653 <li>no</li>
654 <li>yes</li>
655 </ul>
656 </td>
657 <td>
658 <div>OSPF Flood Reduction</div>
659 </td>
660 </tr>
661 <tr>
662 <td class="elbow-placeholder"></td>
663 <td class="elbow-placeholder"></td>
664 <td colspan="4">
665 <div class="ansibleOptionAnchor" id="parameter-"></div>
666 <b>hello_interval</b>
667 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
668 <div style="font-size: small">
669 <span style="color: purple">integer</span>
670 </div>
671 </td>
672 <td>
673 </td>
674 <td>
675 <div>Time between HELLO packets</div>
676 <div>Please refer vendor documentation of Valid values.</div>
677 </td>
678 </tr>
679 <tr>
680 <td class="elbow-placeholder"></td>
681 <td class="elbow-placeholder"></td>
682 <td colspan="4">
683 <div class="ansibleOptionAnchor" id="parameter-"></div>
684 <b>lls</b>
685 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
686 <div style="font-size: small">
687 <span style="color: purple">boolean</span>
688 </div>
689 </td>
690 <td>
691 <ul style="margin: 0; padding: 0"><b>Choices:</b>
692 <li>no</li>
693 <li>yes</li>
694 </ul>
695 </td>
696 <td>
697 <div>Link-local Signaling (LLS) support</div>
698 <div>Valid only with IP OSPF config</div>
699 </td>
700 </tr>
701 <tr>
702 <td class="elbow-placeholder"></td>
703 <td class="elbow-placeholder"></td>
704 <td colspan="4">
705 <div class="ansibleOptionAnchor" id="parameter-"></div>
706 <b>manet</b>
707 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
708 <div style="font-size: small">
709 <span style="color: purple">dictionary</span>
710 </div>
711 </td>
712 <td>
713 </td>
714 <td>
715 <div>Mobile Adhoc Networking options</div>
716 <div>MANET Peering options</div>
717 <div>Valid only with IPv6 OSPF config</div>
718 </td>
719 </tr>
720 <tr>
721 <td class="elbow-placeholder"></td>
722 <td class="elbow-placeholder"></td>
723 <td class="elbow-placeholder"></td>
724 <td colspan="3">
725 <div class="ansibleOptionAnchor" id="parameter-"></div>
726 <b>cost</b>
727 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
728 <div style="font-size: small">
729 <span style="color: purple">dictionary</span>
730 </div>
731 </td>
732 <td>
733 </td>
734 <td>
735 <div>Redundant path cost improvement required to peer</div>
736 </td>
737 </tr>
738 <tr>
739 <td class="elbow-placeholder"></td>
740 <td class="elbow-placeholder"></td>
741 <td class="elbow-placeholder"></td>
742 <td class="elbow-placeholder"></td>
743 <td colspan="2">
744 <div class="ansibleOptionAnchor" id="parameter-"></div>
745 <b>percent</b>
746 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
747 <div style="font-size: small">
748 <span style="color: purple">integer</span>
749 </div>
750 </td>
751 <td>
752 </td>
753 <td>
754 <div>Relative incremental path cost. Please refer vendor documentation of Valid values.</div>
755 </td>
756 </tr>
757 <tr>
758 <td class="elbow-placeholder"></td>
759 <td class="elbow-placeholder"></td>
760 <td class="elbow-placeholder"></td>
761 <td class="elbow-placeholder"></td>
762 <td colspan="2">
763 <div class="ansibleOptionAnchor" id="parameter-"></div>
764 <b>threshold</b>
765 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
766 <div style="font-size: small">
767 <span style="color: purple">integer</span>
768 </div>
769 </td>
770 <td>
771 </td>
772 <td>
773 <div>Absolute incremental path cost. Please refer vendor documentation of Valid values.</div>
774 </td>
775 </tr>
776
777 <tr>
778 <td class="elbow-placeholder"></td>
779 <td class="elbow-placeholder"></td>
780 <td class="elbow-placeholder"></td>
781 <td colspan="3">
782 <div class="ansibleOptionAnchor" id="parameter-"></div>
783 <b>link_metrics</b>
784 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
785 <div style="font-size: small">
786 <span style="color: purple">dictionary</span>
787 </div>
788 </td>
789 <td>
790 </td>
791 <td>
792 <div>Redundant path cost improvement required to peer</div>
793 </td>
794 </tr>
795 <tr>
796 <td class="elbow-placeholder"></td>
797 <td class="elbow-placeholder"></td>
798 <td class="elbow-placeholder"></td>
799 <td class="elbow-placeholder"></td>
800 <td colspan="2">
801 <div class="ansibleOptionAnchor" id="parameter-"></div>
802 <b>cost_threshold</b>
803 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
804 <div style="font-size: small">
805 <span style="color: purple">integer</span>
806 </div>
807 </td>
808 <td>
809 </td>
810 <td>
811 <div>Minimum link cost threshold. Please refer vendor documentation of Valid values.</div>
812 </td>
813 </tr>
814 <tr>
815 <td class="elbow-placeholder"></td>
816 <td class="elbow-placeholder"></td>
817 <td class="elbow-placeholder"></td>
818 <td class="elbow-placeholder"></td>
819 <td colspan="2">
820 <div class="ansibleOptionAnchor" id="parameter-"></div>
821 <b>set</b>
822 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
823 <div style="font-size: small">
824 <span style="color: purple">boolean</span>
825 </div>
826 </td>
827 <td>
828 <ul style="margin: 0; padding: 0"><b>Choices:</b>
829 <li>no</li>
830 <li>yes</li>
831 </ul>
832 </td>
833 <td>
834 <div>Enable link-metrics</div>
835 </td>
836 </tr>
837
838
839 <tr>
840 <td class="elbow-placeholder"></td>
841 <td class="elbow-placeholder"></td>
842 <td colspan="4">
843 <div class="ansibleOptionAnchor" id="parameter-"></div>
844 <b>mtu_ignore</b>
845 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
846 <div style="font-size: small">
847 <span style="color: purple">boolean</span>
848 </div>
849 </td>
850 <td>
851 <ul style="margin: 0; padding: 0"><b>Choices:</b>
852 <li>no</li>
853 <li>yes</li>
854 </ul>
855 </td>
856 <td>
857 <div>Ignores the MTU in DBD packets</div>
858 </td>
859 </tr>
860 <tr>
861 <td class="elbow-placeholder"></td>
862 <td class="elbow-placeholder"></td>
863 <td colspan="4">
864 <div class="ansibleOptionAnchor" id="parameter-"></div>
865 <b>multi_area</b>
866 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
867 <div style="font-size: small">
868 <span style="color: purple">dictionary</span>
869 </div>
870 </td>
871 <td>
872 </td>
873 <td>
874 <div>Set the OSPF multi-area ID</div>
875 <div>Valid only with IP OSPF config</div>
876 </td>
877 </tr>
878 <tr>
879 <td class="elbow-placeholder"></td>
880 <td class="elbow-placeholder"></td>
881 <td class="elbow-placeholder"></td>
882 <td colspan="3">
883 <div class="ansibleOptionAnchor" id="parameter-"></div>
884 <b>cost</b>
885 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
886 <div style="font-size: small">
887 <span style="color: purple">integer</span>
888 </div>
889 </td>
890 <td>
891 </td>
892 <td>
893 <div>Interface cost</div>
894 </td>
895 </tr>
896 <tr>
897 <td class="elbow-placeholder"></td>
898 <td class="elbow-placeholder"></td>
899 <td class="elbow-placeholder"></td>
900 <td colspan="3">
901 <div class="ansibleOptionAnchor" id="parameter-"></div>
902 <b>id</b>
903 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
904 <div style="font-size: small">
905 <span style="color: purple">integer</span>
906 </div>
907 </td>
908 <td>
909 </td>
910 <td>
911 <div>OSPF multi-area ID as a decimal value. Please refer vendor documentation of Valid values.</div>
912 <div>OSPF multi-area ID in IP address format(e.g. A.B.C.D)</div>
913 </td>
914 </tr>
915
916 <tr>
917 <td class="elbow-placeholder"></td>
918 <td class="elbow-placeholder"></td>
919 <td colspan="4">
920 <div class="ansibleOptionAnchor" id="parameter-"></div>
921 <b>neighbor</b>
922 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
923 <div style="font-size: small">
924 <span style="color: purple">dictionary</span>
925 </div>
926 </td>
927 <td>
928 </td>
929 <td>
930 <div>OSPF neighbor link-local IPv6 address (X:X:X:X::X)</div>
931 <div>Valid only with IPv6 OSPF config</div>
932 </td>
933 </tr>
934 <tr>
935 <td class="elbow-placeholder"></td>
936 <td class="elbow-placeholder"></td>
937 <td class="elbow-placeholder"></td>
938 <td colspan="3">
939 <div class="ansibleOptionAnchor" id="parameter-"></div>
940 <b>address</b>
941 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
942 <div style="font-size: small">
943 <span style="color: purple">string</span>
944 </div>
945 </td>
946 <td>
947 </td>
948 <td>
949 <div>Neighbor link-local IPv6 address</div>
950 </td>
951 </tr>
952 <tr>
953 <td class="elbow-placeholder"></td>
954 <td class="elbow-placeholder"></td>
955 <td class="elbow-placeholder"></td>
956 <td colspan="3">
957 <div class="ansibleOptionAnchor" id="parameter-"></div>
958 <b>cost</b>
959 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
960 <div style="font-size: small">
961 <span style="color: purple">integer</span>
962 </div>
963 </td>
964 <td>
965 </td>
966 <td>
967 <div>OSPF cost for point-to-multipoint neighbor</div>
968 </td>
969 </tr>
970 <tr>
971 <td class="elbow-placeholder"></td>
972 <td class="elbow-placeholder"></td>
973 <td class="elbow-placeholder"></td>
974 <td colspan="3">
975 <div class="ansibleOptionAnchor" id="parameter-"></div>
976 <b>database_filter</b>
977 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
978 <div style="font-size: small">
979 <span style="color: purple">boolean</span>
980 </div>
981 </td>
982 <td>
983 <ul style="margin: 0; padding: 0"><b>Choices:</b>
984 <li>no</li>
985 <li>yes</li>
986 </ul>
987 </td>
988 <td>
989 <div>Filter OSPF LSA during synchronization and flooding for point-to-multipoint neighbor</div>
990 </td>
991 </tr>
992 <tr>
993 <td class="elbow-placeholder"></td>
994 <td class="elbow-placeholder"></td>
995 <td class="elbow-placeholder"></td>
996 <td colspan="3">
997 <div class="ansibleOptionAnchor" id="parameter-"></div>
998 <b>poll_interval</b>
999 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1000 <div style="font-size: small">
1001 <span style="color: purple">integer</span>
1002 </div>
1003 </td>
1004 <td>
1005 </td>
1006 <td>
1007 <div>OSPF dead-router polling interval</div>
1008 </td>
1009 </tr>
1010 <tr>
1011 <td class="elbow-placeholder"></td>
1012 <td class="elbow-placeholder"></td>
1013 <td class="elbow-placeholder"></td>
1014 <td colspan="3">
1015 <div class="ansibleOptionAnchor" id="parameter-"></div>
1016 <b>priority</b>
1017 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1018 <div style="font-size: small">
1019 <span style="color: purple">integer</span>
1020 </div>
1021 </td>
1022 <td>
1023 </td>
1024 <td>
1025 <div>OSPF priority of non-broadcast neighbor</div>
1026 </td>
1027 </tr>
1028
1029 <tr>
1030 <td class="elbow-placeholder"></td>
1031 <td class="elbow-placeholder"></td>
1032 <td colspan="4">
1033 <div class="ansibleOptionAnchor" id="parameter-"></div>
1034 <b>network</b>
1035 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1036 <div style="font-size: small">
1037 <span style="color: purple">dictionary</span>
1038 </div>
1039 </td>
1040 <td>
1041 </td>
1042 <td>
1043 <div>Network type</div>
1044 </td>
1045 </tr>
1046 <tr>
1047 <td class="elbow-placeholder"></td>
1048 <td class="elbow-placeholder"></td>
1049 <td class="elbow-placeholder"></td>
1050 <td colspan="3">
1051 <div class="ansibleOptionAnchor" id="parameter-"></div>
1052 <b>broadcast</b>
1053 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1054 <div style="font-size: small">
1055 <span style="color: purple">boolean</span>
1056 </div>
1057 </td>
1058 <td>
1059 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1060 <li>no</li>
1061 <li>yes</li>
1062 </ul>
1063 </td>
1064 <td>
1065 <div>Specify OSPF broadcast multi-access network</div>
1066 </td>
1067 </tr>
1068 <tr>
1069 <td class="elbow-placeholder"></td>
1070 <td class="elbow-placeholder"></td>
1071 <td class="elbow-placeholder"></td>
1072 <td colspan="3">
1073 <div class="ansibleOptionAnchor" id="parameter-"></div>
1074 <b>manet</b>
1075 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1076 <div style="font-size: small">
1077 <span style="color: purple">boolean</span>
1078 </div>
1079 </td>
1080 <td>
1081 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1082 <li>no</li>
1083 <li>yes</li>
1084 </ul>
1085 </td>
1086 <td>
1087 <div>Specify MANET OSPF interface type</div>
1088 <div>Valid only with IPv6 OSPF config</div>
1089 </td>
1090 </tr>
1091 <tr>
1092 <td class="elbow-placeholder"></td>
1093 <td class="elbow-placeholder"></td>
1094 <td class="elbow-placeholder"></td>
1095 <td colspan="3">
1096 <div class="ansibleOptionAnchor" id="parameter-"></div>
1097 <b>non_broadcast</b>
1098 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1099 <div style="font-size: small">
1100 <span style="color: purple">boolean</span>
1101 </div>
1102 </td>
1103 <td>
1104 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1105 <li>no</li>
1106 <li>yes</li>
1107 </ul>
1108 </td>
1109 <td>
1110 <div>Specify OSPF NBMA network</div>
1111 </td>
1112 </tr>
1113 <tr>
1114 <td class="elbow-placeholder"></td>
1115 <td class="elbow-placeholder"></td>
1116 <td class="elbow-placeholder"></td>
1117 <td colspan="3">
1118 <div class="ansibleOptionAnchor" id="parameter-"></div>
1119 <b>point_to_multipoint</b>
1120 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1121 <div style="font-size: small">
1122 <span style="color: purple">boolean</span>
1123 </div>
1124 </td>
1125 <td>
1126 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1127 <li>no</li>
1128 <li>yes</li>
1129 </ul>
1130 </td>
1131 <td>
1132 <div>Specify OSPF point-to-multipoint network</div>
1133 </td>
1134 </tr>
1135 <tr>
1136 <td class="elbow-placeholder"></td>
1137 <td class="elbow-placeholder"></td>
1138 <td class="elbow-placeholder"></td>
1139 <td colspan="3">
1140 <div class="ansibleOptionAnchor" id="parameter-"></div>
1141 <b>point_to_point</b>
1142 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1143 <div style="font-size: small">
1144 <span style="color: purple">boolean</span>
1145 </div>
1146 </td>
1147 <td>
1148 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1149 <li>no</li>
1150 <li>yes</li>
1151 </ul>
1152 </td>
1153 <td>
1154 <div>Specify OSPF point-to-point network</div>
1155 </td>
1156 </tr>
1157
1158 <tr>
1159 <td class="elbow-placeholder"></td>
1160 <td class="elbow-placeholder"></td>
1161 <td colspan="4">
1162 <div class="ansibleOptionAnchor" id="parameter-"></div>
1163 <b>prefix_suppression</b>
1164 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1165 <div style="font-size: small">
1166 <span style="color: purple">boolean</span>
1167 </div>
1168 </td>
1169 <td>
1170 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1171 <li>no</li>
1172 <li>yes</li>
1173 </ul>
1174 </td>
1175 <td>
1176 <div>Enable/Disable OSPF prefix suppression</div>
1177 </td>
1178 </tr>
1179 <tr>
1180 <td class="elbow-placeholder"></td>
1181 <td class="elbow-placeholder"></td>
1182 <td colspan="4">
1183 <div class="ansibleOptionAnchor" id="parameter-"></div>
1184 <b>priority</b>
1185 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1186 <div style="font-size: small">
1187 <span style="color: purple">integer</span>
1188 </div>
1189 </td>
1190 <td>
1191 </td>
1192 <td>
1193 <div>Router priority. Please refer vendor documentation of Valid values.</div>
1194 </td>
1195 </tr>
1196 <tr>
1197 <td class="elbow-placeholder"></td>
1198 <td class="elbow-placeholder"></td>
1199 <td colspan="4">
1200 <div class="ansibleOptionAnchor" id="parameter-"></div>
1201 <b>process</b>
1202 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1203 <div style="font-size: small">
1204 <span style="color: purple">dictionary</span>
1205 </div>
1206 </td>
1207 <td>
1208 </td>
1209 <td>
1210 <div>OSPF interfaces process config</div>
1211 </td>
1212 </tr>
1213 <tr>
1214 <td class="elbow-placeholder"></td>
1215 <td class="elbow-placeholder"></td>
1216 <td class="elbow-placeholder"></td>
1217 <td colspan="3">
1218 <div class="ansibleOptionAnchor" id="parameter-"></div>
1219 <b>area_id</b>
1220 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1221 <div style="font-size: small">
1222 <span style="color: purple">string</span>
1223 </div>
1224 </td>
1225 <td>
1226 </td>
1227 <td>
1228 <div>OSPF interfaces area ID as a decimal value. Please refer vendor documentation of Valid values.</div>
1229 <div>OSPF interfaces area ID in IP address format(e.g. A.B.C.D)</div>
1230 </td>
1231 </tr>
1232 <tr>
1233 <td class="elbow-placeholder"></td>
1234 <td class="elbow-placeholder"></td>
1235 <td class="elbow-placeholder"></td>
1236 <td colspan="3">
1237 <div class="ansibleOptionAnchor" id="parameter-"></div>
1238 <b>id</b>
1239 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1240 <div style="font-size: small">
1241 <span style="color: purple">integer</span>
1242 </div>
1243 </td>
1244 <td>
1245 </td>
1246 <td>
1247 <div>Address Family Identifier (AFI) for OSPF interfaces settings on the interfaces. Please refer vendor documentation of Valid values.</div>
1248 </td>
1249 </tr>
1250 <tr>
1251 <td class="elbow-placeholder"></td>
1252 <td class="elbow-placeholder"></td>
1253 <td class="elbow-placeholder"></td>
1254 <td colspan="3">
1255 <div class="ansibleOptionAnchor" id="parameter-"></div>
1256 <b>instance_id</b>
1257 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1258 <div style="font-size: small">
1259 <span style="color: purple">integer</span>
1260 </div>
1261 </td>
1262 <td>
1263 </td>
1264 <td>
1265 <div>Set the OSPF instance based on ID</div>
1266 <div>Valid only with IPv6 OSPF config</div>
1267 </td>
1268 </tr>
1269 <tr>
1270 <td class="elbow-placeholder"></td>
1271 <td class="elbow-placeholder"></td>
1272 <td class="elbow-placeholder"></td>
1273 <td colspan="3">
1274 <div class="ansibleOptionAnchor" id="parameter-"></div>
1275 <b>secondaries</b>
1276 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1277 <div style="font-size: small">
1278 <span style="color: purple">boolean</span>
1279 </div>
1280 </td>
1281 <td>
1282 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1283 <li>no</li>
1284 <li>yes</li>
1285 </ul>
1286 </td>
1287 <td>
1288 <div>Include or exclude secondary IP addresses.</div>
1289 <div>Valid only with IPv4 config</div>
1290 </td>
1291 </tr>
1292
1293 <tr>
1294 <td class="elbow-placeholder"></td>
1295 <td class="elbow-placeholder"></td>
1296 <td colspan="4">
1297 <div class="ansibleOptionAnchor" id="parameter-"></div>
1298 <b>resync_timeout</b>
1299 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1300 <div style="font-size: small">
1301 <span style="color: purple">integer</span>
1302 </div>
1303 </td>
1304 <td>
1305 </td>
1306 <td>
1307 <div>Interval after which adjacency is reset if oob-resync is not started. Please refer vendor documentation of Valid values.</div>
1308 </td>
1309 </tr>
1310 <tr>
1311 <td class="elbow-placeholder"></td>
1312 <td class="elbow-placeholder"></td>
1313 <td colspan="4">
1314 <div class="ansibleOptionAnchor" id="parameter-"></div>
1315 <b>retransmit_interval</b>
1316 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1317 <div style="font-size: small">
1318 <span style="color: purple">integer</span>
1319 </div>
1320 </td>
1321 <td>
1322 </td>
1323 <td>
1324 <div>Time between retransmitting lost link state advertisements. Please refer vendor documentation of Valid values.</div>
1325 </td>
1326 </tr>
1327 <tr>
1328 <td class="elbow-placeholder"></td>
1329 <td class="elbow-placeholder"></td>
1330 <td colspan="4">
1331 <div class="ansibleOptionAnchor" id="parameter-"></div>
1332 <b>shutdown</b>
1333 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1334 <div style="font-size: small">
1335 <span style="color: purple">boolean</span>
1336 </div>
1337 </td>
1338 <td>
1339 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1340 <li>no</li>
1341 <li>yes</li>
1342 </ul>
1343 </td>
1344 <td>
1345 <div>Set OSPF protocol&#x27;s state to disable under current interface</div>
1346 </td>
1347 </tr>
1348 <tr>
1349 <td class="elbow-placeholder"></td>
1350 <td class="elbow-placeholder"></td>
1351 <td colspan="4">
1352 <div class="ansibleOptionAnchor" id="parameter-"></div>
1353 <b>transmit_delay</b>
1354 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1355 <div style="font-size: small">
1356 <span style="color: purple">integer</span>
1357 </div>
1358 </td>
1359 <td>
1360 </td>
1361 <td>
1362 <div>Link state transmit delay. Please refer vendor documentation of Valid values.</div>
1363 </td>
1364 </tr>
1365 <tr>
1366 <td class="elbow-placeholder"></td>
1367 <td class="elbow-placeholder"></td>
1368 <td colspan="4">
1369 <div class="ansibleOptionAnchor" id="parameter-"></div>
1370 <b>ttl_security</b>
1371 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1372 <div style="font-size: small">
1373 <span style="color: purple">dictionary</span>
1374 </div>
1375 </td>
1376 <td>
1377 </td>
1378 <td>
1379 <div>TTL security check</div>
1380 <div>Valid only with IPV4 OSPF config</div>
1381 </td>
1382 </tr>
1383 <tr>
1384 <td class="elbow-placeholder"></td>
1385 <td class="elbow-placeholder"></td>
1386 <td class="elbow-placeholder"></td>
1387 <td colspan="3">
1388 <div class="ansibleOptionAnchor" id="parameter-"></div>
1389 <b>hops</b>
1390 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1391 <div style="font-size: small">
1392 <span style="color: purple">integer</span>
1393 </div>
1394 </td>
1395 <td>
1396 </td>
1397 <td>
1398 <div>Maximum number of IP hops allowed</div>
1399 <div>Please refer vendor documentation of Valid values.</div>
1400 </td>
1401 </tr>
1402 <tr>
1403 <td class="elbow-placeholder"></td>
1404 <td class="elbow-placeholder"></td>
1405 <td class="elbow-placeholder"></td>
1406 <td colspan="3">
1407 <div class="ansibleOptionAnchor" id="parameter-"></div>
1408 <b>set</b>
1409 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1410 <div style="font-size: small">
1411 <span style="color: purple">boolean</span>
1412 </div>
1413 </td>
1414 <td>
1415 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1416 <li>no</li>
1417 <li>yes</li>
1418 </ul>
1419 </td>
1420 <td>
1421 <div>Enable TTL Security on all interfaces</div>
1422 </td>
1423 </tr>
1424
1425
1426 <tr>
1427 <td class="elbow-placeholder"></td>
1428 <td colspan="5">
1429 <div class="ansibleOptionAnchor" id="parameter-"></div>
1430 <b>name</b>
1431 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1432 <div style="font-size: small">
1433 <span style="color: purple">string</span>
1434 / <span style="color: red">required</span>
1435 </div>
1436 </td>
1437 <td>
1438 </td>
1439 <td>
1440 <div>Full name of the interface excluding any logical unit number, i.e. GigabitEthernet0/1.</div>
1441 </td>
1442 </tr>
1443
1444 <tr>
1445 <td colspan="6">
1446 <div class="ansibleOptionAnchor" id="parameter-"></div>
1447 <b>running_config</b>
1448 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1449 <div style="font-size: small">
1450 <span style="color: purple">string</span>
1451 </div>
1452 </td>
1453 <td>
1454 </td>
1455 <td>
1456 <div>This option is used only with state <em>parsed</em>.</div>
1457 <div>The value of this option should be the output received from the IOS device by executing the command <b>sh running-config | section ^interface</b>.</div>
1458 <div>The state <em>parsed</em> reads the configuration from <code>running_config</code> option and transforms it into Ansible structured data as per the resource module&#x27;s argspec and the value is then returned in the <em>parsed</em> key within the result.</div>
1459 </td>
1460 </tr>
1461 <tr>
1462 <td colspan="6">
1463 <div class="ansibleOptionAnchor" id="parameter-"></div>
1464 <b>state</b>
1465 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
1466 <div style="font-size: small">
1467 <span style="color: purple">string</span>
1468 </div>
1469 </td>
1470 <td>
1471 <ul style="margin: 0; padding: 0"><b>Choices:</b>
1472 <li><div style="color: blue"><b>merged</b>&nbsp;&larr;</div></li>
1473 <li>replaced</li>
1474 <li>overridden</li>
1475 <li>deleted</li>
1476 <li>gathered</li>
1477 <li>rendered</li>
1478 <li>parsed</li>
1479 </ul>
1480 </td>
1481 <td>
1482 <div>The state the configuration should be left in</div>
1483 <div>The states <em>rendered</em>, <em>gathered</em> and <em>parsed</em> does not perform any change on the device.</div>
1484 <div>The state <em>rendered</em> will transform the configuration in <code>config</code> option to platform specific CLI commands which will be returned in the <em>rendered</em> key within the result. For state <em>rendered</em> active connection to remote host is not required.</div>
1485 <div>The state <em>gathered</em> will fetch the running configuration from device and transform it into structured data in the format as per the resource module argspec and the value is returned in the <em>gathered</em> key within the result.</div>
1486 <div>The state <em>parsed</em> reads the configuration from <code>running_config</code> option and transforms it into JSON format as per the resource module parameters and the value is returned in the <em>parsed</em> key within the result. The value of <code>running_config</code> option should be the same format as the output of command <em>show running-config | section ^interface</em> executed on device. For state <em>parsed</em> active connection to remote host is not required.</div>
1487 </td>
1488 </tr>
1489 </table>
1490 <br/>
1491
1492
1493 Notes
1494 -----
1495
1496 .. note::
1497 - Tested against Cisco IOSXE Version 17.3 on CML.
1498 - This module works with connection ``network_cli``. See https://docs.ansible.com/ansible/latest/network/user_guide/platform_ios.html
1499
1500
1501
1502 Examples
1503 --------
1504
1505 .. code-block:: yaml
1506
1507 # Using deleted
1508
1509 # Before state:
1510 # -------------
1511 #
1512 # router-ios#sh running-config | section ^interface
1513 # interface GigabitEthernet0/0
1514 # interface GigabitEthernet0/1
1515 # ipv6 ospf 55 area 105
1516 # ipv6 ospf priority 20
1517 # ipv6 ospf transmit-delay 30
1518 # ipv6 ospf adjacency stagger disable
1519 # interface GigabitEthernet0/2
1520 # ip ospf priority 40
1521 # ip ospf adjacency stagger disable
1522 # ip ospf ttl-security hops 50
1523 # ip ospf 10 area 20
1524 # ip ospf cost 30
1525
1526 - name: Delete provided OSPF Interface config
1527 cisco.ios.ios_ospf_interfaces:
1528 config:
1529 - name: GigabitEthernet0/1
1530 state: deleted
1531
1532 # Task Output:
1533 # ------------
1534
1535 # before:
1536 # - name: GigabitEthernet0/0
1537 # - address_family:
1538 # - adjacency: true
1539 # afi: ipv6
1540 # priority: 20
1541 # process:
1542 # area_id: '105'
1543 # id: 55
1544 # transmit_delay: 30
1545 # name: GigabitEthernet0/1
1546 # - address_family:
1547 # - adjacency: true
1548 # afi: ipv4
1549 # cost:
1550 # interface_cost: 30
1551 # priority: 40
1552 # process:
1553 # area_id: '20'
1554 # id: 10
1555 # ttl_security:
1556 # hops: 50
1557 # set: true
1558 # name: GigabitEthernet0/2
1559 #
1560 # commands:
1561 # - interface GigabitEthernet0/1
1562 # - no ipv6 ospf 55 area 105
1563 # - no ipv6 ospf adjacency stagger disable
1564 # - no ipv6 ospf priority 20
1565 # - no ipv6 ospf transmit-delay 30
1566 #
1567 # after:
1568 # - name: GigabitEthernet0/0
1569 # - name: GigabitEthernet0/1
1570 # - address_family:
1571 # - adjacency: true
1572 # afi: ipv4
1573 # cost:
1574 # interface_cost: 30
1575 # priority: 40
1576 # process:
1577 # area_id: '20'
1578 # id: 10
1579 # ttl_security:
1580 # hops: 50
1581 # set: true
1582 # name: GigabitEthernet0/2
1583 #
1584 # After state:
1585 # ------------
1586 # router-ios#sh running-config | section ^interface
1587 # interface GigabitEthernet0/0
1588 # interface GigabitEthernet0/1
1589 # interface GigabitEthernet0/2
1590 # ip ospf priority 40
1591 # ip ospf adjacency stagger disable
1592 # ip ospf ttl-security hops 50
1593 # ip ospf 10 area 20
1594 # ip ospf cost 30
1595
1596 # Using deleted without any config passed (NOTE: This will delete all OSPF Interfaces configuration from device)
1597
1598 # Before state:
1599 # -------------
1600 #
1601 # router-ios#sh running-config | section ^interface
1602 # interface GigabitEthernet0/0
1603 # interface GigabitEthernet0/1
1604 # ipv6 ospf 55 area 105
1605 # ipv6 ospf priority 20
1606 # ipv6 ospf transmit-delay 30
1607 # ipv6 ospf adjacency stagger disable
1608 # interface GigabitEthernet0/2
1609 # ip ospf priority 40
1610 # ip ospf adjacency stagger disable
1611 # ip ospf ttl-security hops 50
1612 # ip ospf 10 area 20
1613 # ip ospf cost 30
1614
1615 - name: Delete all OSPF config from interfaces
1616 cisco.ios.ios_ospf_interfaces:
1617 state: deleted
1618
1619 # Task Output:
1620 # ------------
1621
1622 # before:
1623 # - name: GigabitEthernet0/0
1624 # - address_family:
1625 # - adjacency: true
1626 # afi: ipv6
1627 # priority: 20
1628 # process:
1629 # area_id: '105'
1630 # id: 55
1631 # transmit_delay: 30
1632 # name: GigabitEthernet0/1
1633 # - address_family:
1634 # - adjacency: true
1635 # afi: ipv4
1636 # cost:
1637 # interface_cost: 30
1638 # priority: 40
1639 # process:
1640 # area_id: '20'
1641 # id: 10
1642 # ttl_security:
1643 # hops: 50
1644 # set: true
1645 # name: GigabitEthernet0/2
1646 #
1647 # commands:
1648 # - interface GigabitEthernet0/2
1649 # - no ip ospf 10 area 20
1650 # - no ip ospf adjacency stagger disable
1651 # - no ip ospf cost 30
1652 # - no ip ospf priority 40
1653 # - no ip ospf ttl-security hops 50
1654 # - interface GigabitEthernet0/1
1655 # - no ipv6 ospf 55 area 105
1656 # - no ipv6 ospf adjacency stagger disable
1657 # - no ipv6 ospf priority 20
1658 # - no ipv6 ospf transmit-delay 30
1659 #
1660 # after:
1661 # - name: GigabitEthernet0/0
1662 # - name: GigabitEthernet0/1
1663 # - name: GigabitEthernet0/2
1664
1665 # After state:
1666 # -------------
1667 # router-ios#sh running-config | section ^interface
1668 # interface GigabitEthernet0/0
1669 # interface GigabitEthernet0/1
1670 # interface GigabitEthernet0/2
1671
1672 # Using merged
1673
1674 # Before state:
1675 # -------------
1676 #
1677 # router-ios#sh running-config | section ^interface
1678 # router-ios#
1679
1680 - name: Merge provided OSPF Interfaces configuration
1681 cisco.ios.ios_ospf_interfaces:
1682 config:
1683 - name: GigabitEthernet0/1
1684 address_family:
1685 - afi: ipv4
1686 process:
1687 id: 10
1688 area_id: 30
1689 adjacency: true
1690 bfd: true
1691 cost:
1692 interface_cost: 5
1693 dead_interval:
1694 time: 5
1695 demand_circuit:
1696 ignore: true
1697 network:
1698 broadcast: true
1699 priority: 25
1700 resync_timeout: 10
1701 shutdown: true
1702 ttl_security:
1703 hops: 50
1704 - afi: ipv6
1705 process:
1706 id: 35
1707 area_id: 45
1708 adjacency: true
1709 database_filter: true
1710 manet:
1711 link_metrics:
1712 cost_threshold: 10
1713 priority: 55
1714 transmit_delay: 45
1715 state: merged
1716
1717 # Task Output:
1718 # ------------
1719 # before: []
1720 #
1721 # commands:
1722 # - interface GigabitEthernet0/1
1723 # - ip ospf 10 area 30
1724 # - ip ospf adjacency stagger disable
1725 # - ip ospf bfd
1726 # - ip ospf cost 5
1727 # - ip ospf dead-interval 5
1728 # - ip ospf demand-circuit ignore
1729 # - ip ospf network broadcast
1730 # - ip ospf priority 25
1731 # - ip ospf resync-timeout 10
1732 # - ip ospf shutdown
1733 # - ip ospf ttl-security hops 50
1734 # - ipv6 ospf 35 area 45
1735 # - ipv6 ospf adjacency stagger disable
1736 # - ipv6 ospf database-filter all out
1737 # - ipv6 ospf manet peering link-metrics 10
1738 # - ipv6 ospf priority 55
1739 # - ipv6 ospf transmit-delay 45
1740 #
1741 # after:
1742 # - name: GigabitEthernet0/0
1743 # - address_family:
1744 # - adjacency: true
1745 # afi: ipv4
1746 # bfd: true
1747 # cost:
1748 # interface_cost: 5
1749 # dead_interval:
1750 # time: 5
1751 # demand_circuit:
1752 # enable: true
1753 # ignore: true
1754 # network:
1755 # broadcast: true
1756 # priority: 25
1757 # process:
1758 # area_id: '30'
1759 # id: 10
1760 # resync_timeout: 10
1761 # shutdown: true
1762 # ttl_security:
1763 # hops: 50
1764 # set: true
1765 # - adjacency: true
1766 # afi: ipv6
1767 # database_filter: true
1768 # manet:
1769 # link_metrics:
1770 # cost_threshold: 10
1771 # priority: 55
1772 # process:
1773 # area_id: '45'
1774 # id: 35
1775 # transmit_delay: 45
1776 # name: GigabitEthernet0/1
1777 # - name: GigabitEthernet0/2
1778
1779 # After state:
1780 # -------------
1781 #
1782 # router-ios#sh running-config | section ^interface
1783 # interface GigabitEthernet0/0
1784 # interface GigabitEthernet0/1
1785 # ip ospf network broadcast
1786 # ip ospf resync-timeout 10
1787 # ip ospf dead-interval 5
1788 # ip ospf priority 25
1789 # ip ospf demand-circuit ignore
1790 # ip ospf bfd
1791 # ip ospf adjacency stagger disable
1792 # ip ospf ttl-security hops 50
1793 # ip ospf shutdown
1794 # ip ospf 10 area 30
1795 # ip ospf cost 5
1796 # ipv6 ospf 35 area 45
1797 # ipv6 ospf priority 55
1798 # ipv6 ospf transmit-delay 45
1799 # ipv6 ospf database-filter all out
1800 # ipv6 ospf adjacency stagger disable
1801 # ipv6 ospf manet peering link-metrics 10
1802 # interface GigabitEthernet0/2
1803
1804 # Using overridden
1805
1806 # Before state:
1807 # -------------
1808 #
1809 # router-ios#sh running-config | section ^interface
1810 # interface GigabitEthernet0/0
1811 # interface GigabitEthernet0/1
1812 # ip ospf network broadcast
1813 # ip ospf resync-timeout 10
1814 # ip ospf dead-interval 5
1815 # ip ospf priority 25
1816 # ip ospf demand-circuit ignore
1817 # ip ospf bfd
1818 # ip ospf adjacency stagger disable
1819 # ip ospf ttl-security hops 50
1820 # ip ospf shutdown
1821 # ip ospf 10 area 30
1822 # ip ospf cost 5
1823 # ipv6 ospf 35 area 45
1824 # ipv6 ospf priority 55
1825 # ipv6 ospf transmit-delay 45
1826 # ipv6 ospf database-filter all out
1827 # ipv6 ospf adjacency stagger disable
1828 # ipv6 ospf manet peering link-metrics 10
1829 # interface GigabitEthernet0/2
1830
1831 - name: Override running config with provided OSPF Interfaces configuration
1832 cisco.ios.ios_ospf_interfaces:
1833 config:
1834 - name: GigabitEthernet0/1
1835 address_family:
1836 - afi: ipv6
1837 process:
1838 id: 55
1839 area_id: 105
1840 adjacency: true
1841 priority: 20
1842 transmit_delay: 30
1843 - name: GigabitEthernet0/2
1844 address_family:
1845 - afi: ipv4
1846 process:
1847 id: 10
1848 area_id: 20
1849 adjacency: true
1850 cost:
1851 interface_cost: 30
1852 priority: 40
1853 ttl_security:
1854 hops: 50
1855 state: overridden
1856
1857 # Task Output:
1858 # ------------
1859 #
1860 # before:
1861 # - name: GigabitEthernet0/0
1862 # - address_family:
1863 # - adjacency: true
1864 # afi: ipv4
1865 # bfd: true
1866 # cost:
1867 # interface_cost: 5
1868 # dead_interval:
1869 # time: 5
1870 # demand_circuit:
1871 # enable: true
1872 # ignore: true
1873 # network:
1874 # broadcast: true
1875 # priority: 25
1876 # process:
1877 # area_id: '30'
1878 # id: 10
1879 # resync_timeout: 10
1880 # shutdown: true
1881 # ttl_security:
1882 # hops: 50
1883 # set: true
1884 # - adjacency: true
1885 # afi: ipv6
1886 # database_filter: true
1887 # manet:
1888 # link_metrics:
1889 # cost_threshold: 10
1890 # priority: 55
1891 # process:
1892 # area_id: '45'
1893 # id: 35
1894 # transmit_delay: 45
1895 # name: GigabitEthernet0/1
1896 # - name: GigabitEthernet0/2
1897 #
1898 # commands:
1899 # - interface GigabitEthernet0/2
1900 # - ip ospf 10 area 20
1901 # - ip ospf adjacency stagger disable
1902 # - ip ospf cost 30
1903 # - ip ospf priority 40
1904 # - ip ospf ttl-security hops 50
1905 # - interface GigabitEthernet0/1
1906 # - ipv6 ospf 55 area 105
1907 # - no ipv6 ospf database-filter all out
1908 # - no ipv6 ospf manet peering link-metrics 10
1909 # - ipv6 ospf priority 20
1910 # - ipv6 ospf transmit-delay 30
1911 # - no ip ospf 10 area 30
1912 # - no ip ospf adjacency stagger disable
1913 # - no ip ospf bfd
1914 # - no ip ospf cost 5
1915 # - no ip ospf dead-interval 5
1916 # - no ip ospf demand-circuit ignore
1917 # - no ip ospf network broadcast
1918 # - no ip ospf priority 25
1919 # - no ip ospf resync-timeout 10
1920 # - no ip ospf shutdown
1921 # - no ip ospf ttl-security hops 50
1922 #
1923 # parsed:
1924 # - name: GigabitEthernet0/0
1925 # - address_family:
1926 # - adjacency: true
1927 # afi: ipv6
1928 # priority: 20
1929 # process:
1930 # area_id: '105'
1931 # id: 55
1932 # transmit_delay: 30
1933 # name: GigabitEthernet0/1
1934 # - address_family:
1935 # - adjacency: true
1936 # afi: ipv4
1937 # cost:
1938 # interface_cost: 30
1939 # priority: 40
1940 # process:
1941 # area_id: '20'
1942 # id: 10
1943 # ttl_security:
1944 # hops: 50
1945 # set: true
1946 # name: GigabitEthernet0/2
1947 #
1948 # After state:
1949 # -------------
1950 #
1951 # router-ios#sh running-config | section ^interface
1952 # interface GigabitEthernet0/0
1953 # interface GigabitEthernet0/1
1954 # ipv6 ospf 55 area 105
1955 # ipv6 ospf priority 20
1956 # ipv6 ospf transmit-delay 30
1957 # ipv6 ospf adjacency stagger disable
1958 # interface GigabitEthernet0/2
1959 # ip ospf priority 40
1960 # ip ospf adjacency stagger disable
1961 # ip ospf ttl-security hops 50
1962 # ip ospf 10 area 20
1963 # ip ospf cost 30
1964
1965 # Using replaced
1966
1967 # Before state:
1968 # -------------
1969 #
1970 # router-ios#sh running-config | section ^interface
1971 # interface GigabitEthernet0/0
1972 # interface GigabitEthernet0/1
1973 # ip ospf network broadcast
1974 # ip ospf resync-timeout 10
1975 # ip ospf dead-interval 5
1976 # ip ospf priority 25
1977 # ip ospf demand-circuit ignore
1978 # ip ospf bfd
1979 # ip ospf adjacency stagger disable
1980 # ip ospf ttl-security hops 50
1981 # ip ospf shutdown
1982 # ip ospf 10 area 30
1983 # ip ospf cost 5
1984 # ipv6 ospf 35 area 45
1985 # ipv6 ospf priority 55
1986 # ipv6 ospf transmit-delay 45
1987 # ipv6 ospf database-filter all out
1988 # ipv6 ospf adjacency stagger disable
1989 # ipv6 ospf manet peering link-metrics 10
1990 # interface GigabitEthernet0/2
1991
1992 - name: Replaced provided OSPF Interfaces configuration
1993 cisco.ios.ios_ospf_interfaces:
1994 config:
1995 - name: GigabitEthernet0/2
1996 address_family:
1997 - afi: ipv6
1998 process:
1999 id: 55
2000 area_id: 105
2001 adjacency: true
2002 priority: 20
2003 transmit_delay: 30
2004 state: replaced
2005
2006 # Task Output:
2007 # ------------
2008 #
2009 # before:
2010 # - name: GigabitEthernet0/0
2011 # - address_family:
2012 # - adjacency: true
2013 # afi: ipv4
2014 # bfd: true
2015 # cost:
2016 # interface_cost: 5
2017 # dead_interval:
2018 # time: 5
2019 # demand_circuit:
2020 # enable: true
2021 # ignore: true
2022 # network:
2023 # broadcast: true
2024 # priority: 25
2025 # process:
2026 # area_id: '30'
2027 # id: 10
2028 # resync_timeout: 10
2029 # shutdown: true
2030 # ttl_security:
2031 # hops: 50
2032 # set: true
2033 # - adjacency: true
2034 # afi: ipv6
2035 # database_filter: true
2036 # manet:
2037 # link_metrics:
2038 # cost_threshold: 10
2039 # priority: 55
2040 # process:
2041 # area_id: '45'
2042 # id: 35
2043 # transmit_delay: 45
2044 # name: GigabitEthernet0/1
2045 # - name: GigabitEthernet0/2
2046 #
2047 # commands:
2048 # - interface GigabitEthernet0/2
2049 # - ipv6 ospf 55 area 105
2050 # - ipv6 ospf adjacency stagger disable
2051 # - ipv6 ospf priority 20
2052 # - ipv6 ospf transmit-delay 30
2053 #
2054 # after:
2055 # - name: GigabitEthernet0/0
2056 # - address_family:
2057 # - adjacency: true
2058 # afi: ipv4
2059 # bfd: true
2060 # cost:
2061 # interface_cost: 5
2062 # dead_interval:
2063 # time: 5
2064 # demand_circuit:
2065 # enable: true
2066 # ignore: true
2067 # network:
2068 # broadcast: true
2069 # priority: 25
2070 # process:
2071 # area_id: '30'
2072 # id: 10
2073 # resync_timeout: 10
2074 # shutdown: true
2075 # ttl_security:
2076 # hops: 50
2077 # set: true
2078 # - adjacency: true
2079 # afi: ipv6
2080 # database_filter: true
2081 # manet:
2082 # link_metrics:
2083 # cost_threshold: 10
2084 # priority: 55
2085 # process:
2086 # area_id: '45'
2087 # id: 35
2088 # transmit_delay: 45
2089 # name: GigabitEthernet0/1
2090 # - address_family:
2091 # - adjacency: true
2092 # afi: ipv6
2093 # priority: 20
2094 # process:
2095 # area_id: '105'
2096 # id: 55
2097 # transmit_delay: 30
2098 # name: GigabitEthernet0/2
2099
2100 # After state:
2101 # ------------
2102 # router-ios#sh running-config | section ^interface
2103 # interface GigabitEthernet0/0
2104 # interface GigabitEthernet0/1
2105 # ip ospf network broadcast
2106 # ip ospf resync-timeout 10
2107 # ip ospf dead-interval 5
2108 # ip ospf priority 25
2109 # ip ospf demand-circuit ignore
2110 # ip ospf bfd
2111 # ip ospf adjacency stagger disable
2112 # ip ospf ttl-security hops 50
2113 # ip ospf shutdown
2114 # ip ospf 10 area 30
2115 # ip ospf cost 5
2116 # ipv6 ospf 35 area 45
2117 # ipv6 ospf priority 55
2118 # ipv6 ospf transmit-delay 45
2119 # ipv6 ospf database-filter all out
2120 # ipv6 ospf adjacency stagger disable
2121 # ipv6 ospf manet peering link-metrics 10
2122 # interface GigabitEthernet0/2
2123 # ipv6 ospf 55 area 105
2124 # ipv6 ospf priority 20
2125 # ipv6 ospf transmit-delay 30
2126 # ipv6 ospf adjacency stagger disable
2127
2128 # Using Gathered
2129
2130 # Before state:
2131 # -------------
2132 #
2133 # router-ios#sh running-config | section ^interface
2134 # interface GigabitEthernet0/0
2135 # interface GigabitEthernet0/1
2136 # ip ospf network broadcast
2137 # ip ospf resync-timeout 10
2138 # ip ospf dead-interval 5
2139 # ip ospf priority 25
2140 # ip ospf demand-circuit ignore
2141 # ip ospf bfd
2142 # ip ospf adjacency stagger disable
2143 # ip ospf ttl-security hops 50
2144 # ip ospf shutdown
2145 # ip ospf 10 area 30
2146 # ip ospf cost 5
2147 # ipv6 ospf 35 area 45
2148 # ipv6 ospf priority 55
2149 # ipv6 ospf transmit-delay 45
2150 # ipv6 ospf database-filter all out
2151 # ipv6 ospf adjacency stagger disable
2152 # ipv6 ospf manet peering link-metrics 10
2153 # interface GigabitEthernet0/2
2154
2155 - name: Gather OSPF Interfaces provided configurations
2156 cisco.ios.ios_ospf_interfaces:
2157 config:
2158 state: gathered
2159
2160 # Task Output:
2161 # ------------
2162 #
2163 # gathered:
2164 # - name: GigabitEthernet0/0
2165 # - address_family:
2166 # - adjacency: true
2167 # afi: ipv4
2168 # bfd: true
2169 # cost:
2170 # interface_cost: 5
2171 # dead_interval:
2172 # time: 5
2173 # demand_circuit:
2174 # enable: true
2175 # ignore: true
2176 # network:
2177 # broadcast: true
2178 # priority: 25
2179 # process:
2180 # area_id: '30'
2181 # id: 10
2182 # resync_timeout: 10
2183 # shutdown: true
2184 # ttl_security:
2185 # hops: 50
2186 # set: true
2187 # - adjacency: true
2188 # afi: ipv6
2189 # database_filter: true
2190 # manet:
2191 # link_metrics:
2192 # cost_threshold: 10
2193 # priority: 55
2194 # process:
2195 # area_id: '45'
2196 # id: 35
2197 # transmit_delay: 45
2198 # name: GigabitEthernet0/1
2199 # - name: GigabitEthernet0/2
2200
2201 # After state:
2202 # ------------
2203 #
2204 # router-ios#sh running-config | section ^interface
2205 # interface GigabitEthernet0/0
2206 # interface GigabitEthernet0/1
2207 # ip ospf network broadcast
2208 # ip ospf resync-timeout 10
2209 # ip ospf dead-interval 5
2210 # ip ospf priority 25
2211 # ip ospf demand-circuit ignore
2212 # ip ospf bfd
2213 # ip ospf adjacency stagger disable
2214 # ip ospf ttl-security hops 50
2215 # ip ospf shutdown
2216 # ip ospf 10 area 30
2217 # ip ospf cost 5
2218 # ipv6 ospf 35 area 45
2219 # ipv6 ospf priority 55
2220 # ipv6 ospf transmit-delay 45
2221 # ipv6 ospf database-filter all out
2222 # ipv6 ospf adjacency stagger disable
2223 # ipv6 ospf manet peering link-metrics 10
2224 # interface GigabitEthernet0/2
2225
2226 # Using Rendered
2227
2228 - name: Render the commands for provided configuration
2229 cisco.ios.ios_ospf_interfaces:
2230 config:
2231 - name: GigabitEthernet0/1
2232 address_family:
2233 - afi: ipv4
2234 process:
2235 id: 10
2236 area_id: 30
2237 adjacency: true
2238 bfd: true
2239 cost:
2240 interface_cost: 5
2241 dead_interval:
2242 time: 5
2243 demand_circuit:
2244 ignore: true
2245 network:
2246 broadcast: true
2247 priority: 25
2248 resync_timeout: 10
2249 shutdown: true
2250 ttl_security:
2251 hops: 50
2252 - afi: ipv6
2253 process:
2254 id: 35
2255 area_id: 45
2256 adjacency: true
2257 database_filter: true
2258 manet:
2259 link_metrics:
2260 cost_threshold: 10
2261 priority: 55
2262 transmit_delay: 45
2263 state: rendered
2264
2265 # Task Output:
2266 # ------------
2267 #
2268 # rendered:
2269 # - interface GigabitEthernet0/1
2270 # - ip ospf 10 area 30
2271 # - ip ospf adjacency stagger disable
2272 # - ip ospf bfd
2273 # - ip ospf cost 5
2274 # - ip ospf dead-interval 5
2275 # - ip ospf demand-circuit ignore
2276 # - ip ospf network broadcast
2277 # - ip ospf priority 25
2278 # - ip ospf resync-timeout 10
2279 # - ip ospf shutdown
2280 # - ip ospf ttl-security hops 50
2281 # - ipv6 ospf 35 area 45
2282 # - ipv6 ospf adjacency stagger disable
2283 # - ipv6 ospf database-filter all out
2284 # - ipv6 ospf manet peering link-metrics 10
2285 # - ipv6 ospf priority 55
2286 # - ipv6 ospf transmit-delay 45
2287 #
2288
2289 # Using Parsed
2290
2291 # File: parsed.cfg
2292 # ----------------
2293 #
2294 # interface GigabitEthernet0/2
2295 # interface GigabitEthernet0/1
2296 # ip ospf network broadcast
2297 # ip ospf resync-timeout 10
2298 # ip ospf dead-interval 5
2299 # ip ospf priority 25
2300 # ip ospf demand-circuit ignore
2301 # ip ospf bfd
2302 # ip ospf adjacency stagger disable
2303 # ip ospf ttl-security hops 50
2304 # ip ospf shutdown
2305 # ip ospf 10 area 30
2306 # ip ospf cost 5
2307 # ipv6 ospf 35 area 45
2308 # ipv6 ospf priority 55
2309 # ipv6 ospf transmit-delay 45
2310 # ipv6 ospf database-filter all out
2311 # ipv6 ospf adjacency stagger disable
2312 # ipv6 ospf manet peering link-metrics 10
2313 # interface GigabitEthernet0/0
2314
2315 - name: Parse the provided configuration with the existing running configuration
2316 cisco.ios.ios_ospf_interfaces:
2317 running_config: "{{ lookup('file', 'parsed.cfg') }}"
2318 state: parsed
2319
2320 # Task Output:
2321 # ------------
2322 #
2323 # parsed:
2324 # - name: GigabitEthernet0/2
2325 # - address_family:
2326 # - adjacency: true
2327 # afi: ipv4
2328 # bfd: true
2329 # cost:
2330 # interface_cost: 5
2331 # dead_interval:
2332 # time: 5
2333 # demand_circuit:
2334 # enable: true
2335 # ignore: true
2336 # network:
2337 # broadcast: true
2338 # priority: 25
2339 # process:
2340 # area_id: '30'
2341 # id: 10
2342 # resync_timeout: 10
2343 # shutdown: true
2344 # ttl_security:
2345 # hops: 50
2346 # set: true
2347 # - adjacency: true
2348 # afi: ipv6
2349 # database_filter: true
2350 # manet:
2351 # link_metrics:
2352 # cost_threshold: 10
2353 # priority: 55
2354 # process:
2355 # area_id: '45'
2356 # id: 35
2357 # transmit_delay: 45
2358 # name: GigabitEthernet0/1
2359 # - name: GigabitEthernet0/0
2360
2361
2362
2363 Return Values
2364 -------------
2365 Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
2366
2367 .. raw:: html
2368
2369 <table border=0 cellpadding=0 class="documentation-table">
2370 <tr>
2371 <th colspan="1">Key</th>
2372 <th>Returned</th>
2373 <th width="100%">Description</th>
2374 </tr>
2375 <tr>
2376 <td colspan="1">
2377 <div class="ansibleOptionAnchor" id="return-"></div>
2378 <b>after</b>
2379 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
2380 <div style="font-size: small">
2381 <span style="color: purple">list</span>
2382 </div>
2383 </td>
2384 <td>when changed</td>
2385 <td>
2386 <div>The resulting configuration after module execution.</div>
2387 <br/>
2388 <div style="font-size: smaller"><b>Sample:</b></div>
2389 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
2390 </td>
2391 </tr>
2392 <tr>
2393 <td colspan="1">
2394 <div class="ansibleOptionAnchor" id="return-"></div>
2395 <b>before</b>
2396 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
2397 <div style="font-size: small">
2398 <span style="color: purple">list</span>
2399 </div>
2400 </td>
2401 <td>when <em>state</em> is <code>merged</code>, <code>replaced</code>, <code>overridden</code>, <code>deleted</code> or <code>purged</code></td>
2402 <td>
2403 <div>The configuration prior to the module execution.</div>
2404 <br/>
2405 <div style="font-size: smaller"><b>Sample:</b></div>
2406 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
2407 </td>
2408 </tr>
2409 <tr>
2410 <td colspan="1">
2411 <div class="ansibleOptionAnchor" id="return-"></div>
2412 <b>commands</b>
2413 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
2414 <div style="font-size: small">
2415 <span style="color: purple">list</span>
2416 </div>
2417 </td>
2418 <td>when <em>state</em> is <code>merged</code>, <code>replaced</code>, <code>overridden</code>, <code>deleted</code> or <code>purged</code></td>
2419 <td>
2420 <div>The set of commands pushed to the remote device.</div>
2421 <br/>
2422 <div style="font-size: smaller"><b>Sample:</b></div>
2423 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;interface GigabitEthernet2&#x27;, &#x27;ip ospf priority 40&#x27;, &#x27;ip ospf adjacency stagger disable&#x27;]</div>
2424 </td>
2425 </tr>
2426 <tr>
2427 <td colspan="1">
2428 <div class="ansibleOptionAnchor" id="return-"></div>
2429 <b>gathered</b>
2430 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
2431 <div style="font-size: small">
2432 <span style="color: purple">list</span>
2433 </div>
2434 </td>
2435 <td>when <em>state</em> is <code>gathered</code></td>
2436 <td>
2437 <div>Facts about the network resource gathered from the remote device as structured data.</div>
2438 <br/>
2439 <div style="font-size: smaller"><b>Sample:</b></div>
2440 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
2441 </td>
2442 </tr>
2443 <tr>
2444 <td colspan="1">
2445 <div class="ansibleOptionAnchor" id="return-"></div>
2446 <b>parsed</b>
2447 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
2448 <div style="font-size: small">
2449 <span style="color: purple">list</span>
2450 </div>
2451 </td>
2452 <td>when <em>state</em> is <code>parsed</code></td>
2453 <td>
2454 <div>The device native config provided in <em>running_config</em> option parsed into structured data as per module argspec.</div>
2455 <br/>
2456 <div style="font-size: smaller"><b>Sample:</b></div>
2457 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
2458 </td>
2459 </tr>
2460 <tr>
2461 <td colspan="1">
2462 <div class="ansibleOptionAnchor" id="return-"></div>
2463 <b>rendered</b>
2464 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
2465 <div style="font-size: small">
2466 <span style="color: purple">list</span>
2467 </div>
2468 </td>
2469 <td>when <em>state</em> is <code>rendered</code></td>
2470 <td>
2471 <div>The provided configuration in the task rendered in device-native format (offline).</div>
2472 <br/>
2473 <div style="font-size: smaller"><b>Sample:</b></div>
2474 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;interface GigabitEthernet2&#x27;, &#x27;ip ospf priority 40&#x27;, &#x27;ip ospf adjacency stagger disable&#x27;]</div>
2475 </td>
2476 </tr>
2477 </table>
2478 <br/><br/>
2479
2480
2481 Status
2482 ------
2483
2484
2485 Authors
2486 ~~~~~~~
2487
2488 - Sagar Paul (@KB-perByte)
2489 - Sumit Jaiswal (@justjais)