mpls te igp shortcut

Function

The mpls te igp shortcut command enables the IGP shortcut function, allowing an IGP to use MPLS TE tunnels in the Up state to perform enhanced SPF calculation.

The undo mpls te igp shortcut command disables the IGP shortcut function.

By default, the IGP shortcut function is disabled.

Format

mpls te igp shortcut [ isis | ospf ]

mpls te igp shortcut isis hold-time interval

undo mpls te igp shortcut

Parameters

Parameter Description Value
isis

Indicates the IS-IS protocol.

-

ospf

Indicates the OSPF protocol.

-

hold-time interval

Specifies the period after which IS-IS responds to the Down status of a TE tunnel.

If a TE tunnel goes Down and this parameter is not specified, IS-IS recalculates routes. If this parameter is specified, IS-IS responds to the Down status of the TE tunnel after only the specified interval elapses. It either recalculates routes or not depending on the TE tunnel status:

  • If the TE tunnel goes Up, IS-IS does not recalculate routes.
  • If the TE tunnel goes Down, IS-IS still recalculates routes.

The value is an integer ranging from 0 to 4294967295, in milliseconds. The default value is 0.

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

The mpls te igp shortcut command is used to configure IGP shortcut.

The hold-time hold-time-value parameter specifies the period after which IS-IS responds to the Down status of the TE tunnel.

If a TE tunnel goes Down and this parameter is not specified, IS-IS recalculates routes. If this parameter is specified, IS-IS responds to the Down status of the TE tunnel after only the specified interval elapses. It either recalculates routes or not depending on the TE tunnel status:

  • If the TE tunnel goes Up, IS-IS does not recalculate routes.
  • If the TE tunnel goes Down, IS-IS still recalculates routes.

    The mpls te igp shortcut and mpls te igp advertise commands cannot be configured together.

Example

# Configure the IGP shortcut function on Tunnel1, allowing OSPF to use the tunnel named Tunnel1 to perform SPF calculation if the tunnel is Up.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface tunnel 1
[*HUAWEI-Tunnel1] tunnel-protocol mpls te
[*HUAWEI-Tunnel1] mpls te igp shortcut
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >