hop-limit (MPLS TE P2MP template view)

Function

The hop-limit command sets the hop limit for a P2MP LSP in a P2MP tunnel template.

The undo hop-limit command restores the default value of the hop limit.

By default, a P2MP LSP established using the P2MP tunnel template contains a maximum of 32 hops.

Format

hop-limit hop-limit-value

undo hop-limit

Parameters

Parameter Description Value
hop-limit-value

Specifies the maximum number of hops that a P2MP TE LSP supports.

The value is an integer ranging from 1 to 32.

Views

MPLS TE P2MP template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

To limit the maximum number of hops on a P2MP TE LSP that is established using a P2MP tunnel template, run the hop-limit command.

Prerequisites

A P2MP tunnel template has been configured using the mpls te p2mp-template command.

Example

# Create a P2MP tunnel template named Template1 and set the hop limit to 20 in the template view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te p2mp-te
[*HUAWEI-mpls] quit
[*HUAWEI] mpls te p2mp-template Template1
[*HUAWEI-te-p2mp-template-Template1] hop-limit 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >