EasyManuals Logo

Cisco NCS 6000 Series User Manual

Cisco NCS 6000 Series
498 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #475 background imageLoading...
Page #475 background image
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
10.0.0.1,
3553
end-set
!
!
ospf-area-set ospf_area_set_demo2
20.0.0.2,
3673
end-set
!
route-policy use_ospf_area_set
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
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:
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
453
Implementing Routing Policy
VRF Import Policy Enhancement

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco NCS 6000 Series and is the answer not in the manual?

Cisco NCS 6000 Series Specifications

General IconGeneral
BrandCisco
ModelNCS 6000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals