52 redistribute ospf, Redistribute ospf – PLANET XGS3-24042 User Manual
Page 581
35-220
metric <value> is the introduced metric value, ranging between 0-16777214.
metric-type {1|2} is the metric value type of the introduced external route, which can be 1 or 2, and
it is 2 by default.
route-map
tag
0~4294967295, defaulted at 0.
Command Mode:
OSPF Protocol Mode.
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
35.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
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: