Cisco route-map prefix list seq 5 permit 0.0.0.0/0 ?

I'm going through our routers and I see a prefix-list seq 5 permit 0.0.0.0/0 that is being used in a route-map, can someone explain to me what "prefix-list seq 5 permit 0.0.0.0/0" does/mean when used in a route-map?

Thank you,
Dave
dsterlingAsked:
Who is Participating?
 
Sandeep UdgirkarConnect With a Mentor Key Account ManagerCommented:
prefix-list 0.0.0.0/0 just matches the default-route not all routes. So that prefix-list filters out all routes except the default-route.
0
 
Henk van AchterbergConnect With a Mentor Sr. Technical ConsultantCommented:
what happens will actually depend on the action defined at the route-map level. when using prefix lists in route-maps the "permit" statement in the prefix list will tell the prefix list to match the specified route.

So when the route-map says permit the 0.0.0.0/0 route is allowed through. Probably the route-map in this case will specify a deny action and will filter out the default route.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.