< Home

mpls te igp shortcut

Function

The mpls te igp shortcut command configures an IGP to use MPLS TE tunnels in the Up state for performing the enhanced SPF calculation.

The undo mpls te igp shortcut command restores the default configuration.

By default, an IGP does not use MPLS TE tunnels for performing the enhanced SPF calculation.

Format

mpls te igp shortcut [ isis | ospf ]

undo mpls te igp shortcut

Parameters

Parameter Description Value
isis Indicates the IS-IS protocol. -
ospf Indicates the OSPF protocol. -

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

The mpls te igp shortcut command and the mpls e igp advertise command cannot be configured simultaneously.

Example

# Configure OSPF or IS-IS to use Tunnel 1 in the enhanced SPF calculation if this tunnel is Up.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] tunnel-protocol mpls te
[HUAWEI-Tunnel1] mpls te igp shortcut
[HUAWEI-Tunnel1] mpls te commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >