ingress-lsp trigger route-filter (BGP-VPN instance IPv4 address family view/BGP-labeled VPN instance IPv4 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 route-filter command restores the default configuration.

By default, ingress LSPs are not created based on received private 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 VPN instance IPv4 address family view, BGP-VPN instance IPv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In a CSC scenario, BGP VPN labeled routes are required in order to establish end-to-end LSPs. To create ingress LSPs based on the BGP VPN labeled routes that match a route-filter, run the ingress-lsp trigger command.

Prerequisites

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

Configuration Impact

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

Example

# Specifies a name of a route filter to be used to create ingress LSPs based on BGP routes.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] ipv4-family
[*HUAWEI-vpn-instance-vpna-af-ipv4] route-distinguisher 1:1
[*HUAWEI-vpn-instance-vpna-af-ipv4] quit
[*HUAWEI-vpn-instance-vpna] quit
[*HUAWEI] xpl route-filter test-filter
[*HUAWEI-xpl-filter] end-filter
[*HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpn-instance vpna
[*HUAWEI-bgp-vpna] ingress-lsp trigger route-filter test-filter
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >