Log in
|
How to Buy
|
Contact Us
|
United States (Change)

## Choose Country

### North America

- United States

### Europe

- Deutschland - Germany
- España - Spain
- France
- Italia - Italy
- Россия - Russia
- United Kingdom

### Asia Pacific

- Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
- Australia
- 中国 - China
- India
- 日本 - Japan
- 대한민국 - Korea
- 台灣 - Taiwan

Remember my choice

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Rate and give feedback: Feedback Received. Thank You!
Rate and give feedback:
This document helped resolve my issue. Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
E-mail:

# route-target

#### Syntax

[ no ] route-target { import | export | both } extendedCommunity

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Creates or adds to a list of VPN extended communities used to determine which routes are imported by a VRF. The no version removes a route target from the specified list.

A route is installed in the VRF’s forwarding table when both of the following conditions are met:

- An update message with a route-target export list advertises a route.
- That list contains at least one route target that matches a route target in the route-target import list associated with a VRF.

#### Options

- import—Adds the route target to the current VRF’s import list; the VRF accepts only routes that have at least one route target that matches a route target in the import list
- export—Adds the route target to the current VRF’s export list; all routes advertised from this VRF are associated with the export list; at least one route target in the export list must match a route target in the import list of a VRF receiving the route for the route to be installed in the VRF’s forwarding table
- both—Adds the route target to both the import list and export list of the current VRF
- extendedCommunity—Two-part number of the format number1:number2 that identifies an extended community of VPNs where:
  - number1—AS number or IP address
  - number2—Unique integer; 32 bits if number1 is an AS number; 16 bits if number1 is an IP address

#### Mode

VRF Configuration

#### Published: 2011-10-04

Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2011 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out