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 #474 background imageLoading...
Page #474 background image
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
!
rd-set rd_set_demo
10.0.0.1/8:77,
10.0.0.2:888,
65000:777
end-set
!
!
rd-set rd_set_demo2
20.0.0.1/7:99,
4784:199
end-set
!
route-policy use_rd_set
if rd in rd-set* then
set local-preference 100
elseif rd in (10.0.0.2:888, 10.0.0.2:999) then
set local-preference 300
endif
end-policy
!
end
This completes the configuration of routing policy with wildcards for route distinguisher sets. For more
information on route distinguisher sets, see rd-set, on page 391.
Use Wildcards for OSPF Area Sets
Use the following example to configure a routing policy with wildcards for OSPF area sets.
1. Configure the OSPF area set in the global configuration mode.
RP/0/RP0/CPU0:router(config)# ospf-area-set ospf_area_set_demo1
RP/0/RP0/CPU0:router(config-ospf-area)# 10.0.0.1,
RP/0/RP0/CPU0:router(config-ospf-area)# 3553
RP/0/RP0/CPU0:router(config-ospf-area)# end-set
RP/0/RP0/CPU0:router(config)# ospf-area-set ospf_area_set_demo2
RP/0/RP0/CPU0:router(config-ospf-area)# 20.0.0.2,
RP/0/RP0/CPU0:router(config-ospf-area)# 3673
RP/0/RP0/CPU0:router(config-ospf-area)# end-set
2. Configure a route policy with wildcards to refer to the OSPF area set.
RP/0/RP0/CPU0:router(config)# route-policy use_ospf_area_set
RP/0/RP0/CPU0:router(config-rpl)# if ospf-area in ospf-area-set* then set ospf-metric
200
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
452
Implementing Routing Policy
Use Wildcards For Routing Policy Sets

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