mpls te igp advertise

Use mpls te igp advertise to enable forwarding adjacency for an MPLS TE tunnel, so IGP advertises the tunnel as a link in the IGP network.

Use undo mpls te igp advertise to disable forwarding adjacency.

Syntax

mpls te igp advertise [ hold-time value ]

undo mpls te igp advertise

Default

Forwarding adjacency is disabled for an MPLS TE tunnel, and IGP does not advertise the tunnel as a link in the IGP network.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

hold-time value: Specifies the period of time that IGP waits to advertise an MPLS TE tunnel up/down state change. The value range is 0 to 4294967295 milliseconds. The default value is 0, which means when the MPLS TE tunnel state changes, IGP immediately advertises the state change.

Usage guidelines

To make forwarding adjacency take effect, you must establish two MPLS TE tunnels in opposite directions between two nodes, and enable forwarding adjacency on both nodes.

On an interface, if you configure both the mpls te igp advertise command and the mpls te igp shortcut command, the most recent configuration takes effect.

Examples

# Enable forwarding adjacency for MPLS TE Tunnel 0, and set the wait time before advertising a tunnel state change to 10000 milliseconds.

<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te igp advertise hold-time 10000

Related commands

mpls te igp metric

mpls te igp shortcut