OSPF configuration steps

The steps below describe how to configure OSPF in Sophos XG 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:
    OSPF>
  2. Type enable.

    This enables OSPF routing process and places you in Global Configuration mode.

  3. Specify a list of networks for the OSPF routing process
    OptionDescription
    ospf#configure terminal

    Enables OSPF configuration mode which places you in 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 with the subnet information

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

    ospf(config - router)# show running - config

    View the current OSPF configuration.

    ospf(config-router)#end

    Exits from router configuration mode and places you into enable mode.

    ospf(config - if)#exit

    Exits to the router management menu.