Catalyst 6509 - redistribute some of the static routes

I plan to enable RIPv2 on my 6509 and I'd like to redistribute some of the static routes. How would I go by accomplishing this? Thx
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ffleismaSenior Network EngineerCommented:
the simplest way is to do the following:
router rip
 redistribute static

Open in new window

all your configured static routes will be redistributed.
If you like finer control, consider adding a route-map
access-list 1 permit x.x.x.0
access-list 1 permit y.y.y.0
route-map STATIC_ROUTE_FILTER permit 10
 match ip address 1
router rip
 redistribute static route-map STATIC_ROUTE_FILTER

Open in new window

Only routes matched by the "access-list" are redistributed.
If you need to add future static route to be redistributed, just add a new line on the  "access-list" for that new route to be matched by the ACL.
routes redistributed are seen as 1-hop away by the neighboring routers..
If you need to add metric option , you can do the following:
router rip
 redistribute static route-map STATIC_ROUTE_FILTER metric <0-16>

Open in new window

manipulate the metric value, in case where you are redistributing static routes from multiple sources and would like to prefer one source than the other.
Hope this helps, and let me know if you have any further questions.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
leblancAccountingAuthor Commented:
So the "match ip address 1" is to mach ACL 1. Correct? If I have ACL 10, then it will be "match ip address 10".
ffleismaSenior Network EngineerCommented:
yes that is correct, or if you are using named ACL, that would reflect the ACL name.

Here are the other options:
R7(config-router)#route-map STATIC_ROUTE_FILTER
R7(config-route-map)#match ip address ?
  <1-199>      IP access-list number
  <1300-2699>  IP access-list number (expanded range)
  WORD         IP access-list name
  prefix-list  Match entries of prefix-lists

Open in new window

you can use standard ACL , extended ACL, or prefix-list.

Hope this helps, let me know if you have further questions and I'll be glad to help out!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.