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 OSPFv3 Graceful Restart

This example shows how to disable and reenable the helper mode capability for OSPFv3 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.

In the first example, interfaces fe-1/1/1 and fe-1/1/2 are in OSPFv3 area 0.0.0.0, and you configure those interfaces for graceful restart. You then disable the OSPFv3 graceful restart helper capability by including the helper-disable statement.

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 OSPFv3 restart helper capability that you disabled in the first example.

Configuration

Disabling Helper Mode for OSPFv3

CLI Quick Configuration

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

[edit] set interfaces fe-1/1/1 unit 0 family inet6 address 2002:0a00:0004::set interfaces fe-1/1/2 unit 0 family inet6 address 2002:0a00:0005::set protocols ospf3 area 0.0.0.0 interface fe-1/1/1set protocols ospf3 area 0.0.0.0 interface fe-1/1/2set protocols ospf3 graceful-restart helper-disable

Step-by-Step Procedure

To enable graceful restart for OSPFv3 with helper mode disabled:

  1. Configure the interfaces.
    [edit]user@host# set interfaces fe-1/1/1 unit 0 family inet6 address 2002:0a00:0004::user@host# set interfaces fe-1/1/1 unit 0 family inet address 2002:0a00:0005::
  2. Configure OSPFv3 on the interfaces
    [edit]user@host# set protocols ospf3 area 0.0.0.0 interface fe-1/1/1user@host# set protocols ospf3 area 0.0.0.0 interface fe-1/1/2
  3. Disable the OSPFv3 graceful restart helper capability.
    If you disable the OSPFv3 graceful restart helper capability, you cannot disable strict LSA checking.
    [edit]user@host# set protocols ospf3 graceful-restart helper-disable
  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 ospf3 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 inet6 {address 2002:0a00:0004::/128;}}}
fe-1/1/2 {unit 0 {family inet6 {address 2002:0a00:0005::/128;}}}
user@host# show protocols ospf3
graceful-restart {helper-disable;}
area 0.0.0.0 {interface fe-1/1/1.0;interface fe-1/1/2.0;}

Reenabling Helper Mode for OSPFv3

CLI Quick Configuration

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

[edit]delete protocols ospf3 graceful-restart helper-disable

Step-by-Step Procedure

To reenable helper mode for OSPFv3:

  1. Delete the standard helper-mode statement from the OSPFv3 configuration.
    [edit]user@host# delete protocols ospf3 graceful-restart helper-disable
  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 ospfs command no longer displays the graceful restart configuration.

Verification

Confirm that the configuration is working properly.

Verifying the OSPFv3 Graceful Restart Configuration

Purpose

Verify information about your OSPFv3 graceful restart configuration. The Restart field displays the status of graceful restart as either enabled or disabled, and the Helper mode field displays the status of the helper mode capability as either enabled or disabled.

Action

From operational mode, enter the show ospf3 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