| 1 |
--- |
| 2 |
deleted: |
| 3 |
commands: |
| 4 |
- no ip route vrf ansible_temp_vrf 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150 |
| 5 |
- no ipv6 route vrf ansible_temp_vrf 2001:DB8:0:4::/64 2001:DB8:0:4::2 tag 115 name test_v6_vrf |
| 6 |
- no ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast |
| 7 |
- no ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3 |
| 8 |
- no ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2 |
| 9 |
- no ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6 |
| 10 |
merged: |
| 11 |
commands: |
| 12 |
- ip route 198.51.100.0 255.255.255.0 198.51.101.3 name merged_route_3 |
| 13 |
- ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name merged_route_2 |
| 14 |
- ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name merged_route_1 multicast |
| 15 |
- ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name merged_v6 |
| 16 |
- ip route vrf ansible_temp_vrf 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name merged_vrf track 150 |
| 17 |
- ip route vrf ansible_temp_vrf 192.51.110.0 255.255.255.255 GigabitEthernet3 192.51.111.1 10 name partner_vrf |
| 18 |
- ipv6 route vrf ansible_temp_vrf 2001:DB8:0:4::/64 2001:DB8:0:4::2 tag 115 name merged_v6_vrf |
| 19 |
replaced: |
| 20 |
commands: |
| 21 |
- ip route vrf ansible_temp_vrf 192.0.2.0 255.255.255.0 192.0.2.1 tag 75 name replaced_vrf track 155 |
| 22 |
- ipv6 route vrf ansible_temp_vrf 2001:DB8:0:4::/64 2001:DB8:0:4::2 tag 115 name replaced_v6_vrf |
| 23 |
- ip route 198.51.100.0 255.255.255.0 198.51.101.1 175 tag 70 name replaced_route multicast |
| 24 |
- no ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3 |
| 25 |
- no ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2 |
| 26 |
- ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 110 name replaced_v6 |
| 27 |
overridden: |
| 28 |
commands: |
| 29 |
- ip route vrf ansible_temp_vrf 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name override_vrf track 150 |
| 30 |
- ipv6 route vrf ansible_temp_vrf 2001:DB8:0:4::/64 2001:DB8:0:4::2 tag 135 name override_v6_vrf |
| 31 |
- ip route 198.51.100.0 255.255.255.0 198.51.101.3 name override_route |
| 32 |
- no ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2 |
| 33 |
- no ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast |
| 34 |
- ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 175 name override_v6 |
| 35 |
rendered: |
| 36 |
commands: |
| 37 |
- ip route vrf ansible_temp_vrf 192.0.2.0 255.255.255.0 192.0.2.1 tag 50 name test_vrf track 150 |
| 38 |
- ipv6 route vrf ansible_temp_vrf 2001:DB8:0:4::/64 2001:DB8:0:4::2 tag 115 name test_v6_vrf |
| 39 |
- ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name route_1 multicast |
| 40 |
- ip route 198.51.100.0 255.255.255.0 198.51.101.2 30 name route_2 |
| 41 |
- ip route 198.51.100.0 255.255.255.0 198.51.101.3 name route_3 |
| 42 |
- ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:3::2 tag 105 name test_v6 |
| 43 |
gathered: |
| 44 |
config: |
| 45 |
- address_families: |
| 46 |
- afi: ipv4 |
| 47 |
routes: |
| 48 |
- dest: 192.0.2.0/24 |
| 49 |
next_hops: |
| 50 |
- forward_router_address: 192.0.2.1 |
| 51 |
name: test_vrf |
| 52 |
tag: 50 |
| 53 |
track: 150 |
| 54 |
- afi: ipv6 |
| 55 |
routes: |
| 56 |
- dest: 2001:DB8:0:4::/64 |
| 57 |
next_hops: |
| 58 |
- forward_router_address: 2001:DB8:0:4::2 |
| 59 |
name: test_v6_vrf |
| 60 |
tag: 115 |
| 61 |
vrf: ansible_temp_vrf |
| 62 |
- address_families: |
| 63 |
- afi: ipv6 |
| 64 |
routes: |
| 65 |
- dest: 2001:DB8:0:3::/64 |
| 66 |
next_hops: |
| 67 |
- forward_router_address: 2001:DB8:0:3::2 |
| 68 |
name: test_v6 |
| 69 |
tag: 105 |
| 70 |
- afi: ipv4 |
| 71 |
routes: |
| 72 |
- dest: 198.51.100.0/24 |
| 73 |
next_hops: |
| 74 |
- distance_metric: 110 |
| 75 |
forward_router_address: 198.51.101.1 |
| 76 |
multicast: true |
| 77 |
name: route_1 |
| 78 |
tag: 40 |
| 79 |
- distance_metric: 30 |
| 80 |
forward_router_address: 198.51.101.2 |
| 81 |
name: route_2 |
| 82 |
- forward_router_address: 198.51.101.3 |
| 83 |
name: route_3 |
| 84 |
parsed_data: |
| 85 |
- address_families: |
| 86 |
- afi: ipv4 |
| 87 |
routes: |
| 88 |
- dest: 198.51.100.0/24 |
| 89 |
next_hops: |
| 90 |
- distance_metric: 175 |
| 91 |
forward_router_address: 198.51.101.1 |
| 92 |
multicast: true |
| 93 |
name: replaced_route |
| 94 |
tag: 70 |
| 95 |
- dest: 192.168.1.0/24 |
| 96 |
next_hops: |
| 97 |
- forward_router_address: 10.0.0.1 |
| 98 |
interface: GigabitEthernet0/1.22 |
| 99 |
tag: 30 |
| 100 |
rtt: |
| 101 |
override_commands: |
| 102 |
- ip route vrf ansible_temp_vrf 192.0.2.0 255.255.255.0 192.0.2.12 tag 10 name new_rtt_vrf track 150 |
| 103 |
- no ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name rtt_route_1 multicast |
| 104 |
override_revert_commands: |
| 105 |
- ip route 198.51.100.0 255.255.255.0 198.51.101.1 110 tag 40 name rtt_route_1 multicast |