segment-routing lsp-trigger (IS-IS view)

Function

The segment-routing lsp-trigger command configures a policy for establishing SR-MPLS BE LSPs on the ingress.

The undo segment-routing lsp-trigger command restores the default configuration.

By default, the ingress establishes SR-MPLS BE LSPs over IP routes with 32-bit masks.

Format

segment-routing lsp-trigger { host | none }

segment-routing lsp-trigger ip-prefix ip-prefix-name

undo segment-routing lsp-trigger [ host | none ]

undo segment-routing lsp-trigger [ ip-prefix ip-prefix-name ]

Parameters

Parameter Description Value
host

Specifies to trigger SR-MPLS BE LSPs for host routes with 32-bit addresses.

-

none

Indicates that SR-MPLS BE LSP establishment is not triggered.

-

ip-prefix ip-prefix-name

Allows the ingress to use an IP prefix list to establish SR-MPLS BE LSPs.

The value is a string of 1 to 169 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

IS-IS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

After Segment Routing is enabled, a great number of devices establish excessive SR-MPLS BE LSPs, leading to resource wastes. To prevent resource wastes, a policy for establishing SR-MPLS BE LSPs can be configured.

The segment-routing lsp-trigger command configures a policy to allow the ingress to use specified routes to establish SR-MPLS BE LSPs. This prevents unwanted SR-MPLS BE LSPs from being established and reduces resource wastes.

Prerequisites

If ip-prefix is to be used, an IP prefix list must have been created using the ip ip-prefix command.

Precautions

The segment-routing lsp-trigger command takes effect on the ingress, not on transit nodes or the egress.

Example

# Disables the ingress from establishing an SR-MPLS BE LSP by IS-IS.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] quit
[*HUAWEI] isis 1
[*HUAWEI-isis-1] cost-style wide
[*HUAWEI-isis-1] segment-routing mpls
[*HUAWEI-isis-1] segment-routing lsp-trigger none
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >