Configuring OSPF
There are a few simple commands that are used to configure and troubleshoot a Cisco router configured to use OSPF in a single area and in a multiple area network. The commands used to configure OSPF are:
• router ospf < process_number > where process_number is a number local to the router. This command configures OSPF as the routing protocol on the router.
• network network_number wildcard_mask defines the networks that are to participate in the OSPF updates and the area that they reside in.
• interface loopback < interface_number > ip address < ip_address > < subnet_mask > defines a loopback interface, which is a virtual interface, on the router.
• ip ospf cost < cost > sets the default cost for the router.
• auto-cost reference-bandwidth changes the OSPF cost formula.
Note: The ip ospf cost command overrides the auto-cost reference bandwidth command.