Users Guide

Usage
Information
Configure an arbitrary value in the IP address format for each router. Each router ID must be unique. Use
the fixed router ID for the active OSPF router process. Changing the router ID brings down the existing
OSPF adjacency. The new router ID becomes effective immediately. The no version of this command
disables the router ID configuration.
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 configures an OSPF instance.
Syntax
router ospf instance-number [vrf vrf-name]
Parameters
instance-numberEnter a router OSPF instance number, from 1 to 65535.
vrf vrf-name Enter the keyword vrf followed by the name of the VRF to configure an OSPF
instance in that VRF.
Default Not configured
Command Mode CONFIGURATION
Usage
Information
Assign an IP address to an interface before using this command. The no version of this command deletes
an OSPF instance.
Example
OS10(config)# router ospf 10 vrf vrf-test
Supported
Releases
10.2.0E or later
show ip ospf
Displays OSPF instance configuration information.
Syntax
show ip ospf [instance-number] [vrf vrf-name]
Parameters
instance-number View OSPF information for a specified instance number from, 1 to 65535.
vrf vrf-name Enter the keyword vrf followed by the name of the VRF to display OSPF
configuration information corresponding to that VRF.
Default Not configured
Command Mode EXEC
Usage
Information
None
Example
OS10# show ip ospf 10
Routing Process ospf 10 with ID 111.2.1.1
Supports only single TOS (TOS0) routes
It is an Autonomous System Boundary Router
It is Flooding according to RFC 2328
Convergence Level 0
Min LSA origination 0 msec, Min LSA arrival 1000 msec
Min LSA hold time 5000 msec, Max LSA wait time 5000 msec
Number of area in this router is 1, normal 1 stub 0 nssa 0
Area (0.0.0.0)
Number of interface in this area is 3
SPF algorithm executed 38 times
Area ranges are
950 Layer 3