DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Configures a VRF instance.
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config)# vrf vrf_pe
Step 2
Specifies either the IPv4 or IPv6 address family and enters address
family configuration submode.
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 3
To see a list of all the possible keywords and arguments for this
command, use the CLI help (?).
Configures a limit to the number of prefixes allowed in a VRF
table.
maximum prefix maximum [ threshold ]
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)#
maximum prefix 2300
Step 4
A maximum number of routes is applicable to dynamic routing
protocols as well as static or connected routes.
You can specify a threshold percentage of the prefix limit using
the mid-threshold argument.
(Optional) Provides finer control over what gets imported into a
VRF. This import filter discards prefixes that do not match the
specified policy-name argument.
import route-policy policy-name
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)#
import route-policy policy_a
Step 5
Specifies a list of route target (RT) extended communities. Only
prefixes that are associated with the specified import route target
extended communities are imported into the VRF.
import route-target [ as-number : nn |
ip-address : nn ]
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)#
import route-target 234:222
Step 6
(Optional) Provides finer control over what gets exported into a
VRF. This export filter discards prefixes that do not match the
specified policy-name argument.
export route-policy policy-name
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)#
export route-policy policy_b
Step 7
Specifies a list of route target extended communities. Export route
target communities are associated with prefixes when they are
export route-target [ as-number : nn |
ip-address : nn ]
Step 8
advertised to remote PEs. The remote PEs import them into VRFs
Example:
RP/0/RSP0/CPU0:routerr(config-vrf-af)#
export route-target 123;234
which have import RTs that match these exported route target
communities.
commit
Step 9
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 113
Implementing BGP
Configuring a VPN Routing and Forwarding Instance in BGP