| 1 | --- |
| 2 | deleted: |
| 3 | commands: |
| 4 | - no ip access-list extended test_acl |
| 5 | - no ip access-list extended 110 |
| 6 | - no ipv6 access-list R1_TRAFFIC |
| 7 | deleted_afi: |
| 8 | commands: |
| 9 | - no ip access-list extended 110 |
| 10 | - no ip access-list extended 123 |
| 11 | - no ip access-list extended test_acl |
| 12 | deleted_all: |
| 13 | commands: |
| 14 | - no ip access-list extended test_acl |
| 15 | - no ip access-list extended 110 |
| 16 | - no ip access-list extended 123 |
| 17 | - no ipv6 access-list R1_TRAFFIC |
| 18 | merged: |
| 19 | commands: |
| 20 | - ip access-list standard std_acl |
| 21 | - 10 deny 192.0.2.0 0.0.0.255 |
| 22 | - ip access-list extended 110 |
| 23 | - 10 deny icmp 192.0.2.0 0.0.0.255 192.0.3.0 0.0.0.255 echo dscp ef ttl eq 10 |
| 24 | - ip access-list extended 123 |
| 25 | - 10 deny tcp 198.51.100.0 0.0.0.255 198.51.101.0 0.0.0.255 eq telnet ack tos 12 |
| 26 | - 20 deny tcp 192.0.3.0 0.0.0.255 192.0.4.0 0.0.0.255 eq www ack dscp ef ttl lt 20 |
| 27 | - ipv6 access-list R1_TRAFFIC |
| 28 | - deny tcp any eq www any eq telnet ack dscp af11 sequence 10 |
| 29 | replaced: |
| 30 | commands: |
| 31 | - ip access-list extended 110 |
| 32 | - no 10 deny icmp 192.0.2.0 0.0.0.255 192.0.3.0 0.0.0.255 echo dscp ef ttl eq 10 |
| 33 | - 10 deny tcp 192.0.2.0 0.0.0.255 192.0.3.0 0.0.0.255 eq www syn dscp ef ttl eq 10 |
| 34 | - ip access-list extended 123 |
| 35 | - no 20 deny tcp 192.0.3.0 0.0.0.255 192.0.4.0 0.0.0.255 eq www ack dscp ef ttl lt 20 |
| 36 | - ip access-list extended 150 |
| 37 | - 20 deny tcp 198.51.100.0 0.0.0.255 eq telnet 198.51.110.0 0.0.0.255 eq telnet syn dscp ef ttl eq 10 |
| 38 | - ipv6 access-list R1_TRAFFIC |
| 39 | - no deny tcp any eq www any eq telnet ack dscp af11 sequence 10 |
| 40 | - permit tcp host 2001:DB8:1234:ABCD::1 range telnet 26 2001:DB8:AB00::/40 ack fin sequence 190 |
| 41 | replaced_changetype: |
| 42 | commands: |
| 43 | - no ip access-list extended test_acl |
| 44 | - ip access-list standard test_acl |
| 45 | - 10 deny 198.51.100.0 0.0.0.255 |
| 46 | - ipv6 access-list R1_TRAFFIC |
| 47 | - no deny tcp any eq www any eq telnet ack dscp af11 sequence 10 |
| 48 | - permit tcp host 2001:DB8:1234:ABCD::1 range telnet 26 host 2001:DB8:1234:ABCD::2 ack fin sequence 10 |
| 49 | overridden: |
| 50 | commands: |
| 51 | - no ipv6 access-list R1_TRAFFIC |
| 52 | - no ip access-list extended test_acl |
| 53 | - ip access-list extended 110 |
| 54 | - no 10 deny icmp 192.0.2.0 0.0.0.255 192.0.3.0 0.0.0.255 echo dscp ef ttl eq 10 |
| 55 | - 10 deny tcp 198.51.100.0 0.0.0.255 eq telnet 198.51.110.0 0.0.0.255 eq www ack fin dscp ef ttl eq 10 |
| 56 | - ip access-list extended 123 |
| 57 | - no 20 deny tcp 192.0.3.0 0.0.0.255 192.0.4.0 0.0.0.255 eq www ack dscp ef ttl lt 20 |
| 58 | - ip access-list extended 150 |
| 59 | - 10 deny tcp 198.51.100.0 0.0.0.255 eq telnet 198.51.110.0 0.0.0.255 eq telnet syn dscp ef ttl eq 10 |
| 60 | - ipv6 access-list R2_TRAFFIC |
| 61 | - permit tcp host 2001:DB8:1234:ABCD::1 range telnet 26 host 2001:DB8:1234:ABCD::2 ack fin sequence 190 |
| 62 | |
| 63 | gathered: |
| 64 | config: |
| 65 | - acls: |
| 66 | - aces: |
| 67 | - destination: |
| 68 | address: 192.0.3.0 |
| 69 | wildcard_bits: 0.0.0.255 |
| 70 | dscp: ef |
| 71 | grant: deny |
| 72 | protocol: icmp |
| 73 | protocol_options: |
| 74 | icmp: |
| 75 | echo: true |
| 76 | sequence: 10 |
| 77 | source: |
| 78 | address: 192.0.2.0 |
| 79 | wildcard_bits: 0.0.0.255 |
| 80 | ttl: |
| 81 | eq: 10 |
| 82 | acl_type: extended |
| 83 | name: "110" |
| 84 | - aces: |
| 85 | - destination: |
| 86 | address: 198.51.101.0 |
| 87 | port_protocol: |
| 88 | eq: telnet |
| 89 | wildcard_bits: 0.0.0.255 |
| 90 | grant: deny |
| 91 | protocol: tcp |
| 92 | protocol_options: |
| 93 | tcp: |
| 94 | ack: true |
| 95 | sequence: 10 |
| 96 | source: |
| 97 | address: 198.51.100.0 |
| 98 | wildcard_bits: 0.0.0.255 |
| 99 | tos: |
| 100 | service_value: 12 |
| 101 | - destination: |
| 102 | address: 192.0.4.0 |
| 103 | port_protocol: |
| 104 | eq: www |
| 105 | wildcard_bits: 0.0.0.255 |
| 106 | dscp: ef |
| 107 | grant: deny |
| 108 | protocol: tcp |
| 109 | protocol_options: |
| 110 | tcp: |
| 111 | ack: true |
| 112 | sequence: 20 |
| 113 | source: |
| 114 | address: 192.0.3.0 |
| 115 | wildcard_bits: 0.0.0.255 |
| 116 | ttl: |
| 117 | lt: 20 |
| 118 | acl_type: extended |
| 119 | name: "123" |
| 120 | - aces: |
| 121 | - destination: |
| 122 | address: 192.0.2.2 |
| 123 | port_protocol: |
| 124 | eq: "9422" |
| 125 | wildcard_bits: 0.253.252.252 |
| 126 | grant: permit |
| 127 | protocol: tcp |
| 128 | protocol_options: |
| 129 | tcp: |
| 130 | ack: true |
| 131 | fin: true |
| 132 | sequence: 30 |
| 133 | source: |
| 134 | address: 192.0.2.1 |
| 135 | port_protocol: |
| 136 | range: |
| 137 | end: "telnet" |
| 138 | start: "22" |
| 139 | wildcard_bits: 0.251.252.252 |
| 140 | acl_type: extended |
| 141 | name: ACL_STANDARD_786 |
| 142 | - aces: |
| 143 | - destination: |
| 144 | address: 192.0.3.0 |
| 145 | port_protocol: |
| 146 | eq: www |
| 147 | wildcard_bits: 0.0.0.255 |
| 148 | grant: deny |
| 149 | option: |
| 150 | traceroute: true |
| 151 | protocol: tcp |
| 152 | protocol_options: |
| 153 | tcp: |
| 154 | fin: true |
| 155 | sequence: 10 |
| 156 | source: |
| 157 | address: 192.0.2.0 |
| 158 | wildcard_bits: 0.0.0.255 |
| 159 | ttl: |
| 160 | eq: 10 |
| 161 | acl_type: extended |
| 162 | name: test_acl |
| 163 | afi: ipv4 |
| 164 | - acls: |
| 165 | - aces: |
| 166 | - destination: |
| 167 | any: true |
| 168 | port_protocol: |
| 169 | eq: telnet |
| 170 | dscp: af11 |
| 171 | grant: deny |
| 172 | protocol: tcp |
| 173 | protocol_options: |
| 174 | tcp: |
| 175 | ack: true |
| 176 | sequence: 10 |
| 177 | source: |
| 178 | any: true |
| 179 | port_protocol: |
| 180 | eq: www |
| 181 | - sequence: 190 |
| 182 | grant: permit |
| 183 | protocol: tcp |
| 184 | protocol_options: |
| 185 | tcp: |
| 186 | ack: true |
| 187 | fin: true |
| 188 | source: |
| 189 | address: 2001:DB8:AB00::/42 |
| 190 | port_protocol: |
| 191 | range: |
| 192 | start: "22" |
| 193 | end: telnet |
| 194 | destination: |
| 195 | address: 2001:DB8:AB00::/40 |
| 196 | name: R1_TRAFFIC |
| 197 | afi: ipv6 |
| 198 | |
| 199 | parsed: |
| 200 | config: |
| 201 | - acls: |
| 202 | - aces: |
| 203 | - destination: |
| 204 | any: true |
| 205 | grant: permit |
| 206 | protocol: ip |
| 207 | sequence: 10 |
| 208 | source: |
| 209 | address: 10.40.150.0 |
| 210 | wildcard_bits: 0.0.0.255 |
| 211 | - destination: |
| 212 | address: 10.40.150.0 |
| 213 | wildcard_bits: 0.0.0.255 |
| 214 | grant: permit |
| 215 | protocol: ip |
| 216 | sequence: 20 |
| 217 | source: |
| 218 | any: true |
| 219 | acl_type: extended |
| 220 | name: "199" |
| 221 | - aces: |
| 222 | - grant: permit |
| 223 | sequence: 10 |
| 224 | source: |
| 225 | address: 10.182.250.0 |
| 226 | wildcard_bits: 0.0.0.255 |
| 227 | acl_type: standard |
| 228 | name: "42" |
| 229 | - aces: |
| 230 | - destination: |
| 231 | any: true |
| 232 | port_protocol: |
| 233 | eq: "22" |
| 234 | grant: permit |
| 235 | protocol: tcp |
| 236 | sequence: 10 |
| 237 | source: |
| 238 | address: 10.57.66.243 |
| 239 | wildcard_bits: 0.0.0.7 |
| 240 | - destination: |
| 241 | any: true |
| 242 | port_protocol: |
| 243 | eq: "22" |
| 244 | grant: permit |
| 245 | protocol: tcp |
| 246 | sequence: 20 |
| 247 | source: |
| 248 | host: 10.160.114.111 |
| 249 | - destination: |
| 250 | any: true |
| 251 | port_protocol: |
| 252 | eq: "22" |
| 253 | grant: permit |
| 254 | protocol: tcp |
| 255 | sequence: 30 |
| 256 | source: |
| 257 | host: 10.160.115.22 |
| 258 | - destination: |
| 259 | any: true |
| 260 | grant: deny |
| 261 | log: |
| 262 | set: true |
| 263 | protocol: ip |
| 264 | sequence: 40 |
| 265 | source: |
| 266 | any: true |
| 267 | acl_type: extended |
| 268 | name: NET-MGMT-VTY |
| 269 | - aces: |
| 270 | - destination: |
| 271 | any: true |
| 272 | grant: permit |
| 273 | protocol: ip |
| 274 | remarks: |
| 275 | - FIRST REMARK BEFORE LINE 10 |
| 276 | - "============" |
| 277 | - ALLOW HOST FROM BUILDING 10 |
| 278 | sequence: 10 |
| 279 | source: |
| 280 | host: 1.1.1.1 |
| 281 | - destination: |
| 282 | any: true |
| 283 | grant: permit |
| 284 | protocol: ip |
| 285 | remarks: |
| 286 | - FIRST REMARK BEFORE LINE 20 |
| 287 | - "============" |
| 288 | - ALLOW HOST FROM BUILDING 20 |
| 289 | sequence: 20 |
| 290 | source: |
| 291 | host: 2.2.2.2 |
| 292 | - destination: |
| 293 | any: true |
| 294 | grant: permit |
| 295 | protocol: ip |
| 296 | remarks: |
| 297 | - FIRST REMARK BEFORE LINE 30 |
| 298 | - "============" |
| 299 | - ALLOW NEW HOST FROM BUILDING 10 |
| 300 | sequence: 30 |
| 301 | source: |
| 302 | host: 3.3.3.3 |
| 303 | - remarks: |
| 304 | - FIRST REMARK AT END OF ACL |
| 305 | - SECOND REMARK AT END OF ACL |
| 306 | acl_type: extended |
| 307 | name: TEST |
| 308 | - aces: |
| 309 | - remarks: |
| 310 | - empty remark 1 |
| 311 | - empty remark 2 |
| 312 | - empty remark never ends |
| 313 | acl_type: extended |
| 314 | name: empty_ip_ex_acl |
| 315 | - aces: |
| 316 | - destination: |
| 317 | any: true |
| 318 | grant: permit |
| 319 | protocol: ip |
| 320 | remarks: |
| 321 | - I am a test ace |
| 322 | - I am right after the test ace |
| 323 | - I third the test ace |
| 324 | sequence: 100 |
| 325 | source: |
| 326 | host: 100.100.100.100 |
| 327 | - destination: |
| 328 | any: true |
| 329 | grant: permit |
| 330 | protocol: ip |
| 331 | remarks: |
| 332 | - I am the next test ace |
| 333 | - I am the next ace to the next ace |
| 334 | sequence: 110 |
| 335 | source: |
| 336 | host: 10.40.150.0 |
| 337 | - remarks: |
| 338 | - I am the peace ace |
| 339 | - Peace out |
| 340 | acl_type: extended |
| 341 | name: mytest |
| 342 | afi: ipv4 |
| 343 | - acls: |
| 344 | - aces: |
| 345 | - destination: |
| 346 | any: true |
| 347 | grant: permit |
| 348 | protocol: ipv6 |
| 349 | sequence: 10 |
| 350 | source: |
| 351 | address: 2001:ABAD:BEEF:1221::/64 |
| 352 | - destination: |
| 353 | host: 2001:ABAD:BEEF:1212::1 |
| 354 | port_protocol: |
| 355 | eq: www |
| 356 | grant: deny |
| 357 | protocol: tcp |
| 358 | sequence: 20 |
| 359 | source: |
| 360 | host: 2001:ABAD:BEEF:2345::1 |
| 361 | name: R1_TRAFFIC |
| 362 | - aces: |
| 363 | - remarks: |
| 364 | - empty remark 1 |
| 365 | sequence: 10 |
| 366 | - remarks: |
| 367 | - empty remark 2 |
| 368 | sequence: 20 |
| 369 | - remarks: |
| 370 | - empty remark never ends |
| 371 | sequence: 30 |
| 372 | name: empty_ipv6_acl |
| 373 | - aces: |
| 374 | - remarks: |
| 375 | - I am a ipv6 ace |
| 376 | sequence: 10 |
| 377 | - remarks: |
| 378 | - I am test |
| 379 | sequence: 20 |
| 380 | - destination: |
| 381 | any: true |
| 382 | grant: permit |
| 383 | protocol: tcp |
| 384 | sequence: 30 |
| 385 | source: |
| 386 | any: true |
| 387 | - destination: |
| 388 | any: true |
| 389 | grant: permit |
| 390 | protocol: udp |
| 391 | sequence: 40 |
| 392 | source: |
| 393 | any: true |
| 394 | - remarks: |
| 395 | - I am new set of ipv6 ace |
| 396 | sequence: 50 |
| 397 | - destination: |
| 398 | any: true |
| 399 | grant: permit |
| 400 | protocol: icmp |
| 401 | sequence: 60 |
| 402 | source: |
| 403 | any: true |
| 404 | name: ipv6_acl |
| 405 | afi: ipv6 |
| 406 | |
| 407 | rendered: |
| 408 | commands: |
| 409 | - ip access-list extended 110 |
| 410 | - 10 deny tcp 192.0.2.0 0.0.0.255 192.0.3.0 0.0.0.255 eq www syn dscp ef ttl eq 10 |
| 411 | - ip access-list extended 150 |
| 412 | - deny tcp 198.51.100.0 0.0.0.255 eq telnet 198.51.110.0 0.0.0.255 eq telnet syn dscp ef ttl eq 10 |
| 413 | |
| 414 | rtt_overriden: |
| 415 | commands: |
| 416 | - no ipv6 access-list R1_TRAFFIC |
| 417 | - no ip access-list extended test_acl |
| 418 | - ip access-list extended 110 |
| 419 | - no 10 deny icmp 192.0.2.0 0.0.0.255 192.0.3.0 0.0.0.255 echo dscp ef ttl eq 10 |
| 420 | - 10 deny tcp 198.51.100.0 0.0.0.255 eq telnet 198.51.110.0 0.0.0.255 eq www ack dscp ef ttl eq 10 |
| 421 | - ip access-list extended 123 |
| 422 | - no 10 deny tcp 198.51.100.0 0.0.0.255 198.51.101.0 0.0.0.255 eq telnet ack tos 12 |
| 423 | - no 20 deny tcp 192.0.3.0 0.0.0.255 192.0.4.0 0.0.0.255 eq www ack dscp ef ttl lt 20 |
| 424 | - deny tcp 198.51.100.0 0.0.0.255 198.51.101.0 0.0.0.255 eq telnet ack tos 12 |
| 425 | - ip access-list extended 150 |
| 426 | - deny tcp 198.51.100.0 0.0.0.255 eq telnet 198.51.110.0 0.0.0.255 eq telnet syn dscp ef ttl eq 10 |
| 427 | rtt: |
| 428 | commands: |
| 429 | - ip access-list extended 110 |
| 430 | - no 10 deny tcp 198.51.100.0 0.0.0.255 eq telnet 198.51.110.0 0.0.0.255 eq www ack dscp ef ttl eq 10 |
| 431 | - 10 deny icmp 192.0.2.0 0.0.0.255 192.0.3.0 0.0.0.255 echo dscp ef ttl eq 10 |
| 432 | - ip access-list extended 123 |
| 433 | - 20 deny tcp 192.0.3.0 0.0.0.255 192.0.4.0 0.0.0.255 eq www ack dscp ef ttl lt 20 |
| 434 | - ip access-list extended test_acl |
| 435 | - 10 deny tcp 192.0.2.0 0.0.0.255 192.0.3.0 0.0.0.255 eq www fin option traceroute ttl eq 10 |
| 436 | - no ip access-list extended 150 |
| 437 | - ipv6 access-list R1_TRAFFIC |
| 438 | - deny tcp any eq www any eq telnet ack dscp af11 sequence 10 |
| 439 | remarks_check: |
| 440 | commands: |
| 441 | - ip access-list extended TEST |
| 442 | - 10 remark FIRST REMARK BEFORE SEQUENCE 10 |
| 443 | - 10 remark ============ |
| 444 | - 10 remark REMARKS FOR SEQUENCE 10 NO FOLLOWING ACE |
| 445 | - 20 remark FIRST REMARK BEFORE SEQUENCE 20 |
| 446 | - 20 remark ============ |
| 447 | - 20 remark ALLOW HOST FROM SEQUENCE 20 |
| 448 | - 20 permit ip host 1.1.1.1 any |
| 449 | - 30 remark FIRST REMARK BEFORE SEQUENCE 30 |
| 450 | - 30 remark ============ |
| 451 | - 30 remark ALLOW HOST FROM SEQUENCE 30 |
| 452 | - 30 permit ip host 2.2.2.2 any |
| 453 | - 40 remark FIRST REMARK BEFORE SEQUENCE 40 |
| 454 | - 40 remark ============ |
| 455 | - 40 remark ALLOW NEW HOST FROM SEQUENCE 40 |
| 456 | - 40 permit ip host 3.3.3.3 any |
| 457 | - remark Remark not specific to sequence |
| 458 | - remark ============ |
| 459 | - remark End Remarks |
| 460 | before: |
| 461 | - acls: |
| 462 | - aces: |
| 463 | - destination: |
| 464 | address: 192.0.3.0 |
| 465 | wildcard_bits: 0.0.0.255 |
| 466 | dscp: ef |
| 467 | grant: deny |
| 468 | protocol: icmp |
| 469 | protocol_options: |
| 470 | icmp: |
| 471 | echo: true |
| 472 | sequence: 10 |
| 473 | source: |
| 474 | address: 192.0.2.0 |
| 475 | wildcard_bits: 0.0.0.255 |
| 476 | ttl: |
| 477 | eq: 10 |
| 478 | acl_type: extended |
| 479 | name: "110" |
| 480 | - aces: |
| 481 | - destination: |
| 482 | address: 198.51.101.0 |
| 483 | port_protocol: |
| 484 | eq: telnet |
| 485 | wildcard_bits: 0.0.0.255 |
| 486 | grant: deny |
| 487 | protocol: tcp |
| 488 | protocol_options: |
| 489 | tcp: |
| 490 | ack: true |
| 491 | sequence: 10 |
| 492 | source: |
| 493 | address: 198.51.100.0 |
| 494 | wildcard_bits: 0.0.0.255 |
| 495 | tos: |
| 496 | service_value: 12 |
| 497 | - destination: |
| 498 | address: 192.0.4.0 |
| 499 | port_protocol: |
| 500 | eq: www |
| 501 | wildcard_bits: 0.0.0.255 |
| 502 | dscp: ef |
| 503 | grant: deny |
| 504 | protocol: tcp |
| 505 | protocol_options: |
| 506 | tcp: |
| 507 | ack: true |
| 508 | sequence: 20 |
| 509 | source: |
| 510 | address: 192.0.3.0 |
| 511 | wildcard_bits: 0.0.0.255 |
| 512 | ttl: |
| 513 | lt: 20 |
| 514 | acl_type: extended |
| 515 | name: "123" |
| 516 | - aces: |
| 517 | - destination: |
| 518 | address: 192.0.3.0 |
| 519 | port_protocol: |
| 520 | eq: www |
| 521 | wildcard_bits: 0.0.0.255 |
| 522 | grant: deny |
| 523 | option: |
| 524 | traceroute: true |
| 525 | protocol: tcp |
| 526 | protocol_options: |
| 527 | tcp: |
| 528 | fin: true |
| 529 | sequence: 10 |
| 530 | source: |
| 531 | address: 192.0.2.0 |
| 532 | wildcard_bits: 0.0.0.255 |
| 533 | ttl: |
| 534 | eq: 10 |
| 535 | acl_type: extended |
| 536 | name: test_acl |
| 537 | afi: ipv4 |
| 538 | - acls: |
| 539 | - aces: |
| 540 | - destination: |
| 541 | any: true |
| 542 | port_protocol: |
| 543 | eq: telnet |
| 544 | dscp: af11 |
| 545 | grant: deny |
| 546 | protocol: tcp |
| 547 | protocol_options: |
| 548 | tcp: |
| 549 | ack: true |
| 550 | sequence: 10 |
| 551 | source: |
| 552 | any: true |
| 553 | port_protocol: |
| 554 | eq: www |
| 555 | name: R1_TRAFFIC |
| 556 | afi: ipv6 |
| 557 | after: |
| 558 | - acls: |
| 559 | - aces: |
| 560 | - destination: |
| 561 | address: 192.0.3.0 |
| 562 | wildcard_bits: 0.0.0.255 |
| 563 | dscp: ef |
| 564 | grant: deny |
| 565 | protocol: icmp |
| 566 | protocol_options: |
| 567 | icmp: |
| 568 | echo: true |
| 569 | sequence: 10 |
| 570 | source: |
| 571 | address: 192.0.2.0 |
| 572 | wildcard_bits: 0.0.0.255 |
| 573 | ttl: |
| 574 | eq: 10 |
| 575 | acl_type: extended |
| 576 | name: "110" |
| 577 | - aces: |
| 578 | - destination: |
| 579 | address: 198.51.101.0 |
| 580 | port_protocol: |
| 581 | eq: telnet |
| 582 | wildcard_bits: 0.0.0.255 |
| 583 | grant: deny |
| 584 | protocol: tcp |
| 585 | protocol_options: |
| 586 | tcp: |
| 587 | ack: true |
| 588 | sequence: 10 |
| 589 | source: |
| 590 | address: 198.51.100.0 |
| 591 | wildcard_bits: 0.0.0.255 |
| 592 | tos: |
| 593 | service_value: 12 |
| 594 | - destination: |
| 595 | address: 192.0.4.0 |
| 596 | port_protocol: |
| 597 | eq: www |
| 598 | wildcard_bits: 0.0.0.255 |
| 599 | dscp: ef |
| 600 | grant: deny |
| 601 | protocol: tcp |
| 602 | protocol_options: |
| 603 | tcp: |
| 604 | ack: true |
| 605 | sequence: 20 |
| 606 | source: |
| 607 | address: 192.0.3.0 |
| 608 | wildcard_bits: 0.0.0.255 |
| 609 | ttl: |
| 610 | lt: 20 |
| 611 | acl_type: extended |
| 612 | name: "123" |
| 613 | - aces: |
| 614 | - destination: |
| 615 | any: true |
| 616 | grant: permit |
| 617 | protocol: ip |
| 618 | remarks: |
| 619 | - FIRST REMARK BEFORE SEQUENCE 20 |
| 620 | - ============ |
| 621 | - ALLOW HOST FROM SEQUENCE 20 |
| 622 | sequence: 20 |
| 623 | source: |
| 624 | host: 1.1.1.1 |
| 625 | - destination: |
| 626 | any: true |
| 627 | grant: permit |
| 628 | protocol: ip |
| 629 | remarks: |
| 630 | - FIRST REMARK BEFORE SEQUENCE 30 |
| 631 | - ============ |
| 632 | - ALLOW HOST FROM SEQUENCE 30 |
| 633 | sequence: 30 |
| 634 | source: |
| 635 | host: 2.2.2.2 |
| 636 | - destination: |
| 637 | any: true |
| 638 | grant: permit |
| 639 | protocol: ip |
| 640 | remarks: |
| 641 | - FIRST REMARK BEFORE SEQUENCE 40 |
| 642 | - ============ |
| 643 | - ALLOW NEW HOST FROM SEQUENCE 40 |
| 644 | sequence: 40 |
| 645 | source: |
| 646 | host: 3.3.3.3 |
| 647 | - remarks: |
| 648 | - FIRST REMARK BEFORE SEQUENCE 10 |
| 649 | - ============ |
| 650 | - REMARKS FOR SEQUENCE 10 NO FOLLOWING ACE |
| 651 | sequence: 10 |
| 652 | - remarks: |
| 653 | - Remark not specific to sequence |
| 654 | - ============ |
| 655 | - End Remarks |
| 656 | acl_type: extended |
| 657 | name: TEST |
| 658 | - aces: |
| 659 | - destination: |
| 660 | address: 192.0.3.0 |
| 661 | port_protocol: |
| 662 | eq: www |
| 663 | wildcard_bits: 0.0.0.255 |
| 664 | grant: deny |
| 665 | option: |
| 666 | traceroute: true |
| 667 | protocol: tcp |
| 668 | protocol_options: |
| 669 | tcp: |
| 670 | fin: true |
| 671 | sequence: 10 |
| 672 | source: |
| 673 | address: 192.0.2.0 |
| 674 | wildcard_bits: 0.0.0.255 |
| 675 | ttl: |
| 676 | eq: 10 |
| 677 | acl_type: extended |
| 678 | name: test_acl |
| 679 | afi: ipv4 |
| 680 | - acls: |
| 681 | - aces: |
| 682 | - destination: |
| 683 | any: true |
| 684 | port_protocol: |
| 685 | eq: telnet |
| 686 | dscp: af11 |
| 687 | grant: deny |
| 688 | protocol: tcp |
| 689 | protocol_options: |
| 690 | tcp: |
| 691 | ack: true |
| 692 | sequence: 10 |
| 693 | source: |
| 694 | any: true |
| 695 | port_protocol: |
| 696 | eq: www |
| 697 | name: R1_TRAFFIC |
| 698 | afi: ipv6 |
| 699 | remarks_check_override: |
| 700 | commands: |
| 701 | - no ipv6 access-list R1_TRAFFIC |
| 702 | - ip access-list extended TEST |
| 703 | - no 10 |
| 704 | - no 20 permit ip host 1.1.1.1 any |
| 705 | - no 30 remark |
| 706 | - no remark |
| 707 | - 10 remark FIRST REMARK BEFORE SEQUENCE 10 |
| 708 | - 10 remark ============ |
| 709 | - 10 remark REMARKS FOR SEQUENCE 10 NO FOLLOWING ACE |
| 710 | - 10 permit ip host 1.1.1.1 any |
| 711 | - 20 remark FIRST REMARK BEFORE SEQUENCE 20 |
| 712 | - 20 remark ============ |
| 713 | - 20 remark ALLOW HOST FROM SEQUENCE 20 |
| 714 | - 20 permit ip host 192.168.0.1 any |
| 715 | - 30 remark FIRST REMARK BEFORE SEQUENCE 30 |
| 716 | - 30 remark ============ |
| 717 | - 30 remark ALLOW HOST FROM SEQUENCE 30 updated |
| 718 | - remark Remark not specific to sequence |
| 719 | - remark ============ |
| 720 | - remark End Remarks updated |
| 721 | - remark 04j |
| 722 | - no ip access-list extended 110 |
| 723 | - no ip access-list extended 123 |
| 724 | - no ip access-list extended test_acl |