Reference Guide
redistribute
Redistributes information from another routing protocol or routing instance to the OSPFv2 process.
Syntax
redistribute {bgp as-number| connected | static} [route-map map-name]
Parameters
• as-number — Enter an autonomous number to redistribute BGP routing information throughout the OSPF
instance (1 to 4294967295).
• connected — Enter the information from connected (active) routes on interfaces to redistribute.
• static — Enter the information from static routes on interfaces redistribute.
• route-map name — Enter the name of a congured route-map.
Defaults Not congured
Command Mode ROUTER-OSPF
Usage Information When an OSPF redistributes, the process is not completely removed from the BGP conguration. The no version
of this command disables the redistribute conguration.
Example
OS10(config)# router ospf 10
OS10(conf-router-ospf-10)# redistribute bgp 4 route-map dell1
Example
(Connected)
OS10(config)# router ospf 10
OS10(conf-router-ospf-10)# redistribute connected route-map dell2
Supported Releases 10.2.0E or later
router-id
Congures a xed router ID for the OSPF process.
Syntax
router-id ip-address
Parameters ip-address — Enter the IP address of the router as the router ID.
Default Not congured
Command Mode ROUTER-OSPF
Usage Information Congure an arbitrary value in the IP address format for each router. Each router ID must be unique. Use the xed
router ID for the active OSPF router process. Changing the router ID brings down the existing OSPF adjacency.
The new router ID is eective at the next reload. The no version of this command disables the router ID
conguration.
Example
OS10(config)# router ospf 10
OS10(conf-router-ospf-10)# router-id 10.10.1.5
Supported Releases 10.2.0E or later
router ospf
Enters Router OSPF mode and congures an OSPF instance.
Syntax
router ospf instance-number
Parameters instance-number—Enter a router OSPF instance number, from 1 to 65535.
Default Not congured
358 Layer 3