EasyManuals Logo

Cisco ASR 9000 Series Configuration Guide

Cisco ASR 9000 Series
604 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 #578 background imageLoading...
Page #578 background image
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 476.
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/RSP0/CPU0:router(config)# ospf-area-set ospf_area_set_demo1
RP/0/RSP0/CPU0:router(config-ospf-area)# 10.0.0.1,
RP/0/RSP0/CPU0:router(config-ospf-area)# 3553
RP/0/RSP0/CPU0:router(config-ospf-area)# end-set
RP/0/RSP0/CPU0:router(config)# ospf-area-set ospf_area_set_demo2
RP/0/RSP0/CPU0:router(config-ospf-area)# 20.0.0.2,
RP/0/RSP0/CPU0:router(config-ospf-area)# 3673
RP/0/RSP0/CPU0:router(config-ospf-area)# end-set
2
Configure a route policy with wildcards to refer to the OSPF area set.
RP/0/RSP0/CPU0:router(config)# route-policy use_ospf_area_set
RP/0/RSP0/CPU0:router(config-rpl)# if ospf-area in ospf-area-set* then set ospf-metric
200
RP/0/RSP0/CPU0:router(config-rpl-if)# elseif ospf-area in( 10.0.0.1, 10.0.0.2 )then set
ospf-metric 300
RP/0/RSP0/CPU0:router(config-rpl-elseif)# endif
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
3
Commit your configuration.
RP/0/RSP0/CPU0:router(config)# commit
4
(Optional) Verify your configuration.
RP/0/RSP0/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
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
550 OL-30423-03
Implementing Routing Policy
Use Wildcards For Routing Policy Sets

Table of Contents

Other manuals for Cisco ASR 9000 Series

Questions and Answers:

Question and Answer IconNeed help?

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

Cisco ASR 9000 Series Specifications

General IconGeneral
SeriesASR 9000
CategoryNetwork Router
Modular DesignYes
RedundancyYes (Hardware and Software)
Operating SystemCisco IOS XR
Interfaces/Ports10G, 40G, 100G, 400G Ethernet
Expansion SlotsVaries by model
Routing ProtocolBGP, OSPF, IS-IS, EIGRP
ManagementCLI, SNMP, NETCONF
Power SupplyRedundant
Port DensityVaries by model
Power Supply OptionsAC, DC
MemoryVaries by model
StorageVaries by model
DimensionsVaries by model
WeightVaries by model

Related product manuals