Debian Codegraph @

ansible_collections/cisco/ios/docs/cisco.ios.ios_static_routes_module.rst

raw
1 .. _cisco.ios.ios_static_routes_module:
2
3
4 ***************************
5 cisco.ios.ios_static_routes
6 ***************************
7
8 **Resource module to configure static routes.**
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 static routes 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="5">Parameter</th>
33 <th>Choices/<font color="blue">Defaults</font></th>
34 <th width="100%">Comments</th>
35 </tr>
36 <tr>
37 <td colspan="5">
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 static route options</div>
50 </td>
51 </tr>
52 <tr>
53 <td class="elbow-placeholder"></td>
54 <td colspan="4">
55 <div class="ansibleOptionAnchor" id="parameter-"></div>
56 <b>address_families</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>Address family to use for the static routes</div>
67 </td>
68 </tr>
69 <tr>
70 <td class="elbow-placeholder"></td>
71 <td class="elbow-placeholder"></td>
72 <td colspan="3">
73 <div class="ansibleOptionAnchor" id="parameter-"></div>
74 <b>afi</b>
75 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
76 <div style="font-size: small">
77 <span style="color: purple">string</span>
78 / <span style="color: red">required</span>
79 </div>
80 </td>
81 <td>
82 <ul style="margin: 0; padding: 0"><b>Choices:</b>
83 <li>ipv4</li>
84 <li>ipv6</li>
85 </ul>
86 </td>
87 <td>
88 <div>Top level address family indicator.</div>
89 </td>
90 </tr>
91 <tr>
92 <td class="elbow-placeholder"></td>
93 <td class="elbow-placeholder"></td>
94 <td colspan="3">
95 <div class="ansibleOptionAnchor" id="parameter-"></div>
96 <b>routes</b>
97 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
98 <div style="font-size: small">
99 <span style="color: purple">list</span>
100 / <span style="color: purple">elements=dictionary</span>
101 </div>
102 </td>
103 <td>
104 </td>
105 <td>
106 <div>Configuring static route</div>
107 </td>
108 </tr>
109 <tr>
110 <td class="elbow-placeholder"></td>
111 <td class="elbow-placeholder"></td>
112 <td class="elbow-placeholder"></td>
113 <td colspan="2">
114 <div class="ansibleOptionAnchor" id="parameter-"></div>
115 <b>dest</b>
116 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
117 <div style="font-size: small">
118 <span style="color: purple">string</span>
119 / <span style="color: red">required</span>
120 </div>
121 </td>
122 <td>
123 </td>
124 <td>
125 <div>Destination prefix with its subnet mask</div>
126 </td>
127 </tr>
128 <tr>
129 <td class="elbow-placeholder"></td>
130 <td class="elbow-placeholder"></td>
131 <td class="elbow-placeholder"></td>
132 <td colspan="2">
133 <div class="ansibleOptionAnchor" id="parameter-"></div>
134 <b>next_hops</b>
135 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
136 <div style="font-size: small">
137 <span style="color: purple">list</span>
138 / <span style="color: purple">elements=dictionary</span>
139 </div>
140 </td>
141 <td>
142 </td>
143 <td>
144 <div>next hop address or interface</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 class="elbow-placeholder"></td>
152 <td colspan="1">
153 <div class="ansibleOptionAnchor" id="parameter-"></div>
154 <b>dhcp</b>
155 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
156 <div style="font-size: small">
157 <span style="color: purple">boolean</span>
158 </div>
159 </td>
160 <td>
161 <ul style="margin: 0; padding: 0"><b>Choices:</b>
162 <li>no</li>
163 <li>yes</li>
164 </ul>
165 </td>
166 <td>
167 <div>Default gateway obtained from DHCP</div>
168 </td>
169 </tr>
170 <tr>
171 <td class="elbow-placeholder"></td>
172 <td class="elbow-placeholder"></td>
173 <td class="elbow-placeholder"></td>
174 <td class="elbow-placeholder"></td>
175 <td colspan="1">
176 <div class="ansibleOptionAnchor" id="parameter-"></div>
177 <b>distance_metric</b>
178 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
179 <div style="font-size: small">
180 <span style="color: purple">integer</span>
181 </div>
182 </td>
183 <td>
184 </td>
185 <td>
186 <div>Distance metric for this route</div>
187 </td>
188 </tr>
189 <tr>
190 <td class="elbow-placeholder"></td>
191 <td class="elbow-placeholder"></td>
192 <td class="elbow-placeholder"></td>
193 <td class="elbow-placeholder"></td>
194 <td colspan="1">
195 <div class="ansibleOptionAnchor" id="parameter-"></div>
196 <b>forward_router_address</b>
197 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
198 <div style="font-size: small">
199 <span style="color: purple">string</span>
200 </div>
201 </td>
202 <td>
203 </td>
204 <td>
205 <div>Forwarding router&#x27;s address</div>
206 </td>
207 </tr>
208 <tr>
209 <td class="elbow-placeholder"></td>
210 <td class="elbow-placeholder"></td>
211 <td class="elbow-placeholder"></td>
212 <td class="elbow-placeholder"></td>
213 <td colspan="1">
214 <div class="ansibleOptionAnchor" id="parameter-"></div>
215 <b>global</b>
216 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
217 <div style="font-size: small">
218 <span style="color: purple">boolean</span>
219 </div>
220 </td>
221 <td>
222 <ul style="margin: 0; padding: 0"><b>Choices:</b>
223 <li>no</li>
224 <li>yes</li>
225 </ul>
226 </td>
227 <td>
228 <div>Next hop address is global</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 class="elbow-placeholder"></td>
236 <td colspan="1">
237 <div class="ansibleOptionAnchor" id="parameter-"></div>
238 <b>interface</b>
239 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
240 <div style="font-size: small">
241 <span style="color: purple">string</span>
242 </div>
243 </td>
244 <td>
245 </td>
246 <td>
247 <div>Interface for directly connected static routes</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="1">
256 <div class="ansibleOptionAnchor" id="parameter-"></div>
257 <b>multicast</b>
258 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
259 <div style="font-size: small">
260 <span style="color: purple">boolean</span>
261 </div>
262 </td>
263 <td>
264 <ul style="margin: 0; padding: 0"><b>Choices:</b>
265 <li>no</li>
266 <li>yes</li>
267 </ul>
268 </td>
269 <td>
270 <div>multicast route</div>
271 </td>
272 </tr>
273 <tr>
274 <td class="elbow-placeholder"></td>
275 <td class="elbow-placeholder"></td>
276 <td class="elbow-placeholder"></td>
277 <td class="elbow-placeholder"></td>
278 <td colspan="1">
279 <div class="ansibleOptionAnchor" id="parameter-"></div>
280 <b>name</b>
281 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
282 <div style="font-size: small">
283 <span style="color: purple">string</span>
284 </div>
285 </td>
286 <td>
287 </td>
288 <td>
289 <div>Specify name of the next hop</div>
290 </td>
291 </tr>
292 <tr>
293 <td class="elbow-placeholder"></td>
294 <td class="elbow-placeholder"></td>
295 <td class="elbow-placeholder"></td>
296 <td class="elbow-placeholder"></td>
297 <td colspan="1">
298 <div class="ansibleOptionAnchor" id="parameter-"></div>
299 <b>permanent</b>
300 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
301 <div style="font-size: small">
302 <span style="color: purple">boolean</span>
303 </div>
304 </td>
305 <td>
306 <ul style="margin: 0; padding: 0"><b>Choices:</b>
307 <li>no</li>
308 <li>yes</li>
309 </ul>
310 </td>
311 <td>
312 <div>permanent route</div>
313 </td>
314 </tr>
315 <tr>
316 <td class="elbow-placeholder"></td>
317 <td class="elbow-placeholder"></td>
318 <td class="elbow-placeholder"></td>
319 <td class="elbow-placeholder"></td>
320 <td colspan="1">
321 <div class="ansibleOptionAnchor" id="parameter-"></div>
322 <b>tag</b>
323 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
324 <div style="font-size: small">
325 <span style="color: purple">integer</span>
326 </div>
327 </td>
328 <td>
329 </td>
330 <td>
331 <div>Set tag for this route</div>
332 <div>Refer to vendor documentation for valid values.</div>
333 </td>
334 </tr>
335 <tr>
336 <td class="elbow-placeholder"></td>
337 <td class="elbow-placeholder"></td>
338 <td class="elbow-placeholder"></td>
339 <td class="elbow-placeholder"></td>
340 <td colspan="1">
341 <div class="ansibleOptionAnchor" id="parameter-"></div>
342 <b>track</b>
343 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
344 <div style="font-size: small">
345 <span style="color: purple">integer</span>
346 </div>
347 </td>
348 <td>
349 </td>
350 <td>
351 <div>Install route depending on tracked item with tracked object number.</div>
352 <div>Tracking does not support multicast</div>
353 <div>Refer to vendor documentation for valid values.</div>
354 </td>
355 </tr>
356 <tr>
357 <td class="elbow-placeholder"></td>
358 <td class="elbow-placeholder"></td>
359 <td class="elbow-placeholder"></td>
360 <td class="elbow-placeholder"></td>
361 <td colspan="1">
362 <div class="ansibleOptionAnchor" id="parameter-"></div>
363 <b>unicast</b>
364 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
365 <div style="font-size: small">
366 <span style="color: purple">boolean</span>
367 </div>
368 </td>
369 <td>
370 <ul style="margin: 0; padding: 0"><b>Choices:</b>
371 <li>no</li>
372 <li>yes</li>
373 </ul>
374 </td>
375 <td>
376 <div>unicast route (ipv6 specific)</div>
377 </td>
378 </tr>
379
380 <tr>
381 <td class="elbow-placeholder"></td>
382 <td class="elbow-placeholder"></td>
383 <td class="elbow-placeholder"></td>
384 <td colspan="2">
385 <div class="ansibleOptionAnchor" id="parameter-"></div>
386 <b>topology</b>
387 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
388 <div style="font-size: small">
389 <span style="color: purple">string</span>
390 </div>
391 </td>
392 <td>
393 </td>
394 <td>
395 <div>Configure static route for a Topology Routing/Forwarding instance</div>
396 <div>NOTE, VRF and Topology can be used together only with Multicast and Topology should pre-exist before it can be used</div>
397 </td>
398 </tr>
399
400
401 <tr>
402 <td class="elbow-placeholder"></td>
403 <td colspan="4">
404 <div class="ansibleOptionAnchor" id="parameter-"></div>
405 <b>vrf</b>
406 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
407 <div style="font-size: small">
408 <span style="color: purple">string</span>
409 </div>
410 </td>
411 <td>
412 </td>
413 <td>
414 <div>IP VPN Routing/Forwarding instance name.</div>
415 <div>NOTE, In case of IPV4/IPV6 VRF routing table should pre-exist before configuring.</div>
416 <div>NOTE, if the vrf information is not provided then the routes shall be configured under global vrf.</div>
417 </td>
418 </tr>
419
420 <tr>
421 <td colspan="5">
422 <div class="ansibleOptionAnchor" id="parameter-"></div>
423 <b>running_config</b>
424 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
425 <div style="font-size: small">
426 <span style="color: purple">string</span>
427 </div>
428 </td>
429 <td>
430 </td>
431 <td>
432 <div>This option is used only with state <em>parsed</em>.</div>
433 <div>The value of this option should be the output received from the IOS device by executing the command <b>show running-config | include ip route|ipv6 route</b>.</div>
434 <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>
435 </td>
436 </tr>
437 <tr>
438 <td colspan="5">
439 <div class="ansibleOptionAnchor" id="parameter-"></div>
440 <b>state</b>
441 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
442 <div style="font-size: small">
443 <span style="color: purple">string</span>
444 </div>
445 </td>
446 <td>
447 <ul style="margin: 0; padding: 0"><b>Choices:</b>
448 <li><div style="color: blue"><b>merged</b>&nbsp;&larr;</div></li>
449 <li>replaced</li>
450 <li>overridden</li>
451 <li>deleted</li>
452 <li>gathered</li>
453 <li>rendered</li>
454 <li>parsed</li>
455 </ul>
456 </td>
457 <td>
458 <div>The state the configuration should be left in</div>
459 <div>The states <em>rendered</em>, <em>gathered</em> and <em>parsed</em> does not perform any change on the device.</div>
460 <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>
461 <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>
462 <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 | include ip route|ipv6 route</em> executed on device. For state <em>parsed</em> active connection to remote host is not required.</div>
463 </td>
464 </tr>
465 </table>
466 <br/>
467
468
469 Notes
470 -----
471
472 .. note::
473 - Tested against Cisco IOSXE Version 17.3 on CML.
474 - This module works with connection ``network_cli``. See https://docs.ansible.com/ansible/latest/network/user_guide/platform_ios.html
475 - The module examples uses callback plugin (stdout_callback = yaml) to generate task output in yaml format.
476
477
478
479 Examples
480 --------
481
482 .. code-block:: yaml
483
484 # Using merged
485
486 # Before state:
487 # -------------
488 #
489 # vios#show running-config | include ip route|ipv6 route
490
491 - name: Merge provided configuration with device configuration
492 cisco.ios.ios_static_routes:
493 config:
494 - vrf: blue
495 address_families:
496 - afi: ipv4
497 routes:
498 - dest: 192.0.2.0/24
499 next_hops:
500 - forward_router_address: 192.0.2.1
501 name: merged_blue
502 tag: 50
503 track: 150
504 - address_families:
505 - afi: ipv4
506 routes:
507 - dest: 198.51.100.0/24
508 next_hops:
509 - forward_router_address: 198.51.101.1
510 name: merged_route_1
511 distance_metric: 110
512 tag: 40
513 multicast: true
514 - forward_router_address: 198.51.101.2
515 name: merged_route_2
516 distance_metric: 30
517 - forward_router_address: 198.51.101.3
518 name: merged_route_3
519 - afi: ipv6
520 routes:
521 - dest: 2001:DB8:0:3::/64
522 next_hops:
523 - forward_router_address: 2001:DB8:0:3::2
524 name: merged_v6
525 tag: 105
526 state: merged
527
528 # Task Output
529 # -----------
530 #
531 # before:
532 # - {}
533 # commands:
534 # - ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name merged_v6
535 # - ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name merged_route_1 multicast
536 # - ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name merged_route_2
537 # - ip route 198.51.100.0 255.255.255.0 198.51.101.3 name merged_route_3
538 # - ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name merged_blue track 150
539 # after:
540 # - address_families:
541 # - afi: ipv4
542 # routes:
543 # - dest: 198.51.100.0/24
544 # next_hops:
545 # - forward_router_address: 198.51.101.3
546 # name: merged_route_3
547 # - distance_metric: 30
548 # forward_router_address: 198.51.101.2
549 # name: merged_route_2
550 # - distance_metric: 110
551 # forward_router_address: 198.51.101.1
552 # multicast: true
553 # name: merged_route_1
554 # tag: 40
555 # - afi: ipv6
556 # routes:
557 # - dest: 2001:DB8:0:3::/64
558 # next_hops:
559 # - forward_router_address: 2001:DB8:0:3::2
560 # name: merged_v6
561 # tag: 105
562 # - address_families:
563 # - afi: ipv4
564 # routes:
565 # - dest: 192.0.2.0/24
566 # next_hops:
567 # - forward_router_address: 192.0.2.1
568 # name: merged_blue
569 # tag: 50
570 # track: 150
571 # vrf: blue
572
573 # After state:
574 # ------------
575 #
576 # vios#show running-config | include ip route|ipv6 route
577 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name merged_blue track 150
578 # ip route 198.51.100.0 255.255.255.0 198.51.101.3 name merged_route_3
579 # ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name merged_route_2
580 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name merged_route_1 multicast
581 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name merged_v6
582
583 # Using replaced
584
585 # Before state:
586 # -------------
587 #
588 # vios#show running-config | include ip route|ipv6 route
589 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name merged_blue track 150
590 # ip route 198.51.100.0 255.255.255.0 198.51.101.3 name merged_route_3
591 # ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name merged_route_2
592 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name merged_route_1 multicast
593 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name merged_v6
594
595 - name: Replace provided configuration with device configuration
596 cisco.ios.ios_static_routes:
597 config:
598 - address_families:
599 - afi: ipv4
600 routes:
601 - dest: 198.51.100.0/24
602 next_hops:
603 - forward_router_address: 198.51.101.1
604 name: replaced_route
605 distance_metric: 175
606 tag: 70
607 multicast: true
608 state: replaced
609
610 # Task Output
611 # -----------
612 #
613 # before:
614 # - address_families:
615 # - afi: ipv4
616 # routes:
617 # - dest: 198.51.100.0/24
618 # next_hops:
619 # - forward_router_address: 198.51.101.3
620 # name: merged_route_3
621 # - distance_metric: 30
622 # forward_router_address: 198.51.101.2
623 # name: merged_route_2
624 # - distance_metric: 110
625 # forward_router_address: 198.51.101.1
626 # multicast: true
627 # name: merged_route_1
628 # tag: 40
629 # - afi: ipv6
630 # routes:
631 # - dest: 2001:DB8:0:3::/64
632 # next_hops:
633 # - forward_router_address: 2001:DB8:0:3::2
634 # name: merged_v6
635 # tag: 105
636 # - address_families:
637 # - afi: ipv4
638 # routes:
639 # - dest: 192.0.2.0/24
640 # next_hops:
641 # - forward_router_address: 192.0.2.1
642 # name: merged_blue
643 # tag: 50
644 # track: 150
645 # vrf: blue
646 # commands:
647 # - ip route 198.51.100.0 255.255.255.0 198.51.101.1 175 tag 70 name replaced_route multicast
648 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.3 name merged_route_3
649 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name merged_route_2
650 # after:
651 # - address_families:
652 # - afi: ipv4
653 # routes:
654 # - dest: 198.51.100.0/24
655 # next_hops:
656 # - distance_metric: 175
657 # forward_router_address: 198.51.101.1
658 # multicast: true
659 # name: replaced_route
660 # tag: 70
661 # - afi: ipv6
662 # routes:
663 # - dest: 2001:DB8:0:3::/64
664 # next_hops:
665 # - forward_router_address: 2001:DB8:0:3::2
666 # name: merged_v6
667 # tag: 105
668 # - address_families:
669 # - afi: ipv4
670 # routes:
671 # - dest: 192.0.2.0/24
672 # next_hops:
673 # - forward_router_address: 192.0.2.1
674 # name: merged_blue
675 # tag: 50
676 # track: 150
677 # vrf: blue
678
679 # After state:
680 # ------------
681 #
682 # vios#show running-config | include ip route|ipv6 route
683 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name merged_blue track 150
684 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 175 tag 70 name replaced_route multicast
685 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name merged_v6
686
687 # Using overridden
688
689 # Before state:
690 # -------------
691 #
692 # vios#show running-config | include ip route|ipv6 route
693 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name merged_blue track 150
694 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 175 tag 70 name replaced_route multicast
695 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name merged_v6
696
697 - name: Override provided configuration with device configuration
698 cisco.ios.ios_static_routes:
699 config:
700 - vrf: blue
701 address_families:
702 - afi: ipv4
703 routes:
704 - dest: 192.0.2.0/24
705 next_hops:
706 - forward_router_address: 192.0.2.1
707 name: override_vrf
708 tag: 50
709 track: 150
710 state: overridden
711
712 # Task Output
713 # -----------
714 #
715 # before:
716 # - address_families:
717 # - afi: ipv4
718 # routes:
719 # - dest: 198.51.100.0/24
720 # next_hops:
721 # - distance_metric: 175
722 # forward_router_address: 198.51.101.1
723 # multicast: true
724 # name: replaced_route
725 # tag: 70
726 # - afi: ipv6
727 # routes:
728 # - dest: 2001:DB8:0:3::/64
729 # next_hops:
730 # - forward_router_address: 2001:DB8:0:3::2
731 # name: merged_v6
732 # tag: 105
733 # - address_families:
734 # - afi: ipv4
735 # routes:
736 # - dest: 192.0.2.0/24
737 # next_hops:
738 # - forward_router_address: 192.0.2.1
739 # name: merged_blue
740 # tag: 50
741 # track: 150
742 # vrf: blue
743 # commands:
744 # - ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name override_vrf track 150
745 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.1 175 tag 70 name replaced_route multicast
746 # - no ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name merged_v6
747 # after:
748 # - address_families:
749 # - afi: ipv4
750 # routes:
751 # - dest: 192.0.2.0/24
752 # next_hops:
753 # - forward_router_address: 192.0.2.1
754 # name: override_vrf
755 # tag: 50
756 # track: 150
757 # vrf: blue
758
759 # After state:
760 # ------------
761 #
762 # vios#show running-config | include ip route|ipv6 route
763 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name override_vrf track 150
764
765 # Using deleted
766
767 # Before state:
768 # -------------
769 # vios#show running-config | include ip route|ipv6 route
770 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
771 # ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
772 # ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
773 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
774 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
775
776 - name: Delete the exact static routes, with all the static routes explicitly mentioned in want
777 cisco.ios.ios_static_routes:
778 config:
779 - vrf: blue
780 address_families:
781 - afi: ipv4
782 routes:
783 - dest: 192.0.2.0/24
784 next_hops:
785 - forward_router_address: 192.0.2.1
786 name: test_vrf
787 tag: 50
788 track: 150
789 - address_families:
790 - afi: ipv4
791 routes:
792 - dest: 198.51.100.0/24
793 next_hops:
794 - forward_router_address: 198.51.101.1
795 name: route_1
796 distance_metric: 110
797 tag: 40
798 multicast: true
799 - forward_router_address: 198.51.101.2
800 name: route_2
801 distance_metric: 30
802 - forward_router_address: 198.51.101.3
803 name: route_3
804 - afi: ipv6
805 routes:
806 - dest: 2001:DB8:0:3::/64
807 next_hops:
808 - forward_router_address: 2001:DB8:0:3::2
809 name: test_v6
810 tag: 105
811 state: deleted
812
813 # Task Output
814 # -----------
815 #
816 # before:
817 # - address_families:
818 # - afi: ipv4
819 # routes:
820 # - dest: 198.51.100.0/24
821 # next_hops:
822 # - forward_router_address: 198.51.101.3
823 # name: route_3
824 # - distance_metric: 30
825 # forward_router_address: 198.51.101.2
826 # name: route_2
827 # - distance_metric: 110
828 # forward_router_address: 198.51.101.1
829 # multicast: true
830 # name: route_1
831 # tag: 40
832 # - afi: ipv6
833 # routes:
834 # - dest: 2001:DB8:0:3::/64
835 # next_hops:
836 # - forward_router_address: 2001:DB8:0:3::2
837 # name: test_v6
838 # tag: 105
839 # - address_families:
840 # - afi: ipv4
841 # routes:
842 # - dest: 192.0.2.0/24
843 # next_hops:
844 # - forward_router_address: 192.0.2.1
845 # name: test_vrf
846 # tag: 50
847 # track: 150
848 # vrf: blue
849 # commands:
850 # - no ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
851 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
852 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
853 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
854 # - no ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
855 # after: {}
856
857 # After state:
858 # ------------
859 #
860 # vios#show running-config | include ip route|ipv6 route
861
862 # Using deleted - delete based on specific routes
863
864 # Before state:
865 # -------------
866 #
867 # vios#show running-config | include ip route|ipv6 route
868 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
869 # ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
870 # ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
871 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
872 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
873
874 - name: Delete destination specific static routes
875 cisco.ios.ios_static_routes:
876 config:
877 - address_families:
878 - afi: ipv4
879 routes:
880 - dest: 198.51.100.0/24
881 state: deleted
882
883 # Task Output
884 # -----------
885 #
886 # before:
887 # - address_families:
888 # - afi: ipv4
889 # routes:
890 # - dest: 198.51.100.0/24
891 # next_hops:
892 # - forward_router_address: 198.51.101.3
893 # name: route_3
894 # - distance_metric: 30
895 # forward_router_address: 198.51.101.2
896 # name: route_2
897 # - distance_metric: 110
898 # forward_router_address: 198.51.101.1
899 # multicast: true
900 # name: route_1
901 # tag: 40
902 # - afi: ipv6
903 # routes:
904 # - dest: 2001:DB8:0:3::/64
905 # next_hops:
906 # - forward_router_address: 2001:DB8:0:3::2
907 # name: test_v6
908 # tag: 105
909 # - address_families:
910 # - afi: ipv4
911 # routes:
912 # - dest: 192.0.2.0/24
913 # next_hops:
914 # - forward_router_address: 192.0.2.1
915 # name: test_vrf
916 # tag: 50
917 # track: 150
918 # vrf: blue
919 # commands:
920 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
921 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
922 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
923 # after:
924 # - address_families:
925 # - afi: ipv6
926 # routes:
927 # - dest: 2001:DB8:0:3::/64
928 # next_hops:
929 # - forward_router_address: 2001:DB8:0:3::2
930 # name: test_v6
931 # tag: 105
932 # - address_families:
933 # - afi: ipv4
934 # routes:
935 # - dest: 192.0.2.0/24
936 # next_hops:
937 # - forward_router_address: 192.0.2.1
938 # name: test_vrf
939 # tag: 50
940 # track: 150
941 # vrf: blue
942
943 # After state:
944 # ------------
945 #
946 # vios#show running-config | include ip route|ipv6 route
947 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
948 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
949
950 # Using deleted - delete based on vrfs
951
952 # Before state:
953 # -------------
954 #
955 # vios#show running-config | include ip route|ipv6 route
956 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
957 # ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
958 # ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
959 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
960 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
961
962 - name: Delete vrf specific static routes
963 cisco.ios.ios_static_routes:
964 config:
965 - vrf: blue
966 state: deleted
967
968 # Task Output
969 # -----------
970 #
971 # before:
972 # - address_families:
973 # - afi: ipv4
974 # routes:
975 # - dest: 198.51.100.0/24
976 # next_hops:
977 # - forward_router_address: 198.51.101.3
978 # name: route_3
979 # - distance_metric: 30
980 # forward_router_address: 198.51.101.2
981 # name: route_2
982 # - distance_metric: 110
983 # forward_router_address: 198.51.101.1
984 # multicast: true
985 # name: route_1
986 # tag: 40
987 # - afi: ipv6
988 # routes:
989 # - dest: 2001:DB8:0:3::/64
990 # next_hops:
991 # - forward_router_address: 2001:DB8:0:3::2
992 # name: test_v6
993 # tag: 105
994 # - address_families:
995 # - afi: ipv4
996 # routes:
997 # - dest: 192.0.2.0/24
998 # next_hops:
999 # - forward_router_address: 192.0.2.1
1000 # name: test_vrf
1001 # tag: 50
1002 # track: 150
1003 # vrf: blue
1004 # commands:
1005 # - no ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
1006 # after:
1007 # - address_families:
1008 # - afi: ipv4
1009 # routes:
1010 # - dest: 198.51.100.0/24
1011 # next_hops:
1012 # - forward_router_address: 198.51.101.3
1013 # name: route_3
1014 # - distance_metric: 30
1015 # forward_router_address: 198.51.101.2
1016 # name: route_2
1017 # - distance_metric: 110
1018 # forward_router_address: 198.51.101.1
1019 # multicast: true
1020 # name: route_1
1021 # tag: 40
1022 # - afi: ipv6
1023 # routes:
1024 # - dest: 2001:DB8:0:3::/64
1025 # next_hops:
1026 # - forward_router_address: 2001:DB8:0:3::2
1027 # name: test_v6
1028 # tag: 105
1029
1030 # After state:
1031 # ------------
1032 #
1033 # vios#show running-config | include ip route|ipv6 route
1034 # ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
1035 # ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
1036 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
1037 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
1038
1039 # Using deleted - delete all
1040
1041 # Before state:
1042 # -------------
1043 #
1044 # vios#show running-config | include ip route|ipv6 route
1045 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
1046 # ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
1047 # ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
1048 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
1049 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
1050
1051 - name: Delete ALL configured static routes
1052 cisco.ios.ios_static_routes:
1053 state: deleted
1054
1055 # Task Output
1056 # -----------
1057 #
1058 # before:
1059 # - address_families:
1060 # - afi: ipv4
1061 # routes:
1062 # - dest: 198.51.100.0/24
1063 # next_hops:
1064 # - forward_router_address: 198.51.101.3
1065 # name: route_3
1066 # - distance_metric: 30
1067 # forward_router_address: 198.51.101.2
1068 # name: route_2
1069 # - distance_metric: 110
1070 # forward_router_address: 198.51.101.1
1071 # multicast: true
1072 # name: route_1
1073 # tag: 40
1074 # - afi: ipv6
1075 # routes:
1076 # - dest: 2001:DB8:0:3::/64
1077 # next_hops:
1078 # - forward_router_address: 2001:DB8:0:3::2
1079 # name: test_v6
1080 # tag: 105
1081 # - address_families:
1082 # - afi: ipv4
1083 # routes:
1084 # - dest: 192.0.2.0/24
1085 # next_hops:
1086 # - forward_router_address: 192.0.2.1
1087 # name: test_vrf
1088 # tag: 50
1089 # track: 150
1090 # vrf: blue
1091 # commands:
1092 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
1093 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
1094 # - no ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
1095 # - no ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
1096 # - no ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
1097 # after: {}
1098
1099 # After state:
1100 # -------------
1101 #
1102 # vios#show running-config | include ip route|ipv6 route
1103
1104 # Using gathered
1105
1106 # Before state:
1107 # -------------
1108 #
1109 # vios#show running-config | include ip route|ipv6 route
1110 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
1111 # ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
1112 # ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
1113 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
1114 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
1115
1116 - name: Gather facts of static routes
1117 cisco.ios.ios_static_routes:
1118 config:
1119 state: gathered
1120
1121 # Task Output
1122 # -----------
1123 #
1124 # gathered:
1125 # - address_families:
1126 # - afi: ipv4
1127 # routes:
1128 # - dest: 198.51.100.0/24
1129 # next_hops:
1130 # - forward_router_address: 198.51.101.3
1131 # name: route_3
1132 # - distance_metric: 30
1133 # forward_router_address: 198.51.101.2
1134 # name: route_2
1135 # - distance_metric: 110
1136 # forward_router_address: 198.51.101.1
1137 # multicast: true
1138 # name: route_1
1139 # tag: 40
1140 # - afi: ipv6
1141 # routes:
1142 # - dest: 2001:DB8:0:3::/64
1143 # next_hops:
1144 # - forward_router_address: 2001:DB8:0:3::2
1145 # name: test_v6
1146 # tag: 105
1147 # - address_families:
1148 # - afi: ipv4
1149 # routes:
1150 # - dest: 192.0.2.0/24
1151 # next_hops:
1152 # - forward_router_address: 192.0.2.1
1153 # name: test_vrf
1154 # tag: 50
1155 # track: 150
1156 # vrf: blue
1157
1158 # Using rendered
1159
1160 - name: Render the commands for provided configuration
1161 cisco.ios.ios_static_routes:
1162 config:
1163 - vrf: blue
1164 address_families:
1165 - afi: ipv4
1166 routes:
1167 - dest: 192.0.2.0/24
1168 next_hops:
1169 - forward_router_address: 192.0.2.1
1170 name: test_vrf
1171 tag: 50
1172 track: 150
1173 - address_families:
1174 - afi: ipv4
1175 routes:
1176 - dest: 198.51.100.0/24
1177 next_hops:
1178 - forward_router_address: 198.51.101.1
1179 name: route_1
1180 distance_metric: 110
1181 tag: 40
1182 multicast: true
1183 - forward_router_address: 198.51.101.2
1184 name: route_2
1185 distance_metric: 30
1186 - forward_router_address: 198.51.101.3
1187 name: route_3
1188 - afi: ipv6
1189 routes:
1190 - dest: 2001:DB8:0:3::/64
1191 next_hops:
1192 - forward_router_address: 2001:DB8:0:3::2
1193 name: test_v6
1194 tag: 105
1195 state: rendered
1196
1197 # Task Output
1198 # -----------
1199 #
1200 # rendered:
1201 # - ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
1202 # - ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
1203 # - ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
1204 # - ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
1205 # - ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
1206
1207 # Using parsed
1208
1209 # File: parsed.cfg
1210 # ----------------
1211 #
1212 # ip route vrf blue 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150
1213 # ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3
1214 # ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2
1215 # ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast
1216 # ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6
1217
1218 - name: Parse the provided configuration
1219 cisco.ios.ios_static_routes:
1220 running_config: "{{ lookup('file', 'parsed.cfg') }}"
1221 state: parsed
1222
1223 # Task Output
1224 # -----------
1225 #
1226 # parsed:
1227 # - address_families:
1228 # - afi: ipv4
1229 # routes:
1230 # - dest: 198.51.100.0/24
1231 # next_hops:
1232 # - forward_router_address: 198.51.101.3
1233 # name: route_3
1234 # - distance_metric: 30
1235 # forward_router_address: 198.51.101.2
1236 # name: route_2
1237 # - distance_metric: 110
1238 # forward_router_address: 198.51.101.1
1239 # multicast: true
1240 # name: route_1
1241 # tag: 40
1242 # - afi: ipv6
1243 # routes:
1244 # - dest: 2001:DB8:0:3::/64
1245 # next_hops:
1246 # - forward_router_address: 2001:DB8:0:3::2
1247 # name: test_v6
1248 # tag: 105
1249 # - address_families:
1250 # - afi: ipv4
1251 # routes:
1252 # - dest: 192.0.2.0/24
1253 # next_hops:
1254 # - forward_router_address: 192.0.2.1
1255 # name: test_vrf
1256 # tag: 50
1257 # track: 150
1258 # vrf: blue
1259
1260
1261
1262 Return Values
1263 -------------
1264 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:
1265
1266 .. raw:: html
1267
1268 <table border=0 cellpadding=0 class="documentation-table">
1269 <tr>
1270 <th colspan="1">Key</th>
1271 <th>Returned</th>
1272 <th width="100%">Description</th>
1273 </tr>
1274 <tr>
1275 <td colspan="1">
1276 <div class="ansibleOptionAnchor" id="return-"></div>
1277 <b>after</b>
1278 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
1279 <div style="font-size: small">
1280 <span style="color: purple">list</span>
1281 </div>
1282 </td>
1283 <td>when changed</td>
1284 <td>
1285 <div>The configuration as structured data after module completion.</div>
1286 <br/>
1287 <div style="font-size: smaller"><b>Sample:</b></div>
1288 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">The configuration returned will always be in the same format of the parameters above.</div>
1289 </td>
1290 </tr>
1291 <tr>
1292 <td colspan="1">
1293 <div class="ansibleOptionAnchor" id="return-"></div>
1294 <b>before</b>
1295 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
1296 <div style="font-size: small">
1297 <span style="color: purple">list</span>
1298 </div>
1299 </td>
1300 <td>always</td>
1301 <td>
1302 <div>The configuration as structured data prior to module invocation.</div>
1303 <br/>
1304 <div style="font-size: smaller"><b>Sample:</b></div>
1305 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">The configuration returned will always be in the same format of the parameters above.</div>
1306 </td>
1307 </tr>
1308 <tr>
1309 <td colspan="1">
1310 <div class="ansibleOptionAnchor" id="return-"></div>
1311 <b>commands</b>
1312 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
1313 <div style="font-size: small">
1314 <span style="color: purple">list</span>
1315 </div>
1316 </td>
1317 <td>always</td>
1318 <td>
1319 <div>The set of commands pushed to the remote device</div>
1320 <br/>
1321 <div style="font-size: smaller"><b>Sample:</b></div>
1322 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;ip route vrf test 172.31.10.0 255.255.255.0 10.10.10.2 name new_test multicast&#x27;]</div>
1323 </td>
1324 </tr>
1325 <tr>
1326 <td colspan="1">
1327 <div class="ansibleOptionAnchor" id="return-"></div>
1328 <b>gathered</b>
1329 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
1330 <div style="font-size: small">
1331 <span style="color: purple">list</span>
1332 </div>
1333 </td>
1334 <td>When <code>state</code> is <em>gathered</em></td>
1335 <td>
1336 <div>The configuration as structured data transformed for the running configuration fetched from remote host</div>
1337 <br/>
1338 <div style="font-size: smaller"><b>Sample:</b></div>
1339 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">The configuration returned will always be in the same format of the parameters above.</div>
1340 </td>
1341 </tr>
1342 <tr>
1343 <td colspan="1">
1344 <div class="ansibleOptionAnchor" id="return-"></div>
1345 <b>parsed</b>
1346 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
1347 <div style="font-size: small">
1348 <span style="color: purple">list</span>
1349 </div>
1350 </td>
1351 <td>When <code>state</code> is <em>parsed</em></td>
1352 <td>
1353 <div>The configuration as structured data transformed for the value of <code>running_config</code> option</div>
1354 <br/>
1355 <div style="font-size: smaller"><b>Sample:</b></div>
1356 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">The configuration returned will always be in the same format of the parameters above.</div>
1357 </td>
1358 </tr>
1359 <tr>
1360 <td colspan="1">
1361 <div class="ansibleOptionAnchor" id="return-"></div>
1362 <b>rendered</b>
1363 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
1364 <div style="font-size: small">
1365 <span style="color: purple">list</span>
1366 </div>
1367 </td>
1368 <td>When <code>state</code> is <em>rendered</em></td>
1369 <td>
1370 <div>The set of CLI commands generated from the value in <code>config</code> option</div>
1371 <br/>
1372 <div style="font-size: smaller"><b>Sample:</b></div>
1373 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3&#x27;, &#x27;ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6&#x27;]</div>
1374 </td>
1375 </tr>
1376 </table>
1377 <br/><br/>
1378
1379
1380 Status
1381 ------
1382
1383
1384 Authors
1385 ~~~~~~~
1386
1387 - Sagar Paul (@KB-perByte)
1388 - Sumit Jaiswal (@justjais)