51 redistribute ospf, 52 router ospf, Redistribute ospf – PLANET XGS3-24040 User Manual
Page 480: Router ospf
33-193
Switch(config-router)#redistribute bgp metric 12
33.51 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:
Switch(config-router)#redistribute ospf
33.52 router ospf
Command:
router ospf
no router ospf
Function:
This command is for relating the OSPF process. The
Example:
Switch# config terminal
Switch(config)# router ospf 100
Switch(config-router)#network 10.1.1.0/24 area 0