> Border Gateway Protocol IP VRF Configuration Mode Commands
> The Border Gateway Protocol (BGP) IP VRF Configuration Mode is used to configure properties for BGP-4 routing.
> Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
> end
> Exits the current configuration mode and returns to the Exec mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> end
> Usage
> Return to the Exec mode.
> exit
> Exits the current configuration mode and returns to the global configuration mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> exit
> Usage
> Return to the context configuration mode.
> route-distinguisher
> This command assigns a route distinguisher (RD) for the VRF. The route distinguisher value must be a unique value on the router for each VRF.
> Product
> PDSN, GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> route-distinguisher {as_value | ip_address} rd_value
> as_value
> The ASN value is a 16-bit autonomous-system (AS) number from 0 through 65535.
> ip_address }
> ip_address is an 32 bit IP address in IPv4 dotted decimal notation.
> rd_value }
> rd_value is an unique route distinguisher identifier and must be an integer between 0 through 4294967295.
> Usage
> Use this command to assign a router distinguisher (RD) for the IP VRF. The combination of AS number/IP address and RD value must be unique for every VRF configured. The RD is added to the beginning of the pool addresses to change them into globally unique VPN-IPv4 prefixes.
> If the RD is not configured for a VRF, user cannot enter into the BGP Address-Family mode for that VRF to configure the neighbors or other related BGP commands.
> An RD assigined to a VRF cannot be changed untill the existing VRF is deleted or removed and reconfigured.
> Example
> The following command assigns a router distingusher 12345 to VRF with AS number 300:
> route-distingusher 300 12345
> The following command assigns a router distingusher 12345 to VRF with IP address 1.5.3.4:
> route-distingusher 1.5.3.4 12345
> route-target
> This command adds a list of import and/or export route target extended communitites to the VRF.
> Product
> PDSN, GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> route-target {both | import | export} {as_value | ip_address} rt_value
> both
> This keyword creates list of import and export route targets for the VRF with same parameters. The list contains AS number or IP address along with RT value.
> import
> This keyword creates list of import route targets for the VRF with same parameters. The list contains AS number or IP address along with RT value.
> export
> This keyword creates list of import route targets for the VRF with same parameters. The list contains AS number or IP address along with RT value.
> as_value
> The ASN value is a 16-bit autonomous-system (AS) number from 0 through 65535.
> ip_address }
> ip_address is an 32 bit IP address in IPv4 dotted decimal notation.
> rt_value }
> rt_value is an unique route target identifier and must be an integer between 0 through 4294967295.
> Usage
> Use this command to create the list of export and/or import route target extended communities for VRF. It specifies the a target VPN extened community.
> A maximm of 5 route targets can be defined with this command up to release 9.0.
> A maximm of 10 route targets can be defined with this command from release 10.0 onvward.
> Important: This command must be executed for each route target extended communities.
> Example
> The following command creates an export list of route target extended community 12345 for VRF with AS number 300:
> route-target export 300 12345
> The following command creates an export list of route target extended community 12345 for VRF with IP address 192.168.1.2:
> route-target export 192.168.1.2 12345

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883