tunnel-selector (BGP-EVPN address family view)

Function

The tunnel-selector command applies a tunnel selector.

The undo tunnel-selector command deletes the configuration.

By default, no tunnel selector is applied to BGP-EVPN routes, BGP-EVPN routes recurse only to LSPs.

Format

tunnel-selector tunnel-selector-name

undo tunnel-selector

Parameters

Parameter Description Value
tunnel-selector-name

Specifies the name of a tunnel selector.

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

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In an EVPN Scenario, run the tunnel-selector command to apply a tunnel selector to BGP EVPN routes so that these routes can recurse to desired types of tunnels.

Prerequisites

A tunnel selector has been configured using the tunnel-selector (system view) command.

Example

# Apply a tunnel selector to labeled BGP EVPN routes.
<HUAWEI> system-view
[~HUAWEI] tunnel-selector tps permit node 10
[*HUAWEI-tunnel-selector] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] tunnel-selector tps
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >