
25-100
Usage Guide:
Learn and introduce other routing protocol into OSPF area to generate AS-external_LSAs.
Example:
Switch#config terminal
Switch(config)#router ospf
Switch(config-router)#redistribute bgp metric 12
25.52 redistribute ospf
Command:
redistribute ospf [<
process-id
>] [metric<
value
>] [metric-type {1|2}][route-map<
word
>]
no redistribute ospf [<
process-id
>] [metric<
value
>] [metric-type {1|2}][route-map<
word
>]
Function:
To redistribute of process ID routing to this process. The no form of command deletes the redistribution of process ID
routing to this process. When input the optional parameters of metric, metric type and routermap, then restores
default configuration.
Parameter:
process-id
is OSPF process ID, 0 by default.
metric <
value
>
is the metric for redistributed routing, range between 0 to 16777214.
metric-type {1|2}
is the metric type for redistributed routing, only can be 1 or 2, and 2 by default.
route-map
<word>
is the pointer to the introduced routing map.
Default:
Not redistributed any OSPF routing by default.
Command Mode:
OSPF Protocol Mode.
Usage Guide:
When process-id is not input, that means OSPF routing will be redistributed by default (Process-id is 0).
Example:
Switch(config-router)#redistribute ospf