OSPF configuration steps
The steps below describe how to configure OSPF in Sophos Firewall
To configure OSPF, do as follows:
-
Select Option 3 (Route Configuration) > Option 1 (Configure Unicast Routing) > Option 2 (Configure OSPF). You then see the following prompt:
OSPF>
-
Type
enable
.This enables the OSPF routing process and switches to global configuration mode.
-
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, the command is applied by default. When you configure OSPF on the CLI, you can run this command to get additional information. This applies to both OSPF and OSPFv3.
When you apply the Global configuration settings on the web admin console, the firewall removes your changes to the default setting.
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.