Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Managing Helper Modes for OSPF Graceful Restart

Requirements

M Series or T Series routers running Junos OS Release 11.4 or later and EX Series switches.

Overview

Junos OS Release 11.4 extends OSPF graceful restart support to include restart signaling-based helper mode. Both standard (RFC 3623-based) and restart signaling-based helper modes are enabled by default, irrespective of the graceful-restart configuration status on the routing device.

Junos OS, however, enables you to choose between the helper modes with the helper-disable <standard | restart-signaling | both> statement.

Configuration

Step-by-Step Procedure

Both standard and restart signaling-based helper modes are enabled by default, irrespective of the graceful-restart configuration status on the routing device. Junos OS allows you to disable or enable the helper modes based on your requirements.

To configure the helper mode options for graceful restart:

  1. To enable graceful restart, add the graceful-restart statement at the [edit routing-options] hierarchy level.
    [edit routing-options]user@host# set graceful-restart

    The helper modes, both standard and restart signaling-based, are enabled by default.

  2. To disable one or both of the helper modes, add the helper-disable <both | restart-signaling | standard> statement at the [edit protocols ospf graceful-restart] hierarchy level.
    • To disable both standard and restart signaling-based helper modes:

      [edit protocols ospf graceful-restart]user@host# set helper-disable both
    • To disable only the restart signaling-based helper mode:

      [edit protocols ospf graceful-restart]user@host# set helper-disable restart-signaling
    • To disable only the standard helper mode:

      [edit protocols ospf graceful-restart]user@host# set helper-disable standard

    Note: You must commit the configuration before the change takes effect.

    The last committed statement always takes precedence over the previous one.

  3. To enable one or both of the helper modes when the helper modes are disabled, delete the helper-disable <both | restart-signaling | standard> statement from the [edit protocols ospf graceful-restart] hierarchy level.
    • To enable both standard and restart signaling-based helper modes:

      [edit protocols ospf graceful-restart]user@host# delete helper-disable
    • To enable the restart signaling-based helper mode:

      [edit protocols ospf graceful-restart]user@host# delete helper-disable restart-signaling
    • To enable the standard helper mode:

      [edit protocols ospf graceful-restart]user@host# delete helper-disable standard

    Note: You must commit the configuration before the change takes effect.

    The last committed statement always takes precedence over the previous one.

Verification

Confirm that the configuration is working properly.

Verifying OSPF Graceful Restart and Helper Mode Configuration

Purpose

Verify the OSPF graceful restart and helper mode configuration on a router.

Action

  • Enter the run show ospf overview command from configuration mode.
    user@host# run show ospf overview
      ~
      ~
      ~	
      Restart: Enabled
        Restart duration: 180 sec
        Restart grace period: 210 sec
        Graceful restart helper mode: Enabled
        Restart-signaling helper mode: Enabled
      ~
      ~
      ~
        

Meaning

The output shows that graceful restart and both of the helper modes are enabled.

Published: 2013-08-28