D-Link DGS-6600-48TS Configuration Guide - Page 226
Generating a Default Route to a Normal Area
View all D-Link DGS-6600-48TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 226 highlights
Volume 4-Layer 3 Configurations / Chapter 23-Open Shortest Path First (OSPF) OSPF Configuration Commands Generating a Default Route Included in this topic are: • Generating a Default Route to a Normal Area • Generating a Default Route to a Stub Area • Generating a Default Route to an NSSA Area Generating a Default Route to a Normal Area In an OSPF domain, Type 5 external default routes can be injected to a normal area but not to a stub area. By default, ASBR will not inject Type 5 external default routes into the OSPF domain. Default routes will only be generated into normal areas when the Switch is specified to do so. An ABSR can generate a default route using one of the following two ways, unconditionally generate or conditionally generate when the redistributed routes contain a default route. Use the following command to generate a default route to a normal OSPF area: Command default-information originate [always][metric METRIC-VALUE] [metric-type TYPE-VALUE] Explanation Generates a default route to a normal OSPF area. In the following example, the user configures the Switch to automatically generate a default route, specifying that the default route should always be advertised, with a metric value of 2, and that the route is a Type 2 external route: dgs-6600:2>enable dgs-6600:15#configure terminal dgs-6600:15(config)#router ospf dgs-6600:15(config-router)#default-information originate always metric 2 metrictype 2 dgs-6600:15(config-router)#end Generating a Default Route to a Stub Area Type 3 default routes will be automatically injected by an ABR into stub areas, and totally stubby area. The cost associated with the default route will be one unless it is specified by the following command: Command area AREA-ID default-cost COST Explanation Specifies the cost associated with the Type 3 default route injected to an stub area or totally stubby area. DGS-6600 Configuration Guide 226