Command Line Interface
4-264
4
Open Shortest Path First (OSPF)
Table 4-89 Open Shortest Path First Commands
Command Function Mode Page
General Configuration
router ospf Enables or disables OSPF GC 4-265
router-id Sets the router ID for this device RC 4-265
compatible rfc1583 Calculates summary route costs using RFC 1583 (OSPFv1) RC 4-266
default-information
originate
Generates a default external route into an autonomous system RC 4-267
timers spf Configures the hold time between consecutive SPF calculations RC 4-268
Route Metrics and Summaries
area range Summarizes routes advertised by an ABR RC 4-268
area default-cost
Sets the cost for a default summary route sent into a stub or NSSA
RC 4-269
summary-address Summarizes routes advertised by an ASBR RC 4-270
redistribute Redistribute routes from one routing domain to another RC 4-270
Area Configuration
network area Assigns specified interface to an area RC 4-271
area stub Defines a stubby area that cannot send or receive LSAs RC 4-272
area nssa Defines a not-so-stubby that can import external routes RC 4-273
area virtual-link Defines a virtual link from an area border routers to the backbone RC 4-274
Interface Configuration
ip ospf authentication Specifies the authentication type for an interface IC 4-276
ip ospf
authentication-key
Assigns a simple password to be used by neighboring routers IC 4-277
ip ospf
message-digest-key
Enables MD5 authentication and sets the key for an interface IC 4-278
ip ospf cost Specifies the cost of sending a packet on an interface IC 4-279
ip ospf dead-interval Sets the interval at which hello packets are not seen before
neighbors declare the router down
IC 4-279
ip ospf hello-interval Specifies the interval between sending hello packets IC 4-280
ip ospf priority Sets the router priority used to determine the designated router IC 4-280
ip ospf
retransmit-interval
Specifies the time between resending a link-state advertisement IC 4-281
ip ospf transmit-delay
Estimates time to send a link-state update packet over an interface
IC 4-282
Display Information
show ip ospf Displays general information about the routing processes PE 4-282
show ip ospf
border-routers
Displays routing table entries for Area Border Routers (ABR) and
Autonomous System Boundary Routers (ASBR)
PE 4-283
show ip ospf database Shows information about different LSAs in the database PE 4-284
show ip ospf interface Displays interface information PE 4-292