tunnel-number

Use tunnel-number to specify an interface number range for automatically created bypass tunnels.

Use undo tunnel-number to restore the default.

Syntax

tunnel-number min min-number max max-number

undo tunnel-number

Default

No interface number range is specified, and the PLR cannot set up a bypass tunnel automatically.

Views

MPLS TE auto FRR view

Predefined user roles

network-admin

Parameters

min min-number max max-number: Specifies a range of interface numbers for automatically created bypass tunnels. The value ranges for the min-number and max-number arguments vary by device operating mode. For more information about configuring the device operating mode, see Fundamentals Configuration Guide.The min-number must be smaller than or equal to the max-number, and the specified interface number range must include no more than 1000 interface numbers.

Usage guidelines

To enable the PLR to automatically create bypass tunnels, you must perform the following tasks:

  1. Enable auto FRR globally by using the auto-tunnel backup command.

  2. Specify the interface number range for bypass tunnels by using the tunnel-number command.

The PLR uses the interface numbers in the specified range in ascending order for the bypass tunnels.

When you use the tunnel-number command, follow these restrictions and guidelines:

Examples

# Specify interface numbers 800 to 900 for automatically created bypass tunnels.

<Sysname> system-view
[Sysname] mpls te
[Sysname-te] auto-tunnel backup
[Sysname-te-auto-bk] tunnel-number min 800 max 900

Related commands

auto-tunnel backup