ā04-10-2017 01:32 AM - edited ā03-05-2019 08:19 AM
Hi,
I am trying to create a route-map on IOS 122-33.SRE11 where I want to achieve this:
Allow only default route from RT 65101:50
Allow all routes from RT 65101:609 and 65101:10
I have a
Problem is that the route-map filters all routes that are not in the prefix-list. I want that the router checks the prefix-list only for RT 65101:50.
I have tried everything but whatever I do the router is denying all other routes except 0.0.0.0/0.
On IOS-XR with RPL it's simple and I have accomplished this.
ā04-10-2017 02:11 AM
Hello
Do you have extended communities enabled?
Can you post the config please of your route-map and prefix-list
res
Paul
ā04-10-2017 02:17 AM
Hi,
do you mean extended communities between the BGP neighbors? Yes.
Here is one of the multiple configs I have tried to use.
route-map IGW_FILTER permit 10
match
continue 30
route-map IGW_FILTER permit 15
match
match
continue 30
route-map IGW_FILTER permit 30
route-map IGW_FILTER deny 40
ā04-12-2017 04:23 AM
Hi Dude,
Can you try creating route-maps withouth "continue" statement and check.
Thanks
Hitesh
ā04-10-2017 02:15 AM
Hi Dude,
I suggest that you call a prefix list in permit 20 which is 0.0.0.0/0 le 32 and see if that helps.
HTH
Hitesh
ā04-10-2017 02:47 AM
Hi,
using 0.0.0.0/0 le 32 in
ip prefix-list DEF_ONLY_TEST: 1 entries
seq 5 permit 0.0.0.0/0
ip prefix-list INTERNAL_VRF: 1 entries
seq 5 permit 0.0.0.0/0 le 32
route-map IGW_FILTER_TEST, permit, sequence 10
Match clauses:
Set clauses:
Policy routing matches: 0 packets, 0 bytes
route-map IGW_FILTER_TEST, permit, sequence 15
Match clauses:
Set clauses:
Policy routing matches: 0 packets, 0 bytes
route-map IGW_FILTER_TEST, deny, sequence 40
Match clauses:
Set clauses:
Policy routing matches: 0 packets, 0 bytes
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide