beautypg.com

16 route-target – CANOGA PERKINS 9175 Command Reference User Manual

Page 486

background image

CanogaOS Command Reference

27-10

192.16.10.1:1)

Command Mode

VRF mode

Usage

Use the route distinguisher command to create routing and forwarding tables and to specify the default RD for a

VPN. The RD is added to the customer's IPv4 prefixes, changing them into globally unique VPN-IPv4

prefixes.

Examples

Switch(config)# ip vrf VRF_A

Switch(config-vrf)# rd 100:1

Related Commands

ip vrf, route-target

27.16 route-target

Use this command to add a list of import and export route-target extended communities to the VRF.

Use the no parameter with this command to delete a route target.

Command Syntax

(no) route-target TYPE RT-VALUE

TYPE = export|import|both

export add route-target to the exporting routing information from the VRF.

import import routing information which have this route-target.

both Specify both import and export.

RT-VALUE = ASN|IPID

RT-VALUE = ASN|IPID

ASN = ASN:NN 16-bit Specifies a AS number and an arbitrary number (for example- 100:1).

IPID = A.B.C.D|NN Specifies a 32-bit IP address and an arbitrary number (for example-

192.16.10.1:1)

Command Mode

VRF mode

Usage

The route-target command creates lists of import and export route-target extended communities for the VRF. It

specifies a target VPN extended community. Execute the command once for each community. All routes with

the specific route-target extended community are imported into all VRFs with the same extended community

as an import route-target.

Examples