To remove an existing OSPF Shortcuts configuration:
SLX# configure terminal SLX (config)#
SLX (config)# router mpls SLX (config-router-mpls)#
SLX (config-router-mpls)# lsp test-lsp SLX (config-router-mpls-lsp-test-lsp)#
SLX (config-router-mpls-lsp-test-lsp)# no enable SLX (config-router-mpls-lsp-test-lsp)#
SLX (config-router-mpls-lsp-test-lsp)# no shortcuts ospf SLX (config-router-mpls-lsp-test-lsp)#
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