ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Open Shortest Path First (OSPFv3)
– 1800
type-value
1 - Type 1 external route
2 - Type 2 external route (default) - Routers do not add internal
route metric to external route metric.
COMMAND MODE
Router Configuration
DEFAULT SETTING
redistribution - none
metric-value - 20
type-metric - 2
COMMAND USAGE
This command is used to import routes learned from other routing
protocols into the OSPF domain, and to generate AS-external-LSAs.
When you redistribute external routes into an OSPF autonomous
system (AS), the router automatically becomes an autonomous system
boundary router (ASBR).
Metric type specifies the way to advertise routes to destinations outside
the AS through External LSAs. When a Type 1 LSA is received by a
router, it adds the internal cost to the external route metric. In other
words, the cost of the route from any router within the AS is equal to
the cost associated with reaching the advertising ASBR, plus the cost of
the external route. When a Type 2 LSA is received by a router, it only
uses the external route metric to determine route cost.
EXAMPLE
This example redistributes automatically connected routes as Type 1
external routes.
Console(config-router)#redistribute connected metric-type 1
Console(config-router)#