Skip to content

OSPF configuration steps

The steps below describe how to configure OSPF in Sophos Firewall

To configure OSPF, do as follows:

  1. Select Option 3 (Route Configuration) > Option 1 (Configure Unicast Routing) > Option 2 (Configure OSPF). You then see the following prompt:

  2. Type enable.

    This enables the OSPF routing process and switches to global configuration mode.

  3. Specify a list of networks for the OSPF routing process

    Option Description
    ospf#configure terminal Enables OSPF configuration mode, which switches to router configuration mode and allows you to configure OSPF from the terminal.
    ospf(config)#router ospf Allows you to configure and start the OSPF routing process.
    ospf(config-router)#network ip-addressareaarea-id Specify IP address and subnet information

    Assigns an interface to an area. The area ID is the area number the interface must be in. The area ID can be an integer from 0 to 4294967295 or can take a form similar to an IP address, for example, A.B.C.D. Interfaces that are part of the network are advertised in OSPF link state advertisements.

    ospf(config-router)#log-adjacency-changes When you configure OSPF from the web admin console log-adjacency-changes is applied by default. When you configure OSPF on the CLI, you must run this command. This applies for both OSPF and OSPFv3.
    ospf(config - router)# show running - config View the current OSPF configuration.
    ospf(config-router)#end Exits router configuration mode and switches to enable mode.
    ospf(config - if)#exit Switches to the router management menu.