Node:OSPF router, Next:, Previous:Configuring ospfd, Up:OSPFv2



OSPF router

To start OSPF process you have to specify the OSPF router. As of this writing, ospfd does not support multiple OSPF processes.

router ospf Command
no router ospf Command
Enable or disable the OSPF process. ospfd does not yet support multiple OSPF processes. So you can not specify an OSPF process number.

ospf router-id a.b.c.d OSPF Command
no ospf router-id OSPF Command

ospf abr-type type OSPF Command
no ospf abr-type type OSPF Command
type can be cisco|ibm|shortcut|standard More information regarding the behaviour controlled by this command can be found in draft-ietf-ospf-abr-alt-05.txt. Quote: "Though the definition of the Area Border Router (ABR) in the OSPF specification does not require a router with multiple attached areas to have a backbone connection, it is actually necessary to provide successful routing to the inter-area and external destinations. If this requirement is not met, all traffic destined for the areas not connected to such an ABR or out of the OSPF domain, is dropped. This document describes alternative ABR behaviors implemented in Cisco and IBM routers."

ospf rfc1583compatibility OSPF Command
no ospf rfc1583compatibility OSPF Command
This rfc2328, the sucessor to rfc1583, suggests according to section G.2 (changes) in section 16.4 a change to the path preference algorithm that prevents possible routing loops that were possible in the old version of OSPFv2. More specificly it demands that inter-area paths and intra-area path are now of equal preference but still both preferred to external paths.

passive interface interface OSPF Command
no passive interface interface OSPF Command

timers spf <0-4294967295> <0-4294967295> OSPF Command
no timers spf OSPF Command

refresh group-limit <0-10000> OSPF Command
refresh per-slice <0-10000> OSPF Command
refresh age-diff <0-10000> OSPF Command

auto-cost refrence-bandwidth <1-4294967> OSPF Command
no auto-cost refrence-bandwidth OSPF Command

network a.b.c.d/m area a.b.c.d OSPF Command
network a.b.c.d/m area <0-4294967295> OSPF Command
no network a.b.c.d/m area a.b.c.d OSPF Command
no network a.b.c.d/m area <0-4294967295> OSPF Command
This command specifies the OSPF enabled interface. If the interface has an address of 10.0.0.1/8 then the command below provides network information to the ospf routers
          router ospf
           network 10.0.0.0/8 area 0
          
the network command's mask length should be the same as the interface address's mask.