ingress-lsp trigger route-filter (BGP-Labeled address family view)

Function

The ingress-lsp trigger route-filter command specifies a route filter to control the creation of ingress LSPs based on labeled BGP IPv4 routes.

The undo ingress-lsp trigger command restores the default configuration.

By default, ingress LSPs are created based on all received BGP labeled routes.

Format

ingress-lsp trigger route-filter route-filter-name

undo ingress-lsp trigger route-filter route-filter-name

Parameters

Parameter Description Value
route-filter route-filter-name

Specifies the name of a route filter to be used to create ingress LSPs based on BGP labeled routes.

The value is a string of 1 to 200 case-sensitive characters, spaces not supported. If parameters are included in the referenced route-filter, specify values for them in the format of (var1, var2, ...var8) behind the route-filter name. A maximum of eight parameters can be specified, and each value ranges from 1 to 200 characters.

Views

BGP-Labeled address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

On a MAN where the hybrid access mode is used, a large number of labeled BGP routes are used to establish end-to-end LSPs. On certain intermediate nodes where VPN services do not need to be supported, excessive ingress LSPs are created, causing the waste of network resources. In this case, you can run the ingress-lsp trigger command to create ingress LSPs based on a routing policy or route filter to save network resources.

Prerequisites

If the routing policy specified in the ingress-lsp trigger command does not exist, you need to configure the routing policy using the route-policy command first.

Configuration Impact

If the ingress-lsp trigger command is run more than once, the latest configuration overrides the previous one.

Example

# In the BGP labeled address family view, specify a routing policy named test-policy to control the creation of ingress LSPs based on labeled IPv4 routes.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family labeled-unicast
[*HUAWEI-bgp-af-ipv4-labeled] ingress-lsp trigger route-filter test-policy
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >