Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on CiscoIOS XR Software
RC-198
Cisco IOS XR Routing Configuration Guide
8. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step1 configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step2 router ospf process-name
or
router ospfv3 process-name
Example:
RP/0/RP0/CPU0:router(config)# router ospf 1
or
RP/0/RP0/CPU0:router(config)# router ospfv3 1
Enables OSPF routing for the specified routing process and
places the router in router configuration mode.
or
Enables OSPFv3 routing for the specified routing process
and places the router in router ospfv3 configuration mode.
Note The process-name argument is any alphanumeric
string no longer than 40 characters.
Step3 router-id {ipv4-address | interface-type
interface-instance}
Example:
RP/0/RP0/CPU0:router(config-ospf)# router-id
192.168.4.3
Configures a router ID for the OSPF process.
Note We recommend using a stable IP address as the
router ID.
Step4 Perform Step 5 or Step 6 or both to control the
frequency that the same LSA is originated or accepted.
—
Step5 timers lsa gen-interval seconds
Example:
RP/0/RP0/CPU0:router(config-ospf)# timers lsa
gen-interval 10
Changes the minimum interval between the same OSPF
LSAs that the router originates.
•The default is 5 seconds for both OSPF and OSPFv3.
Step6 timers lsa min-arrival seconds
Example:
RP/0/RP0/CPU0:router(config-ospf)# timers lsa
min-arrival 2
Limits the frequency that new processes of any particular
OSPF Version 2 LSA can be accepted during flooding.
•The default is 1 second.