Kaspersky SD-WAN

Basic OSPF settings

April 17, 2024

ID 261868

You can specify basic OSPF settings in a CPE template or on the device. When you specify OSPF settings in a CPE template, such settings are automatically propagated to all devices that are using the template.

To modify the basic OSPF settings:

  1. Specify basic OSPF settings in one of the following ways:
    • If you want to edit the basic OSPF settings in a CPE template, go to the SD-WAN → CPE templates menu section, click the template and in the displayed settings area, select the OSPF → General settings tab.
    • If you want to edit the basic OSPF settings on a CPE device, go to the SD-WAN → CPE menu section, click the device, and in the displayed settings area, select the OSPF → General settings tab and select the Override check box.

    The OSPF settings are displayed.

  2. In the OSPF drop-down list, select Enabled. By default, the Disabled option is selected.
  3. In the Router ID field, enter the IPv4 address that you want to assign to the router ID of the CPE device.
  4. In the Maximum paths field, enter the maximum number of entries in the routing and forwarding table of the CPE device. Range of values: 1 to 16.
  5. If you want to use the CPE device as an Area Border Router (ABR), in the ABR type drop-down list, select one of the following implementations:
    • IBM (default implementation)
    • CISCO
    • SHORTCUT
    • STANDARD
  6. In the Auto cost reference bandwidth field, enter the reference bandwidth for calculating the cost of links on the CPE device. Range of values: 1 to 4,294,967.
  7. If you want to switch all OSPF interfaces of the CPE device to passive mode, select the Passive interface default check box. In passive mode, OSPF interfaces do not exchange traffic packets. This check box is cleared by default.
  8. If you want to keep an OSPF log, select the Log adjacency changes check box. You can select the Log adjacency changes check box to keep a more verbose OSPF log. These check boxes are cleared by default.
  9. If you want to configure route redistribution in OSPF, under Route redistribution, do the following:
    1. Select the check boxes next to the route types:
      • BGP to redistribute BGP routes.
      • Connected to redistribute routes directly connected to network interfaces of CPE device.
      • Kernel to redistribute Kernel routes generated by the operating system of the CPE device.
      • Static to redistribute static routes.

      These check boxes are cleared by default.

    2. In the Route map drop-down list, select a previously created route map for redistributed routes.
    3. In the Metric field, enter a metric of redistributed routes. Range of values: 0 to 16,777,214.
    4. In the Metric type drop-down list, select the type of the metric:
      • Type 1 (or "internal metric")
      • Type 2 (or "external metric")
    5. Select the Filtering check box and in the Access control list drop-down list, select a previously created access control list for reallocated routes. This check box is cleared by default.
  10. In the Default metric field, enter the default metric of OSPF routes. Range of values: 0 to 16,777,214.
  11. If you want to configure the CPE device to advertise the default route 0.0.0.0/0 to OSPF peers:
    1. Select the Default originate check box. This check box is cleared by default.
    2. Select the Always check box to always advertise the default 0.0.0.0/0 route, even if it is not present in the route table of the CPE device. This check box is cleared by default.
    3. In the Metric type drop-down list, select the type of metric for the 0.0.0.0/0 default route:
      • Type 1
      • Type 2
    4. In the Metric field, enter a metric for the 0.0.0.0/0 default route. Range of values: 0 to 16,777,214.
    5. In the Route map drop-down list, select a previously created route map for the 0.0.0.0/0 default route.
  12. In the Distance field, enter the administrative distance for all OSPF routes. The lower the administrative distance specified for a protocol, the higher the priority its route have. For example, if you want OSPF routes to always be preferred over BGP routes, specify the administrative distance of 1 for OSPF and 2 for BGP. Range of values: 1 to 255.
  13. If you want to configure administrative distances for individual OSPF routes:
    1. Select the Distance OSPF check box. This check box is cleared by default.
    2. In the External field, enter the administrative distance for routes from external OSPF domains or routing protocols. Range of values: 1 to 255.
    3. In the Inter-area field, enter the administrative distance for routes from different areas of the same OSPF domain. Range of values: 1 to 255.
    4. In the Intra-area field, enter the administrative distance for routes from the same area. Range of values: 1 to 255.
  14. If you want to enable Graceful restart on the CPE device:
    1. Select the Graceful restart check box. This check box is cleared by default.
    2. In the Grace period (sec.) field, enter the length of time, in seconds, during which the CPE device must announce its intention to restart to OSPF peers. Range of values: 1 to 1800.
  15. If you want to configure timers for the Shortest Path First (SPF) algorithm calculations:
    1. Select the Timers throttle SPF check box. This check box is cleared by default.
    2. In the Delay (sec.) field, enter the length in seconds of the delay before starting the calculations of the SPF algorithm. Range of values: 0 to 600,000.
    3. In the Initial hold-time (ms.) field, enter the minimum retention time in milliseconds between two calculations of the SPF algorithm. Range of values: 0 to 600,000.
    4. In the Maximum hold-time (ms.) field, enter the maximum retention time in milliseconds between two calculations of the SPF algorithm. Range of values: 0 to 600,000.
  16. If you want to configure Link State Advertisement (LSA) to OSPF peers for the CPE device:
    1. Select the Administrative check box to have the CPE device use the maximum metric in link state advertisements to OSPF peers.
    2. If you want to specify the time during which the CPE device must use the maximum metric in link state advertisement to OSPF peers when the OSPF protocol is started or restarted:
      1. Select the On startup check box. This check box is cleared by default.
      2. In the Timer (sec.) field, enter the time in seconds. Range of values: 5 to 86,400.
    3. If you want to specify the time during which the CPE device must use the maximum metric in link state advertisement to OSPF peers when the OSPF protocol is disabled:
      1. Select the On shutdown check box. This check box is cleared by default.
      2. In the Timer (sec.) field, enter the time in seconds. Range of values: 5 to 100.
  17. In the upper part of the settings area, click Save to save the settings of the CPE template or device.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.