Connectivity 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, from 1 to 4294967295.
• connected — Enter the information from the connected active routes on interfaces to redistribute.
• static — Enter the information from static routes on interfaces to 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 does not completely remove 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 becomes eective immediately. 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 [vrf vrf-name]
Parameters
• instance-number—Enter a router OSPF instance number, from 1 to 65535.
Layer 3 551