| 1 |
--- |
| 2 |
merged: |
| 3 |
before: {} |
| 4 |
commands: |
| 5 |
- route-map test_2 deny 10 |
| 6 |
- match security-group source tag 10 20 |
| 7 |
- match local-preference 105 55 |
| 8 |
- match mpls-label |
| 9 |
- match ipv6 next-hop prefix-list test_new |
| 10 |
- match ipv6 route-source route_src_acl |
| 11 |
- match ipv6 address test_ip_acl |
| 12 |
- set extcommunity cost pre-bestpath 10 100 |
| 13 |
- set ip df 1 |
| 14 |
- set ip next-hop recursive global 198.51.110.1 |
| 15 |
- set ip next-hop verify-availability 198.51.111.1 100 track 10 |
| 16 |
- set ip precedence critical |
| 17 |
- set ip address prefix-list 192.0.2.1 |
| 18 |
- set automatic-tag |
| 19 |
- set aigp-metric 100 |
| 20 |
- set as-path prepend 65111 65111 |
| 21 |
- route-map test_1 deny 20 |
| 22 |
- continue 100 |
| 23 |
- match track 105 |
| 24 |
- match tag list test_match_tag |
| 25 |
- match ipv6 address test_acl_20 |
| 26 |
- match route-type level-1 |
| 27 |
- match as-path 100 200 |
| 28 |
- match additional-paths advertise-set all group-best |
| 29 |
- route-map test_1 deny 10 |
| 30 |
- description this is test route |
| 31 |
- set as-path prepend 64512 |
| 32 |
- set community 4259840100 4259840200 |
| 33 |
- match community test_comm |
| 34 |
- match security-group source tag 10 20 |
| 35 |
- match ip next-hop prefix-list test_1_new test_2_new |
| 36 |
- match ip route-source 10 |
| 37 |
- match local-preference 100 50 |
| 38 |
- match mpls-label |
| 39 |
|
| 40 |
after: |
| 41 |
- entries: |
| 42 |
- action: deny |
| 43 |
description: this is test route |
| 44 |
match: |
| 45 |
community: |
| 46 |
name: |
| 47 |
- test_comm |
| 48 |
ip: |
| 49 |
next_hop: |
| 50 |
prefix_lists: |
| 51 |
- test_1_new |
| 52 |
- test_2_new |
| 53 |
route_source: |
| 54 |
acls: |
| 55 |
- "10" |
| 56 |
local_preference: |
| 57 |
value: |
| 58 |
- "100" |
| 59 |
- "50" |
| 60 |
mpls_label: true |
| 61 |
security_group: |
| 62 |
source: |
| 63 |
- 10 |
| 64 |
- 20 |
| 65 |
sequence: 10 |
| 66 |
set: |
| 67 |
as_path: |
| 68 |
prepend: |
| 69 |
as_number: |
| 70 |
- "64512" |
| 71 |
community: |
| 72 |
number: 4259840100 4259840200 |
| 73 |
- action: deny |
| 74 |
continue_entry: |
| 75 |
entry_sequence: 100 |
| 76 |
match: |
| 77 |
additional_paths: |
| 78 |
all: true |
| 79 |
group_best: true |
| 80 |
as_path: |
| 81 |
acls: |
| 82 |
- 100 |
| 83 |
- 200 |
| 84 |
ipv6: |
| 85 |
address: |
| 86 |
acl: test_acl_20 |
| 87 |
route_type: |
| 88 |
external: |
| 89 |
set: true |
| 90 |
level_1: true |
| 91 |
nssa_external: |
| 92 |
set: true |
| 93 |
tag: |
| 94 |
tag_list: |
| 95 |
- test_match_tag |
| 96 |
track: 105 |
| 97 |
sequence: 20 |
| 98 |
route_map: test_1 |
| 99 |
- entries: |
| 100 |
- action: deny |
| 101 |
match: |
| 102 |
ipv6: |
| 103 |
address: |
| 104 |
acl: test_ip_acl |
| 105 |
next_hop: |
| 106 |
prefix_list: test_new |
| 107 |
route_source: |
| 108 |
acl: route_src_acl |
| 109 |
local_preference: |
| 110 |
value: |
| 111 |
- "105" |
| 112 |
- "55" |
| 113 |
mpls_label: true |
| 114 |
security_group: |
| 115 |
source: |
| 116 |
- 10 |
| 117 |
- 20 |
| 118 |
sequence: 10 |
| 119 |
set: |
| 120 |
aigp_metric: |
| 121 |
value: 100 |
| 122 |
as_path: |
| 123 |
prepend: |
| 124 |
as_number: |
| 125 |
- "65111" |
| 126 |
- "65111" |
| 127 |
automatic_tag: true |
| 128 |
extcommunity: |
| 129 |
cost: |
| 130 |
cost_value: 100 |
| 131 |
id: "10" |
| 132 |
pre_bestpath: true |
| 133 |
ip: |
| 134 |
address: 192.0.2.1 |
| 135 |
df: 1 |
| 136 |
next_hop: |
| 137 |
recursive: |
| 138 |
address: 198.51.110.1 |
| 139 |
global_route: true |
| 140 |
verify_availability: |
| 141 |
address: 198.51.111.1 |
| 142 |
sequence: 100 |
| 143 |
track: 10 |
| 144 |
precedence: |
| 145 |
critical: true |
| 146 |
route_map: test_2 |
| 147 |
|
| 148 |
overridden: |
| 149 |
commands: |
| 150 |
- no route-map test_2 |
| 151 |
- route-map test_override deny 10 |
| 152 |
- match security-group source tag 15 20 |
| 153 |
- match local-preference 105 110 |
| 154 |
- match mpls-label |
| 155 |
- match ipv6 next-hop prefix-list test_new |
| 156 |
- match ipv6 route-source route_src_acl |
| 157 |
- match ipv6 address test_acl |
| 158 |
- set extcommunity cost pre-bestpath 10 100 |
| 159 |
- set ip df 1 |
| 160 |
- set ip next-hop recursive global 198.110.51.1 |
| 161 |
- set ip next-hop verify-availability 198.110.51.2 100 track 10 |
| 162 |
- set ip precedence critical |
| 163 |
- set ip address prefix-list 192.0.2.1 |
| 164 |
- set automatic-tag |
| 165 |
- set aigp-metric 100 |
| 166 |
- set as-path prepend last-as 2 |
| 167 |
- route-map test_1 deny 10 |
| 168 |
- no description |
| 169 |
- description this is override route |
| 170 |
- match ip flowspec dest-pfx test_acl_1 test_acl_2 |
| 171 |
- no match ip next-hop prefix-list test_1_new test_2_new |
| 172 |
- match ip next-hop 10 test1_acl |
| 173 |
- no match ip route-source 10 |
| 174 |
- match metric external 10 |
| 175 |
- match length 10 100 |
| 176 |
- no match local-preference 100 50 |
| 177 |
- set extcommunity vpn-distinguisher 192.0.2.1:12 additive |
| 178 |
- set metric 100 +100 10 20 30 |
| 179 |
- set as-path prepend 64512 64512 |
| 180 |
- no match community test_comm |
| 181 |
- match community test_comm_overridden |
| 182 |
- no set community 4259840100 4259840200 |
| 183 |
- set community gshut internet local-as no-advertise no-export additive |
| 184 |
- no route-map test_1 deny 20 |
| 185 |
|
| 186 |
after: |
| 187 |
- entries: |
| 188 |
- action: deny |
| 189 |
description: this is override route |
| 190 |
match: |
| 191 |
community: |
| 192 |
name: |
| 193 |
- test_comm_overridden |
| 194 |
ip: |
| 195 |
flowspec: |
| 196 |
acls: |
| 197 |
- test_acl_1 |
| 198 |
- test_acl_2 |
| 199 |
dest_pfx: true |
| 200 |
next_hop: |
| 201 |
acls: |
| 202 |
- "10" |
| 203 |
- "test1_acl" |
| 204 |
length: |
| 205 |
maximum: 100 |
| 206 |
minimum: 10 |
| 207 |
metric: |
| 208 |
external: true |
| 209 |
value: 10 |
| 210 |
mpls_label: true |
| 211 |
security_group: |
| 212 |
source: |
| 213 |
- 10 |
| 214 |
- 20 |
| 215 |
sequence: 10 |
| 216 |
set: |
| 217 |
extcommunity: |
| 218 |
vpn_distinguisher: |
| 219 |
additive: true |
| 220 |
address: "192.0.2.1:12" |
| 221 |
as_path: |
| 222 |
prepend: |
| 223 |
as_number: |
| 224 |
- "64512" |
| 225 |
- "64512" |
| 226 |
community: |
| 227 |
additive: true |
| 228 |
internet: true |
| 229 |
gshut: true |
| 230 |
no_export: true |
| 231 |
no_advertise: true |
| 232 |
local_as: true |
| 233 |
metric: |
| 234 |
deviation: plus |
| 235 |
eigrp_delay: 100 |
| 236 |
metric_bandwidth: 20 |
| 237 |
metric_reliability: 10 |
| 238 |
metric_value: 100 |
| 239 |
mtu: 30 |
| 240 |
route_map: test_1 |
| 241 |
- entries: |
| 242 |
- action: deny |
| 243 |
match: |
| 244 |
ipv6: |
| 245 |
address: |
| 246 |
acl: test_acl |
| 247 |
next_hop: |
| 248 |
prefix_list: test_new |
| 249 |
route_source: |
| 250 |
acl: route_src_acl |
| 251 |
local_preference: |
| 252 |
value: |
| 253 |
- "105" |
| 254 |
- "110" |
| 255 |
mpls_label: true |
| 256 |
security_group: |
| 257 |
source: |
| 258 |
- 15 |
| 259 |
- 20 |
| 260 |
sequence: 10 |
| 261 |
set: |
| 262 |
aigp_metric: |
| 263 |
value: 100 |
| 264 |
as_path: |
| 265 |
prepend: |
| 266 |
last_as: 2 |
| 267 |
automatic_tag: true |
| 268 |
extcommunity: |
| 269 |
cost: |
| 270 |
cost_value: 100 |
| 271 |
id: "10" |
| 272 |
pre_bestpath: true |
| 273 |
ip: |
| 274 |
address: "192.0.2.1" |
| 275 |
df: 1 |
| 276 |
next_hop: |
| 277 |
recursive: |
| 278 |
address: "198.110.51.1" |
| 279 |
global_route: true |
| 280 |
verify_availability: |
| 281 |
address: "198.110.51.2" |
| 282 |
sequence: 100 |
| 283 |
track: 10 |
| 284 |
precedence: |
| 285 |
critical: true |
| 286 |
route_map: test_override |
| 287 |
|
| 288 |
replaced: |
| 289 |
commands: |
| 290 |
- route-map test_replaced deny 10 |
| 291 |
- match security-group source tag 15 20 |
| 292 |
- match local-preference 105 110 |
| 293 |
- match mpls-label |
| 294 |
- match ipv6 next-hop prefix-list test_new |
| 295 |
- match ipv6 route-source route_src_acl |
| 296 |
- match ipv6 address test_acl |
| 297 |
- set extcommunity cost pre-bestpath 10 100 |
| 298 |
- set ip df 1 |
| 299 |
- set ip next-hop recursive global 198.110.51.1 |
| 300 |
- set ip next-hop verify-availability 198.110.51.2 100 track 10 |
| 301 |
- set ip precedence critical |
| 302 |
- set ip address prefix-list 192.0.2.1 |
| 303 |
- set automatic-tag |
| 304 |
- set aigp-metric 100 |
| 305 |
- set as-path prepend 65111 65111 |
| 306 |
- route-map test_1 deny 10 |
| 307 |
- no description |
| 308 |
- description this is replaced route |
| 309 |
- match ip flowspec dest-pfx test_acl_1 test_acl_2 |
| 310 |
- no match ip next-hop prefix-list test_1_new test_2_new |
| 311 |
- match ip next-hop 10 test1_acl |
| 312 |
- no match ip route-source 10 |
| 313 |
- match metric external 10 |
| 314 |
- match length 10 100 |
| 315 |
- no match local-preference 100 50 |
| 316 |
- set extcommunity vpn-distinguisher 192.0.2.1:12 additive |
| 317 |
- set as-path prepend 64512 64512 |
| 318 |
- no match community test_comm |
| 319 |
- match community test_comm_replaced |
| 320 |
- no set community 4259840100 4259840200 |
| 321 |
- set community 4259840300 |
| 322 |
- set metric 100 +100 10 20 30 |
| 323 |
- no route-map test_1 deny 20 |
| 324 |
|
| 325 |
after: |
| 326 |
- entries: |
| 327 |
- action: deny |
| 328 |
description: this is replaced route |
| 329 |
match: |
| 330 |
community: |
| 331 |
name: |
| 332 |
- test_comm_replaced |
| 333 |
ip: |
| 334 |
flowspec: |
| 335 |
acls: |
| 336 |
- test_acl_1 |
| 337 |
- test_acl_2 |
| 338 |
dest_pfx: true |
| 339 |
next_hop: |
| 340 |
acls: |
| 341 |
- "10" |
| 342 |
- test1_acl |
| 343 |
length: |
| 344 |
maximum: 100 |
| 345 |
minimum: 10 |
| 346 |
metric: |
| 347 |
external: true |
| 348 |
value: 10 |
| 349 |
mpls_label: true |
| 350 |
security_group: |
| 351 |
source: |
| 352 |
- 10 |
| 353 |
- 20 |
| 354 |
sequence: 10 |
| 355 |
set: |
| 356 |
as_path: |
| 357 |
prepend: |
| 358 |
as_number: |
| 359 |
- "64512" |
| 360 |
- "64512" |
| 361 |
community: |
| 362 |
number: "4259840300" |
| 363 |
extcommunity: |
| 364 |
vpn_distinguisher: |
| 365 |
additive: true |
| 366 |
address: 192.0.2.1:12 |
| 367 |
metric: |
| 368 |
deviation: plus |
| 369 |
eigrp_delay: 100 |
| 370 |
metric_bandwidth: 20 |
| 371 |
metric_reliability: 10 |
| 372 |
metric_value: 100 |
| 373 |
mtu: 30 |
| 374 |
route_map: test_1 |
| 375 |
- entries: |
| 376 |
- action: deny |
| 377 |
match: |
| 378 |
ipv6: |
| 379 |
address: |
| 380 |
acl: test_ip_acl |
| 381 |
next_hop: |
| 382 |
prefix_list: test_new |
| 383 |
route_source: |
| 384 |
acl: route_src_acl |
| 385 |
local_preference: |
| 386 |
value: |
| 387 |
- "105" |
| 388 |
- "55" |
| 389 |
mpls_label: true |
| 390 |
security_group: |
| 391 |
source: |
| 392 |
- 10 |
| 393 |
- 20 |
| 394 |
sequence: 10 |
| 395 |
set: |
| 396 |
aigp_metric: |
| 397 |
value: 100 |
| 398 |
as_path: |
| 399 |
prepend: |
| 400 |
as_number: |
| 401 |
- "65111" |
| 402 |
- "65111" |
| 403 |
automatic_tag: true |
| 404 |
extcommunity: |
| 405 |
cost: |
| 406 |
cost_value: 100 |
| 407 |
id: "10" |
| 408 |
pre_bestpath: true |
| 409 |
ip: |
| 410 |
address: 192.0.2.1 |
| 411 |
df: 1 |
| 412 |
next_hop: |
| 413 |
recursive: |
| 414 |
address: 198.51.110.1 |
| 415 |
global_route: true |
| 416 |
verify_availability: |
| 417 |
address: 198.51.111.1 |
| 418 |
sequence: 100 |
| 419 |
track: 10 |
| 420 |
precedence: |
| 421 |
critical: true |
| 422 |
route_map: test_2 |
| 423 |
- entries: |
| 424 |
- action: deny |
| 425 |
match: |
| 426 |
ipv6: |
| 427 |
address: |
| 428 |
acl: test_acl |
| 429 |
next_hop: |
| 430 |
prefix_list: test_new |
| 431 |
route_source: |
| 432 |
acl: route_src_acl |
| 433 |
local_preference: |
| 434 |
value: |
| 435 |
- "105" |
| 436 |
- "110" |
| 437 |
mpls_label: true |
| 438 |
security_group: |
| 439 |
source: |
| 440 |
- 15 |
| 441 |
- 20 |
| 442 |
sequence: 10 |
| 443 |
set: |
| 444 |
aigp_metric: |
| 445 |
value: 100 |
| 446 |
as_path: |
| 447 |
prepend: |
| 448 |
as_number: |
| 449 |
- "65111" |
| 450 |
- "65111" |
| 451 |
automatic_tag: true |
| 452 |
extcommunity: |
| 453 |
cost: |
| 454 |
cost_value: 100 |
| 455 |
id: "10" |
| 456 |
pre_bestpath: true |
| 457 |
ip: |
| 458 |
address: 192.0.2.1 |
| 459 |
df: 1 |
| 460 |
next_hop: |
| 461 |
recursive: |
| 462 |
address: 198.110.51.1 |
| 463 |
global_route: true |
| 464 |
verify_availability: |
| 465 |
address: 198.110.51.2 |
| 466 |
sequence: 100 |
| 467 |
track: 10 |
| 468 |
precedence: |
| 469 |
critical: true |
| 470 |
route_map: test_replaced |
| 471 |
|
| 472 |
deleted: |
| 473 |
commands: |
| 474 |
- no route-map test_1 |
| 475 |
|
| 476 |
deleted_all: |
| 477 |
commands: |
| 478 |
- no route-map test_1 |
| 479 |
- no route-map test_2 |
| 480 |
|
| 481 |
after: |
| 482 |
as_number: "65000" |
| 483 |
|
| 484 |
parsed: |
| 485 |
config: |
| 486 |
- entries: |
| 487 |
- action: deny |
| 488 |
description: this is test route |
| 489 |
match: |
| 490 |
community: |
| 491 |
name: |
| 492 |
- test_comm |
| 493 |
ip: |
| 494 |
next_hop: |
| 495 |
prefix_lists: |
| 496 |
- test_1_new |
| 497 |
- test_2_new |
| 498 |
route_source: |
| 499 |
acls: |
| 500 |
- "10" |
| 501 |
local_preference: |
| 502 |
value: |
| 503 |
- "100" |
| 504 |
- "50" |
| 505 |
mpls_label: true |
| 506 |
security_group: |
| 507 |
source: |
| 508 |
- 10 |
| 509 |
- 20 |
| 510 |
sequence: 10 |
| 511 |
set: |
| 512 |
as_path: |
| 513 |
prepend: |
| 514 |
as_number: |
| 515 |
- "64512" |
| 516 |
community: |
| 517 |
number: "65000:100 65000:200" |
| 518 |
- action: deny |
| 519 |
continue_entry: |
| 520 |
entry_sequence: 100 |
| 521 |
match: |
| 522 |
additional_paths: |
| 523 |
all: true |
| 524 |
group_best: true |
| 525 |
as_path: |
| 526 |
acls: |
| 527 |
- 100 |
| 528 |
- 200 |
| 529 |
ipv6: |
| 530 |
address: |
| 531 |
acl: test_acl_20 |
| 532 |
route_type: |
| 533 |
external: |
| 534 |
set: true |
| 535 |
level_1: true |
| 536 |
nssa_external: |
| 537 |
set: true |
| 538 |
tag: |
| 539 |
tag_list: |
| 540 |
- test_match_tag |
| 541 |
track: 105 |
| 542 |
sequence: 20 |
| 543 |
route_map: test_1 |
| 544 |
- entries: |
| 545 |
- action: deny |
| 546 |
match: |
| 547 |
ipv6: |
| 548 |
address: |
| 549 |
acl: test_ip_acl |
| 550 |
next_hop: |
| 551 |
prefix_list: test_new |
| 552 |
route_source: |
| 553 |
acl: route_src_acl |
| 554 |
local_preference: |
| 555 |
value: |
| 556 |
- "105" |
| 557 |
- "55" |
| 558 |
mpls_label: true |
| 559 |
security_group: |
| 560 |
source: |
| 561 |
- 10 |
| 562 |
- 20 |
| 563 |
sequence: 10 |
| 564 |
set: |
| 565 |
aigp_metric: |
| 566 |
value: 100 |
| 567 |
as_path: |
| 568 |
prepend: |
| 569 |
as_number: |
| 570 |
- "65111" |
| 571 |
- "65111" |
| 572 |
automatic_tag: true |
| 573 |
extcommunity: |
| 574 |
cost: |
| 575 |
cost_value: 100 |
| 576 |
id: "10" |
| 577 |
pre_bestpath: true |
| 578 |
ip: |
| 579 |
address: 192.0.2.1 |
| 580 |
df: 1 |
| 581 |
next_hop: |
| 582 |
recursive: |
| 583 |
address: 198.51.110.1 |
| 584 |
global_route: true |
| 585 |
verify_availability: |
| 586 |
address: 198.51.111.1 |
| 587 |
sequence: 100 |
| 588 |
track: 10 |
| 589 |
precedence: |
| 590 |
critical: true |
| 591 |
route_map: test_2 |