Removing OSPF Shortcuts Configuration

To remove an existing OSPF Shortcuts configuration:

  1. Navigate to the Global Configuration Mode.
    SLX# configure terminal
    SLX (config)# 
  2. Navigate into the Router MPLS context.
    SLX (config)# router mpls
    SLX (config-router-mpls)# 
  3. Navigate into the LSP context. If the LSP is not created, this will create a new LSP.
    SLX (config-router-mpls)# lsp test-lsp
    SLX (config-router-mpls-lsp-test-lsp)# 
  4. Disable the LSP before removing LSP Shortcuts configuration.
    SLX (config-router-mpls-lsp-test-lsp)# no enable
    SLX (config-router-mpls-lsp-test-lsp)#
  5. Disable OSPF shortcuts.
    SLX (config-router-mpls-lsp-test-lsp)# no shortcuts ospf
    SLX (config-router-mpls-lsp-test-lsp)# 
  6. Enable the LSP after removing LSP Shortcuts configuration.
    SLX (config-router-mpls-lsp-test-lsp)# enable
    SLX (config-router-mpls-lsp-test-lsp)#

This example is the consolidation of the above steps to disable LSP Shortcuts.

SLX# configure terminal
SLX (config)# router mpls
SLX (config-router-mpls)# lsp test-lsp
SLX (config-router-mpls-test-lsp)# no shortcuts ospf