-
metric
A keyword after which follows the four metric components (bandwidth, delay, reliability, link load), plus the MTU associated with the route. [EIGRP]
-
match
If redistributing from OSPF, this keyword lets you match internal OSPF routes, external (by type), and NSSA external routes, essentially filtering which routes are redistributed. [EIGRP]
-
tag
Assigns a unitless integer value to the routes redistributed by this command—tags which can be later matched by other routers using a route-map [EIGRP, OSPF]
-
route-map
Apply the logic in the referenced route-map to filter routes, set metrics, and set route tags. [EIGRP, OSPF]
-
metric
Defines the cost metric assigned to routes redistributed by this command, unless overridden by a referenced route map. [OSPF]
-
metric-type
Defines the external metric type for the routes redistributed by this command: 1 (E1 routes) or 2 (E2 routes). [OSPF]
-
match
If redistributing from another OSPF process, this keyword lets you match internal OSPF routes, external (by type), and NSSA external routes, essentially filtering which routes are redistributed. [OSPF]
-
subnets
Redistribute subnets of classful networks. Without this parameter, only routes for classful networks are redistributed. [OSPF-unique]
-
process-id, as-number
If redistributing a routing protocol that uses a process-id or ASN on the router global config command, use this parameter to refer to that process or ASN value.
-
protocol
The source of routing information. Includes RIP, OSPF, EIGRP, IS-IS, BGP, connected, and static.
-
OSPF Redistribution with Minimal Parameters
- When taking from BGP, use a default metric of 1.
- When taking from another OSPF process, take the source route’s metric.
- When taking from all other sources, use a default metric of 20.
- Create a Type 5 LSA for each redistributed route (external) if not inside an NSSA area; create a Type 7 LSA if inside an NSSA area.
- Use external metric type 2.
- Redistribute only routes of classful (class A, B, and C) networks, and not routes for subnets.
-
Default if no metric configuration exists
- Cost 1 for routes learned from BGP.
- If redistributed from another OSPF process, use the source route’s OSPF cost.
- Cost 20 for all other route sources.
-
Setting the default for all redistribute commands
The default-metric cost OSPF subcommand.
-
Setting the metric for one route source
The metric cost parameters on the redistribute command.
-
Setting different metrics for routes learned from a single source
Use the route-map parameter on the redistribute command.
|
|