D-Link DGS-6600-48T Product Manual - Page 513
redistribute (OSPF), redistribute, metric, metric-type, default-information originate
View all D-Link DGS-6600-48T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 513 highlights
DGS-6604 m redistribute (OSPF) redistribute (OSPF) Use redistribute to redistribute routes from other routing domain into OSPF routing domain. Use the no form of the command to disable redistribution. redistribute PROTOCOL [metric METRIC-VALUE] [metric-type TYPE-VALUE] no redistribute PROTOCOL Syntax Description PROTOCOL The source protocol from which routes are being redistributed from. It can be one of thefollowing keywords: bgp, connected, static, or rip. The static keyword is used to redistribute IP static routes. The connected keyword refers to routes that are established automatically by virtue of having enabled IP on an interface. For routing protocols such as Open Shortest Path First (OSPF), these routes will be redistributed as external to the autonomous system. metric METRICVALUE (Optional) If a metric is not specified, OSPF puts a default value of 20 as redistributing routes from all other protocols except Border GatewayProtocol (BGP) routes, which get a metric of 1. However when redistributing from one OSPF process to another OSPF process, the metric will be carried through. metric-type TYPEVALUE (Optional) For OSPF, the external link type associated with the route advertised into the OSPF routing domain. It can be one of two values: 1-Type 1 external route 2-Type 2 external route. If a metric-type is not specified, the Switch adopts a Type 2 external route. This is only for OSPF. Default Command Mode Usage Guideline Disabled metric-type TYPE-VALUE: Type 2 external route Router configuration A router receiving a link-state protocol with an internal metric will consider the cost of the route from itself to the redistributing router plus the advertised cost to reach the destination. An external metric only considers the advertised metric to reach the destination. Whenever the redistribute or the default-information originate configuration commands are used to redistribute routes into an OSPF routing domain, the router automatically becomes an ASBR. However, an ASBR does not, by default, generate a default route into the OSPF routing domain. BGP, RIP, connected, static routes can be redistributed to OSPF. The redistribute metric is determined by following rules in order: 1. If the redistribute metric is specified, use the user specified value. 2. If the redistribute route is default route, the metric will be 1. 3. If "default metric" is configured, use the specified value. CLI Reference Guide 503