Vrf Import Policy Enhancement - Cisco NCS 6000 Series Configuration Manual

Ios xr release 6.4.x
Hide thumbs Also See for NCS 6000 Series:
Table of Contents

Advertisement

Implementing Routing Policy
RP/0/RP0/CPU0:router(config-rpl-if)# elseif ospf-area in( 10.0.0.1, 10.0.0.2 )then set
ospf-metric 300
RP/0/RP0/CPU0:router(config-rpl-elseif)# endif
RP/0/RP0/CPU0:router(config-rpl)# end-policy
3. Commit your configuration.
RP/0/RP0/CPU0:router(config)# commit
4. (Optional) Verify your configuration.
RP/0/RP0/CPU0:router(config)# show configuration
Building configuration...
!! IOS XR Configuration 0.0.0
!
ospf-area-set ospf_area_set_demo1
end-set
!
!
ospf-area-set ospf_area_set_demo2
end-set
!
route-policy use_ospf_area_set
end-policy
!
end
This completes the configuration of routing policy with wildcards for OSPF area sets.

VRF Import Policy Enhancement

The VRF RPL based import policy feature provides the ability to perform import operation based solely on
import route-policy, by matching on route-targets (RTs) and other criteria specified within the policy. No
need to explicitly configure import RTs under global VRF-address family configuration mode. If the import
RTs and import route-policy is already defined, then the routes will be imported from RTs configured under
import RT and then follows the route-policy attached at import route-policy.
Use the source rt import-policy command under VRF sub-mode of VPN address-family configuration
mode to enable this feature.
How to Implement Routing Policy
This section contains the following procedures:
10.0.0.1,
3553
20.0.0.2,
3673
if ospf-area in ospf-area-set* then
set ospf-metric 200
elseif ospf-area in (10.0.0.1, 10.0.0.2) then
set ospf-metric 300
endif
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
VRF Import Policy Enhancement
453

Advertisement

Table of Contents
loading

Table of Contents