Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-97
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Step 3
address-family {ipv4 | ipv6} unicast
Example:
RP/0/RP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Enters address family configuration mode for the specified
address family.
Step 4
maximum prefix maximum [threshold]
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# maximum
prefix 2300
Configures a limit to the number of prefixes allowed in a
VRF table.
A maximum number of routes is applicable only to dynamic
routing protocols and not to static or connected routes.
You can specify a threshold percentage of the prefix limit
using the mid-threshold argument.
Step 5
import route-policy policy-name
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# import
route-policy policy_a
Provides finer control over what gets imported into a VRF.
This import filter discards prefixes that do not match the
specified policy-name argument.
Step 6
import route-target [as-number:nn |
ip-address:nn]
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# import
route-target 234:222
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.
Step 7
export route-policy policy-name
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# export
route-policy policy_b
Provides finer control over what gets exported into a VRF.
This export filter discards prefixes that do not match the
specified policy-name argument.
Command or Action Purpose