Chapter 22
Configuring IP Unicast Routing
Table 22-7 Default OSPF Configuration (continued)
Feature
Timers shortest path first (spf)
Virtual link
Enabling OSPF requires that you create an OSPF routing process, specify the range of IP addresses to
be associated with the routing process, and assign area IDs to be associated with that range.
Beginning in privileged EXEC mode, follow these steps to enable OSPF:
Command
Step 1
configure terminal
Step 2
router ospf process-id
Step 3
network address wildcard-mask area area-id
Step 4
end
Step 5
show ip protocols
Step 6
copy running-config startup-config
To terminate an OSPF routing process, use the no router ospf process-id global configuration command.
This example shows how to configure an OSPF routing process and assign it a process number of 109:
Switch(config)# router ospf 109
Switch(config-router)# network 131.108.0.0 255.255.255.0 area 24
78-11194-03
Default Setting
spf delay: 5 seconds.
spf-holdtime: 10 seconds.
No area ID or router ID defined.
Hello interval: 10 seconds.
Retransmit interval: 5 seconds.
Transmit delay: 1 second.
Dead interval: 40 seconds.
Authentication key: no key predefined.
Message-digest key (MD5): no key predefined.
Purpose
Enter global configuration mode.
Enable OSPF routing, and enter router configuration mode. The
process ID is an internally used identification parameter that is
locally assigned and can be any positive integer. Each OSPF
routing process has a unique value.
Define an interface on which OSPF runs and the area ID for that
interface. You can use the wildcard-mask to use a single
command to define one or more multiple interfaces to be
associated with a specific OSPF area. The area ID can be a
decimal value or an IP address.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring OSPF
22-37