- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Static route redistribution into OSPF
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Static route redistribution into OSPF
I am supposed to redistribute static routes into OSPF and I am currently running R81.20 with latest hotfix.
I am currently using VSX so have to use Gaia clish in order to do it.
I found 2 documents for doing this one clearly mentioning it has to be done via Gaia web portal and the other one providing the command itself.
Will this work with Gaia clish as with VSX we will need to use Clish.
Document saying we will need to use Gaia Portal: Configuring IPv4 OSPFv2 in Gaia Clish
Document providing the command Configuring IPv4 Route Redistribution to OSPFv2 in Gaia Clish
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ma_gorkhali we are doing this followed Configuring IPv4 Route Redistribution in Gaia Clish for interfaces and static-routes in a VSX environment. It's working fine.
Redistribution is simple to configure. With route-maps you are more flexible to configure your routing but you have to do more thinking what you want to achieve and some more configuration lines have to be written. As an example with route-maps you can configure much more filters what is routed or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The advanced routing admin guide isn't specific to VSX and will outline both possible approaches.
The CLISH method is most relevant to VSX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So you reckon it will work using clish ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Personally I would explore using route-maps via CLI for this requirement.
There are other threads that you can search here where others have done this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
100% it works via clish, its literally the only way to do this properly, as via web UI, its all or nothing. Let me see if I can find good example of how we did this for a customer.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ma_gorkhali Here is example static to BGP, but I believe it would be very similar to ospf, just make sure you have right prefix-list(s)
Andy
set routemap ospf-to-bgp-90 id 30 match prefix-list STATIC-TO-BGP preference 10 on
set routemap ospf-to-bgp-90 id 30 match protocol direct
set routemap ospf-to-bgp-90 id 30 action aspath-prepend-count 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You @the_rock @Chris_Atkinson looks like a prefix list is not required at all if you are redistributing static route into dynamic route as it only you to select specific subnets before you redistribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Prefix list is just there to tie it to relevant routemap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ma_gorkhali we are doing this followed Configuring IPv4 Route Redistribution in Gaia Clish for interfaces and static-routes in a VSX environment. It's working fine.
Redistribution is simple to configure. With route-maps you are more flexible to configure your routing but you have to do more thinking what you want to achieve and some more configuration lines have to be written. As an example with route-maps you can configure much more filters what is routed or not.
