EasyManuals Logo

Cisco ASR 9000 Series Routing Configuration Guide

Cisco ASR 9000 Series
702 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 #645 background imageLoading...
Page #645 background image
3
Commit your configuration.
RP/0/RSP0/CPU0:router(config)# commit
This completes the configuration of routing policy with wildcards for community sets. For detailed information
on community path sets, see community-set, on page 546.
Use Wildcards for Extended Community Sets
Use the following example to configure a routing policy with wildcards for extended community sets.
1
Configure the extended community sets in the global configuration mode.
RP/0/RSP0/CPU0:router(config)# extcommunity-set rt RT_SET1
RP/0/RSP0/CPU0:router(config-ext)# 1.2.3.4:555,
RP/0/RSP0/CPU0:router(config-ext)# 1234:555
RP/0/RSP0/CPU0:router(config-ext)# end-set
RP/0/RSP0/CPU0:router(config)# extcommunity-set rt RT_SET2
RP/0/RSP0/CPU0:router(config-ext)# 1.1.1.1:777,
RP/0/RSP0/CPU0:router(config-ext)# 1111:777
RP/0/RSP0/CPU0:router(config-ext)# end-set
2
Configure a route policy with wildcards to refer to the extended community sets.
RP/0/RSP0/CPU0:router(config)# route-policy WILDCARD_EXT_COMMUNITY_SET
RP/0/RSP0/CPU0:router(config-rpl)# if extcommunity rt matches-any extcommunity-set* then
pass else drop endif
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
This route policy configuration accepts routes with extended community set values as mentioned in the
two extended community sets, and drops all other non-matching routes.
3
Commit your configuration.
RP/0/RSP0/CPU0:router(config)# commit
This completes the configuration of routing policy with wildcards for extended community sets. For detailed
information on extended community path sets, see extcommunity-set, on page 547.
Use Wildcards for Route Distinguisher Sets
Use the following example to configure a routing policy with wildcards for route distinguisher sets.
1
Configure the route distinguisher sets in the global configuration mode.
RP/0/RSP0/CPU0:router(config)# rd-set rd_set_demo
RP/0/RSP0/CPU0:router(config-rd)# 10.0.0.1/8:77,
RP/0/RSP0/CPU0:router(config-rd)# 10.0.0.2:888,
RP/0/RSP0/CPU0:router(config-rd)# 65000:777
RP/0/RSP0/CPU0:router(config-rd)# end-set
RP/0/RSP0/CPU0:router(config)# rd-set rd_set_demo2
RP/0/RSP0/CPU0:router(config-rd)# 20.0.0.1/7:99,
RP/0/RSP0/CPU0:router(config-rd)# 4784:199
RP/0/RSP0/CPU0:router(config-rd)# end-set
2
Configure a route policy with wildcards to refer to the route distinguisher set.
RP/0/RSP0/CPU0:router(config)# route-policy use_rd_set
RP/0/RSP0/CPU0:router(config-rpl)# if rd in rd-set* then set local-preference 100
RP/0/RSP0/CPU0:router(config-rpl-if)# elseif rd in(10.0.0.2:888, 10.0.0.2:999)then set
local-preference 300
RP/0/RSP0/CPU0:router(config-rpl-elseif)# endif
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
615
Implementing Routing Policy
Wildcards for Route 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