route-target import

Configures import routes for a Virtual Network Identifier (VNI) for a Layer 2 Ethernet Virtual Private Network (EVPN) instance.
Syntax
route-target import { xxxx:yy | auto }
no route-target import { xxxx:yy | auto }
Command Default

Import routes are not configured for a VNI.

Parameters
xxxx:yy
Specifies that import routes are configured manually in xxxx:yy format ,where xxxx is a 4-byte integer and yy is a 2-byte integer.
auto
Specifies that import routes are configured automatically.
Modes

EVPN EVI configuration mode

Usage Guidelines

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

The no form of the command removes the configured import routes and the policies for these routes.

Examples

The following example enables the auto-generation of import route-target community attributes for a VNI for an EVPN instance.

device# configure terminal
device(config)# l2vpn evpn
device(config-evpn)# evpn-instance 1 vlan-based
device(config-evpn-evi)# route-target import auto

The following example manually configures an import route for a VNI for an EVPN instance.

device# configure terminal
device(config)# l2vpn evpn
device(config-evpn)# evpn-instance 1 vlan-based
device(config-evpn-evi)# route-target import 1234:56
History
Release version Command history
10.0.20 This command was introduced.