mpls te timer fast-reroute

Function

The mpls te timer fast-reroute command specifies the interval at which a device scans LSPs and determines whether to perform FRR or not when a better bypass LSP is available.

The undo mpls te timer fast-reroute command restores the default interval.

By default, the scheduled scanning is performed, and the scanning interval is 1000 milliseconds (1 second).

Format

mpls te timer fast-reroute [ weight ]

undo mpls te timer fast-reroute

Parameters

Parameter Description Value
weight

Specifies the weight of the scanning interval.

The value ranges from 0 to 604800. The default weight of the scanning interval is 300. Value 0 indicates that the scheduled scanning is performed, and the scanning interval is 1 second.

Views

MPLS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

After the scanning interval weight is set, the system uses the following formula to calculate the scanning interval t1:

t1 = weight × n, where n is the integer part of the result (1000 x 200/Maximum number of RSVP LSPs allowable on this node)

If the calculated t1 is greater than 1000 milliseconds, t1 is used as the actual scanning interval; otherwise, the scanning interval is 1000 milliseconds.

Prerequisites

The MPLS view has been displayed using the mpls command.

Example

# Set the scanning interval weight to 120.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te timer fast-reroute 120
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >