Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring the Helper Capability Mode for OSPFv2 Graceful Restart

This example shows how to disable and reenable the helper mode capability for OSPFv2 graceful restart.

Requirements

Before you begin:

Overview

The OSPF graceful restart helper capability assists a neighboring routing device attempting a graceful restart. By default, the helper capability is globally enabled when you start the routing platform. This means that the helper capability is enabled when you start OSPF, even if graceful restart is not globally enabled or specifically enabled for OSPF. You can further modify your graceful restart configuration to disable the helper capability.

Beginning with Junos OS Release 11.4, you can configure restart signaling-based helper mode for OSPFv2 graceful restart configurations. Both the standard and restart signaling-based helper modes are enabled by default.

In the first example, interfaces fe-1/1/1 and fe-1/1/2 are in OSPFv2 area 0.0.0.0, and you configure those interfaces for graceful restart. You then disable the standard OSPFv2 graceful restart helper capability by including the helper-disable standard statement. This configuration is useful if you have an environment that contains other vendor equipment that is configured for restart signaling-based graceful restart.

Note: The helper-disable statement and the no-strict-lsa-checking statement cannot be configured at the same time. If you attempt to configure both statements at the same time, the routing device displays a warning message when you enter the show protocols ospf command.

The second example shows how to reenable the standard OSPFv2 restart helper capability that you disabled in the first example.

Configuration

Disabling Helper Mode for OSPFv2

CLI Quick Configuration

To quickly enable graceful restart for OSPFv2 with helper mode disabled, copy the following commands and paste them into the CLI.

[edit] set interfaces fe-1/1/1 unit 0 family inet address 10.0.0.4set interfaces fe-1/1/2 unit 0 family inet address 10.0.0.5set protocols ospf area 0.0.0.0 interface fe-1/1/1set protocols ospf area 0.0.0.0 interface fe-1/1/2set protocols ospf graceful-restart helper-disable standard

Step-by-Step Procedure

To enable graceful restart for OSPFv2 with helper mode disabled:

  1. Configure the interfaces.
    [edit]user@host# set interfaces fe-1/1/1 unit 0 family inet address 10.0.0.4user@host# set interfaces fe-1/1/1 unit 0 family inet address 10.0.0.5
  2. Configure OSPFv2 on the interfaces
    [edit]user@host# set protocols ospf area 0.0.0.0 interface fe-1/1/1user@host# set protocols ospf area 0.0.0.0 interface fe-1/1/2
  3. Disable the OSPFv2 graceful restart helper capability.
    If you disable the OSPFv2 graceful restart helper capability, you cannot disable strict LSA checking.
    [edit]user@host# set protocols ospf graceful-restart helper-disable standard
  4. If you are done configuring the device, commit the configuration.
    [edit]user@host# commit

Results

Confirm your configuration by entering the show interfaces and the show protocols ospf commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

user@host# show interfaces
fe-1/1/1 {unit 0 {family inet {address 10.0.0.4/32;}}}
fe-1/1/2 {unit 0 {family inet {address 10.0.0.5/32;}}}
user@host# show protocols ospf
graceful-restart {helper-disable {standard;}}
area 0.0.0.0 {interface fe-1/1/1.0;interface fe-1/1/2.0;}

Reenabling Helper Mode for OSPFv2

CLI Quick Configuration

To quickly reenable standard helper-mode for OSPFv2, copy the following command and paste it into the CLI.

[edit]delete protocols ospf graceful-restart helper-disable standard

Note: To reenable restart signaling-based helper mode, include the restart-signaling statement. To reenable both standard and restart signaling-based helper mode, include the both statement.

Step-by-Step Procedure

To reenable standard helper mode for OSPFv2:

  1. Delete the standard helper-mode statement from the OSPFv2 configuration.
    [edit]user@host# delete protocols ospf graceful-restart helper-disable standard
  2. If you are done configuring the device, commit the configuration.
    [edit]user@host# commit

Results

After you reenable standard helper mode, the show protocols ospf command no longer displays the graceful restart configuration.

Verification

Confirm that the configuration is working properly.

Verifying the OSPFv2 Graceful Restart Configuration

Purpose

Verify information about your OSPFv2 graceful restart configuration. The Restart field displays the status of graceful restart as either enabled or disabled, the Graceful restart helper mode field displays the status of the standard helper mode capability as enabled or disabled, and the Restart-signaling helper mode field displays the status of the restart signaling-based helper mode as enabled or disabled. By default, both standard and restart signaling-based helper modes are enabled.

Action

From operational mode, enter the show ospf overview command.

Verifying Graceful Restart Status

Purpose

Verify the status of graceful restart. The Restart State field displays Pending if the restart has not completed, or Complete if the restart has finished. The Path selection timeout field indicates the amount of time remaining until graceful restart is declared complete. There is a more detailed Restart State field that displays a list of protocols that have completed graceful restart or have not yet completed graceful restart for the specified routing table.

Action

From operational mode, enter the show route instance detail command.

Published: 2013-08-15