18 route-target, Route, Target – PLANET XGS3-24042 User Manual

Page 1236

Advertising
background image

77-12

Default:

Not configured.

Command Mode:

VRF Configuration Mode.

Usage Guide:

RD can uniquely identify the VPN route. VPN instances realize address space independence via

RD, and thus realize the address overlap between different VPNs. Usually the configuration

includes the AS number and an arbitrary number. RD can’t be deleted directly.

Example:

Switch(config)#ip vrf VRF-A

Switch(config-vrf)#rd 300:3

Switch(config-vrf)#

77.18 route-target

Command:

route-target {import | export | both} <rt-value>

no route-target {import | export | both} <rt-value>

Function:

Configure the Route-Target of the specified VRF 的 Route-Target; The no operation will delete the

configuration.

Parameters:

import: Means to filter the import route, which means to judge whether the VPN route can be added

into the VRF;

export: Means to use the route of this VRF as the Route-Target that will be added to when the

VPNv4 route sends out messages, in order to filter the interface import;

both: Means the import and the export use the same Route-Target;

<rt-value>: Is the the route target value, the format is ASN:nn_or_IP-address:nn. ASN is AS ID,

ranging from 1 to 4294967295, it can be shown in decimal notation (such as 6553700) or delimiter

method (such as 100.100); IP-address is IP address that the length is 4 bytes; nn is arbitrary

number that the length is 2 bytes.

Default:

Not configured.

Command Mode:

VRF Configuration Mode.

Usage Guide:

A RT is a BGP extended community, for filtering the VPN routes and controlling the VNP

Advertising
This manual is related to the following products: