route-map
rmap-isis-to-bgp
redistribute ospf
Redistribute routing information from an OSPF process.
Syntax
redistribute ospf
process-id
[level-1| level-1-2 | level-2]
[match {internal | external}] [metric
metric-value
] [metric-
type {external | internal}] [route-map
map-name
]
To return to the default values, use the
no redistribute ospf
process-id
[level-1| level-1-2 | level-2] [match {internal | external}]
[metric
metric-value
][metric-type {external | internal}]
[route-map
map-name
]
command.
Parameters
process-id
Enter a number that corresponds to the OSPF process ID to
be redistributed. The range is from 1 to 65355.
metric
metric-
value
(OPTIONAL) The value used for the redistributed route. Use a
metric value that is consistent with the destination protocol.
The range is from 0 to 16777215. The default is
0
.
metric-type
{external |
internal}
(OPTIONAL) The external link type associated with the
default route advertised into a routing domain. The two
options are:
•
external
•
internal
level-1
(OPTIONAL) Routes are independently redistributed into IS-
IS as Level 1 routes.
level-1-2
(OPTIONAL) Routes are independently redistributed into IS-
IS as Level-1-2 routes.
level-2
(OPTIONAL) Routes are independently redistributed into IS-
IS as Level 2 routes. This setting is the default.
match {external
| internal}
(OPTIONAL) The command used for OSPF to route and
redistribute into other routing domains. The values are
•
internal
•
external
route-map
map-name
map-name
is an identifier for a configured route map. The
route map should filter imported routes from the source
routing protocol to the current routing protocol.
Intermediate System to Intermediate System (IS-IS)
827