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.
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:
|
The value is an integer ranging from 0 to 4294967295, in milliseconds. The default value is 0. |
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:<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