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 congured route-map.
Defaults Not congured
Command Mode ROUTER-OSPF
Usage Information When an OSPF redistributes, the process does not completely remove from the BGP conguration. The no version
of this command disables the redistribute conguration.
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
Congures 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 congured
Command Mode ROUTER-OSPF
Usage Information Congure 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 eective immediately. The no version of this command disables the router ID
conguration.
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 congures 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