We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

This Firmware Version Is End-Of-Support

Documentation for this product is no longer updated. Please see End-of-Support for CloudGen Firewall Firmware for further information on our EoS policy.

How to Configure OSPF Routers and Areas

  • Last updated on

After enabling OSPF, set up your OSPF router and areas. This article provides instructions on configuring global settings and network definitions that are used by OSPF to build relationships with neighbors and advertise routes. 

In this article:

Configure OSPF Routers

  1. Go to CONFIGURATION Configuration Tree > Box > Virtual Servers > your virtual server > Assigned Services > OSPF-RIP-BGP-Service > OSPF/RIP/BGP Settings.
  2. Click Lock.
  3. In the left menu, click OSPF Router Setup.
  4. Edit the following settings:

    SettingDescription

    ABR Type

    Specifies the area border router (ABR) behavior of the OSPF routing daemon. You can select:

    • Not an ABR
    • Cisco Type
    • Standard RFC 2328 Type
    • IBM Type

    Terminal Password

    The password to connect via telnet. The OSPF router is reachable on TCP port 2604 (loopback only).

    Privileged Terminal Password

    The password to enable configuration via Telnet.

    RFC1583 Compatibility

    Specifies if the router is compatible with RFC 1583 standards.

    Auto-Cost Ref Bwidth [MBit/s]

    The OSPF metric. This metric is calculated as reference bandwidth divided by bandwidth. The default setting is 10000.

    This value is overwritten by explicit cost statements. This setting should be used equally with all OSPF routers in an autonomous system. Otherwise, the metric calculation will be incorrect.

    Network Prefix

    Defines the interfaces on which OSPF runs and the networks that are propagated as OSPF intra-area or inter-area routes. Enter a network address including the network mask.

    Network Area

    Enter an existing area ID.

    Advanced Settings

    To specify the following advanced settings, click Set or Edit:

    • Support Opaque LSATo enable Opaque LSA, select yes.
    • SPF Delay TimerThe length of time in seconds to wait before running an SPF after receiving a database change.
    • SPF Hold TimerThe length of time in seconds to wait between consecutive SPF runs.
    • Refresh TimerYou can enter values from 10 to 1800.
    • Default MetricDefines the default metric for the OSPF protocol. Use if other protocols are also used for metric-translation.
    • Admin DistanceTo determine which routing protocol to use if two protocols provide routing information for the same destination, the administrative distance is used as the first criterion. Higher distance values imply lower trust ratings. The admin distance setting is used to increase the metric of routes that are introduced to the system. For instance, an externally learned RIP route with metric 2 and administrative distance of 100 is introduced with metric 102. As a result, the OSPF route is favored over the RIP route.

      Remember that administrative distance is not advertised and thus only has local impact.

    Default Route Distribution

    The default route distribution settings. To edit the following settings, click Edit:

    • OSPF MetricSet the metric in the router’s link state advertisement. The SPF algorithm uses this value to calculate the cost for each route. Routes with lower costs are preferred over routes with higher costs.
    • OSPF External MetricSelect an external metric type:
      • Type1 – Type 1 external routes have a cost that is the sum of the cost of this external route plus the cost to reach the ASBR.
      • Type2 – The cost of Type 2 external routes is defined similarly to the cost of Type 1 routes but without the cost to reach the ASBR.
    • Route Maps - Filter definitions. Reference the Route Map Filters settings on the Filter Setup page. For more information, see How to Configure Filter Setup for OSPF and RIP.

    Route Redistribution

    In this table, add route redistribution settings. For each entry, you can edit the following settings:

    • Route TypesThe route type. You can select connected, RIP, or BGP.
    • OSPF MetricSet the metric in the router’s link state advertisement. The SPF algorithm uses this value to calculate the cost for each route. Routes with lower costs are preferred over routes with higher costs.
    • OSPF External MetricIf required, select an external metric type:
      • Type1 – Type 1 external routes have a cost that is the sum of the cost of this external route plus the cost to reach the ASBR.
      • Type2 The cost of Type 2 external routes is defined similarly to the cost of Type 1 routes but without the cost to reach the ASBR.
      Otherwise, select NOT-SET if an external metric setting is not required.
    • Route MapsFilter definitions. Reference the Route Map Filters settings on the Filter Setup page. For more information, see How to Configure Filter Setup for OSPF and RIP.
  5. Click Send Changes and Activate.

Configure OSPF Areas

  1. Go to CONFIGURATION Configuration Tree > Box > Virtual Servers > your virtual server > Assigned Services > OSPF-RIP-BGP-Service > OSPF/RIP/BGP Settings.
  2. Click Lock.
  3. In the left menu, select OSPF Area Setup
  4. In the Areas table, add your OSPF areas. For each entry, you can edit the following settings:

    SettingDescription

    Enable Configuration

    Enables or disables the area:

    • To enable the area, select yes
    • To disable the area, select no.

    Area ID Format

    Specifies which format is used to enter the area ID. You can select:

    • Integer (default) – Enter your area ID as an integer in the Area ID [Int] field.
    • Quad-IP Enter your area ID as a Quad IP address in the Area ID [IP] field.

    Area ID [IP]

    The area ID in Quad IP address format. For example, 0.0.0.1.

    Area ID [Int]

    The area ID as a number. For example, 0. The ID for the first area must be 0.

    Authentication Type

    The authentication method for the area (default: Digest-MD5).

    Simple Authentication Key

    The OSPF area authentication credentials for simple authentication.

    Digest Authentication Key

    The OSPF area authentication credentials for digest authentication.

    Message Digest Key IDThe key for digest authentication.

    Special Type

    Specifies if the area is a Stub or Not-So-Stubby Area. You can select:

    • NONE – Default setting. The area is not a special type.
    • stub – Stub areas do not import or originate external LSAs.
    • nssa – The OSPF Not-So-Stubby Area where an ASBR can be located in a stub area (see RFC 3101).

    NSSA-ABR Translate Election

    This setting option is defined by RFC 3101.

    Disable Summary

    Disables summary LSAs.

    Virtual Link ID (ABR)

    The virtual link ID for this area. This setting is only available in Advanced View mode.

    Virtual Link Params

    To edit the settings for the virtual link, click Edit. For more information on these settings, see the "Template Configuration" section of How to Configure Network Interfaces for OSPF and RIP. This setting is only available in Advanced View mode.

    Area Default Cost

    The cost for the default route injected in an attached stub area.

    Summary Range IP/Mask

     

    In this table, configure special actions for a summary range. For each entry, you can edit the following settings:

    • Summary Range IP/MaskThe IP address/mask of the summary range.
    • Range ActionThe special action for the range. You can select:
      • advertise (default)
      • non-advertise
      • substitute
    • Range CostCost for a range.
    • Advertised RangeAdvertise configured range to.
    Area Export Filters In this table, create an export ACL. 

    Area Import Filters

    In this table, create an import ACL.

    Area in Filters

    In this table, create an import prefix list.

    Area out Filters

    In this table, create an export prefix list.
  5. Click OK.
  6. Click Send Changes and Activate.
Last updated on