Exporting the default route into an ospf as, Dynamic routing policy chapter 4. routing 109 – D-Link DFL-2500 User Manual
Page 109

gw-world:/ImportOSPFRoutes> add DynamicRoutingRuleAddRoute
Destination=MainRoutingTable
Web Interface
1.
Go to Routing > Dynamic Routing Rules
2.
Click on the recently created ImportOSPFRoutes
3.
Go to OSPF Routing Action > Add > DynamicRountingRuleAddRoute
4.
In Destination, add the main routing table to the Selected list
5.
Click OK
Example 4.7. Exporting the Default Route into an OSPF AS
In this example, the default route from the main routing table will be exported into an OSPF AS named as0. First,
add a dynamic routing policy filter that matches the main routing table and the default route:
CLI
gw-world:/> add DynamicRoutingRule OSPFProcess=as0 name=ExportDefRoute
RoutingTable=MainRoutingTable DestinationInterface=wan
DestinationNetworkExactly=all-nets
Web Interface
1.
Go to Routing > Dynamic Routing Rules > Add > Dynamic routing policy rule
2.
Specify a suitable name for the filter, eg. ExportDefRoute
3.
For From Routing Table select Main Routing Table
4.
Choose wan for Destination Interface
5.
Choose all-nets in the ...Exactly Matches list
6.
Click OK
Then, create an OSPF Action that will export the filtered route to the specified OSPF AS:
CLI
gw-world:/> cc DynamicRoutingRule ExportDefRoute
gw-world:/ExportDefRoute/> add DynamicRoutingRuleExportOSPF ExportToProcess=as0
Web Interface
1.
Go to Routing > Dynamic Routing Rules
2.
Click on the newly created ExportDefRoute
3.
Go to OSPF Action > Add > DynamicRoutingRuleExportOSPF
4.
For Export to process choose as0
5.
Click OK
4.4.3. Dynamic Routing Policy
Chapter 4. Routing
109