| 1 |
--- |
| 2 |
merged: |
| 3 |
before: [] |
| 4 |
commands: |
| 5 |
- "route-map rmap1 permit 10" |
| 6 |
- "match as-number 65564" |
| 7 |
- "match as-path Allow40" |
| 8 |
- "match ip address acl_1" |
| 9 |
- "description rmap1-10-permit" |
| 10 |
- "route-map rmap1 deny 20" |
| 11 |
- "match community BGPCommunity1 BGPCommunity2" |
| 12 |
- "match ip address prefix-list AllowPrefix1 AllowPrefix2" |
| 13 |
- "description rmap1-20-deny" |
| 14 |
- "set dampening 30 1500 10000 120" |
| 15 |
- "route-map rmap2 permit 20" |
| 16 |
- "match interface Ethernet1/1" |
| 17 |
- "match ipv6 address prefix-list AllowIPv6Prefix" |
| 18 |
- "set as-path prepend 65563 65568 65569" |
| 19 |
- "description rmap2-20-permit" |
| 20 |
- "continue 40" |
| 21 |
- "set comm-list BGPCommunity delete" |
| 22 |
- "route-map rmap2 deny 40" |
| 23 |
- "match ip multicast source 203.0.113.0/24 group-range 239.0.0.1 to 239.255.255.255 rp 192.0.2.0/24 rp-type ASM" |
| 24 |
- "match route-type level-1 level-2" |
| 25 |
- "match tag 2" |
| 26 |
- "description rmap2-40-deny" |
| 27 |
after: |
| 28 |
- entries: |
| 29 |
- action: permit |
| 30 |
description: rmap1-10-permit |
| 31 |
match: |
| 32 |
as_number: |
| 33 |
asn: |
| 34 |
- "65564" |
| 35 |
as_path: |
| 36 |
- Allow40 |
| 37 |
ip: |
| 38 |
address: |
| 39 |
access_list: acl_1 |
| 40 |
sequence: 10 |
| 41 |
|
| 42 |
- action: deny |
| 43 |
description: rmap1-20-deny |
| 44 |
match: |
| 45 |
community: |
| 46 |
community_list: |
| 47 |
- BGPCommunity1 |
| 48 |
- BGPCommunity2 |
| 49 |
ip: |
| 50 |
address: |
| 51 |
prefix_lists: |
| 52 |
- AllowPrefix1 |
| 53 |
- AllowPrefix2 |
| 54 |
sequence: 20 |
| 55 |
set: |
| 56 |
dampening: |
| 57 |
half_life: 30 |
| 58 |
max_suppress_time: 120 |
| 59 |
start_reuse_route: 1500 |
| 60 |
start_suppress_route: 10000 |
| 61 |
route_map: rmap1 |
| 62 |
|
| 63 |
- route_map: rmap2 |
| 64 |
entries: |
| 65 |
- action: permit |
| 66 |
continue_sequence: 40 |
| 67 |
description: rmap2-20-permit |
| 68 |
match: |
| 69 |
interfaces: |
| 70 |
- Ethernet1/1 |
| 71 |
ipv6: |
| 72 |
address: |
| 73 |
prefix_lists: |
| 74 |
- AllowIPv6Prefix |
| 75 |
sequence: 20 |
| 76 |
set: |
| 77 |
as_path: |
| 78 |
prepend: |
| 79 |
as_number: |
| 80 |
- "65563" |
| 81 |
- "65568" |
| 82 |
- "65569" |
| 83 |
comm_list: BGPCommunity |
| 84 |
|
| 85 |
- action: deny |
| 86 |
description: rmap2-40-deny |
| 87 |
match: |
| 88 |
ip: |
| 89 |
multicast: |
| 90 |
group_range: |
| 91 |
first: 239.0.0.1 |
| 92 |
last: 239.255.255.255 |
| 93 |
rp: |
| 94 |
prefix: 192.0.2.0/24 |
| 95 |
rp_type: ASM |
| 96 |
source: 203.0.113.0/24 |
| 97 |
route_types: |
| 98 |
- level-1 |
| 99 |
- level-2 |
| 100 |
tags: |
| 101 |
- 2 |
| 102 |
sequence: 40 |
| 103 |
|
| 104 |
replaced: |
| 105 |
commands: |
| 106 |
- no route-map rmap1 permit 10 |
| 107 |
- route-map rmap1 deny 20 |
| 108 |
- no match community BGPCommunity1 BGPCommunity2 |
| 109 |
- match community BGPCommunity4 BGPCommunity5 |
| 110 |
- no match ip address prefix-list AllowPrefix1 AllowPrefix2 |
| 111 |
- match ip address prefix-list AllowPrefix1 |
| 112 |
- no set dampening 30 1500 10000 120 |
| 113 |
- set community local-AS |
| 114 |
|
| 115 |
after: |
| 116 |
- route_map: rmap1 |
| 117 |
entries: |
| 118 |
- sequence: 20 |
| 119 |
action: deny |
| 120 |
description: rmap1-20-deny |
| 121 |
match: |
| 122 |
community: |
| 123 |
community_list: |
| 124 |
- BGPCommunity4 |
| 125 |
- BGPCommunity5 |
| 126 |
ip: |
| 127 |
address: |
| 128 |
prefix_lists: |
| 129 |
- AllowPrefix1 |
| 130 |
set: |
| 131 |
community: |
| 132 |
local_as: true |
| 133 |
|
| 134 |
- route_map: rmap2 |
| 135 |
entries: |
| 136 |
- action: permit |
| 137 |
continue_sequence: 40 |
| 138 |
description: rmap2-20-permit |
| 139 |
match: |
| 140 |
interfaces: |
| 141 |
- Ethernet1/1 |
| 142 |
ipv6: |
| 143 |
address: |
| 144 |
prefix_lists: |
| 145 |
- AllowIPv6Prefix |
| 146 |
sequence: 20 |
| 147 |
set: |
| 148 |
as_path: |
| 149 |
prepend: |
| 150 |
as_number: |
| 151 |
- "65563" |
| 152 |
- "65568" |
| 153 |
- "65569" |
| 154 |
comm_list: BGPCommunity |
| 155 |
|
| 156 |
- action: deny |
| 157 |
description: rmap2-40-deny |
| 158 |
match: |
| 159 |
ip: |
| 160 |
multicast: |
| 161 |
group_range: |
| 162 |
first: 239.0.0.1 |
| 163 |
last: 239.255.255.255 |
| 164 |
rp: |
| 165 |
prefix: 192.0.2.0/24 |
| 166 |
rp_type: ASM |
| 167 |
source: 203.0.113.0/24 |
| 168 |
route_types: |
| 169 |
- level-1 |
| 170 |
- level-2 |
| 171 |
tags: |
| 172 |
- 2 |
| 173 |
sequence: 40 |
| 174 |
|
| 175 |
overridden: |
| 176 |
commands: |
| 177 |
- no route-map rmap1 permit 10 |
| 178 |
- route-map rmap1 deny 20 |
| 179 |
- no match community BGPCommunity1 BGPCommunity2 |
| 180 |
- match community BGPCommunity4 BGPCommunity5 |
| 181 |
- no match ip address prefix-list AllowPrefix1 AllowPrefix2 |
| 182 |
- match ip address prefix-list AllowPrefix1 |
| 183 |
- no set dampening 30 1500 10000 120 |
| 184 |
- set community local-AS |
| 185 |
- no route-map rmap2 permit 20 |
| 186 |
- no route-map rmap2 deny 40 |
| 187 |
|
| 188 |
after: |
| 189 |
- route_map: rmap1 |
| 190 |
entries: |
| 191 |
- sequence: 20 |
| 192 |
action: deny |
| 193 |
description: rmap1-20-deny |
| 194 |
match: |
| 195 |
community: |
| 196 |
community_list: |
| 197 |
- BGPCommunity4 |
| 198 |
- BGPCommunity5 |
| 199 |
ip: |
| 200 |
address: |
| 201 |
prefix_lists: |
| 202 |
- AllowPrefix1 |
| 203 |
set: |
| 204 |
community: |
| 205 |
local_as: true |
| 206 |
|
| 207 |
deleted: |
| 208 |
commands: |
| 209 |
- no route-map rmap1 permit 10 |
| 210 |
- no route-map rmap1 deny 20 |
| 211 |
- no route-map rmap2 permit 20 |
| 212 |
- no route-map rmap2 deny 40 |