Closed coaj closed 12 years ago
what should it look like wrt index?
On 23 January 2012 16:02, coaj reply@reply.github.com wrote:
this is to address IOS's "implicit deny" behaviour. just need to add route-map ${rm_name} permit ${index} would do it in the templates, but the ${index}? discussed in more details here: https://supportforums.cisco.com/thread/1399
Reply to this email directly or view it on GitHub: https://github.com/sk2/autonetkit/issues/175
just the next index (the biggest index, as this should be the last statement in the route map), as if you would have one more statement in that route map.
route-map rm_2a_AS2_in permit 10
match community xyz;
set local-preference 100
continue
route-map rm_2a_AS2_in deny 20
match community zzz;
set local-preference 150
add route-map rm_2a_AS2_in permit 30
!
route-map rm_2a_AS2_out permit 10
match community cde;
set community 1234:20 additive
continue
route-map rm_2a_AS2_out permit 20
match community def;
set metric 200
continue
route-map rm_2a_AS2_out permit 30
match community ghi;
set community 1234:20 additive
add route-map rm_2a_AS2_out permit 40
"add route-map rm_2a_AS2_out permit 40 " - the "add" is excessive
this is to address IOS's "implicit deny" behaviour. just need to add route-map ${rm_name} permit ${index} would do it in the templates, but the ${index}? discussed in more details here: https://supportforums.cisco.com/thread/1399