match evpn-vni

Configures the Ethernet Virtual Private Network (EVPN) Layer 2 VXLAN Network Identifier (VNI) permitted or denied in a route map instance.
Syntax
match evpn-vni vni-id
no match evpn-vni vni-id
Command Default

EVPN Layer 2 VNIs are not configured ot be permitted or denied in a route map instance.

Parameters
vni-id
Specifies the VNI. Valid values range from 1 through 16777215.
Modes

Route-map configuration mode

Usage Guidelines

This command is applicable for Type-2 EVPN routes only.

A maximum of eight VNI values can be specified.

This command is supported for RUCKUS ICX 7850 and ICX 7550 devices only.

The no form of the command removes the configured EVPN Layer 2 VNIs for the route map instance.

Examples

The following example denies routes with VNI 1 and VNI 2 for the route map instance.

device# configure terminal 
device(config)# route-map myroutemap deny 1
device(config-routemap myroutemap)# match evpn-vni 1
device(config-routemap myroutemap)# match evpn-vni 2
History
Release version Command history
10.0.20 This command was introduced.