Which command specifies an RT for VRF my_vpn?

Which command specifies an RT for VRF my_vpn?

Which command specifies an RT for VRF my_vpn?

A.
Router (config-vrf)# route-target both 12703:15

B.
Router (config-router-af)# route-target import 12703:15

C.
Router (config)# ip vrf my_vpn route-target import
12703:15

D.
Router (config-if)# ip vrf my_vpn route-target import 12703:15

Explanation:

route-target
To create a route-target extended community for a VRF, use the route-target VRF submode command. To disable the configuration of a route-target community option, use the noform of this command.
route-target{import | export | both}route-target-ext-community noroute-target {import | export | both}route-target-ext-community Syntax Description
import Imports routing information from the target VPN extended community. export Exports routing information to the target VPN extended community. both Imports both import and export routing information to the target VPN extended community.
route-target-ext-community Adds the route-target extended community attributes to the VRF’s list of import, export, or both (import and export) route-target extended communities.
Reference:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a00800e977b.html#11



Leave a Reply 0

Your email address will not be published. Required fields are marked *