Filtering of BGP routes when redistributing into OSPF (Lab excercise)

I have three border routers that all connect to different ISP's.  These border routers all receive bgp derived default routes along with a few other important routes.  I want to redistribute the BGP AS into my OSPF AS except for the default route.  I know I can do it simply by not configuring default-information originate under OSPF, but I wanted to try and do it based on BGP route tags.

Is there a way for me to assign the default route derived from BGP a tag that I can filter when I redistribute into OSPF?
hueyiiiAsked:
Who is Participating?
 
hueyiiiConnect With a Mentor Author Commented:
This was a lab excercise.  I understand I can do it a different way, I was looking for help on how to configure it this way.
0
 
harbor235Commented:

I guess you could do it that way, create a route map and filter based on the tag and redistribute into ospf, however, i do not understand why you would want to do it this way. Then other way is much cleaner and easy to troubleshoot.

harbor235 ;}
0
 
hueyiiiAuthor Commented:
This was a lab excercise.  I understand I can do it a different way, I was looking for help on how to configure it this way.
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.