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 #644 background imageLoading...
Page #644 background image
3
Commit your configuration.
RP/0/RSP0/CPU0:router(config)# commit
This completes the configuration of routing policy with wildcards for prefix sets. For detailed information on
prefix sets, see prefix-set, on page 550.
Use Wildcards for AS-Path Sets
Use the following example to configure a routing policy with wildcards for AS-path sets.
1
Configure the required AS-path sets in the global configuration mode.
RP/0/RSP0/CPU0:router(config)# as-path-set AS_SET1
RP/0/RSP0/CPU0:router(config-as)# ios-regex '_22$',
RP/0/RSP0/CPU0:router(config-as)# ios-regex '_25$'
RP/0/RSP0/CPU0:router(config-as)# end-set
RP/0/RSP0/CPU0:router(config)# as-path-set AS_SET2
RP/0/RSP0/CPU0:router(config-as)# ios-regex '_42$',
RP/0/RSP0/CPU0:router(config-as)# ios-regex '_47$'
RP/0/RSP0/CPU0:router(config-as)# end-set
2
Configure a route policy with wildcards to refer to the AS-path sets.
RP/0/RSP0/CPU0:router(config)# route-policy WILDCARD_AS_SET
RP/0/RSP0/CPU0:router(config-rpl)# if as-path in as-path-set* then pass else drop endif
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
This route policy configuration accepts routes with AS-path attributes as mentioned in the two AS-path
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 AS-path sets. For detailed information
on AS-path sets, see as-path-set, on page 545.
Use Wildcards for Community Sets
Use the following example to configure a routing policy with wildcards for community sets.
1
Configure the required community sets in the global configuration mode.
RP/0/RSP0/CPU0:router(config)# community-set CSET1
RP/0/RSP0/CPU0:router(config-comm)# 12:24,
RP/0/RSP0/CPU0:router(config-comm)# 12:36,
RP/0/RSP0/CPU0:router(config-comm)# 12:72
RP/0/RSP0/CPU0:router(config-comm)# end-set
RP/0/RSP0/CPU0:router(config)# community-set CSET2
RP/0/RSP0/CPU0:router(config-comm)# 24:12,
RP/0/RSP0/CPU0:router(config-comm)# 24:42,
RP/0/RSP0/CPU0:router(config-comm)# 24:64
RP/0/RSP0/CPU0:router(config-comm)# end-set
2
Configure a route policy with wildcards to refer to the community sets.
RP/0/RSP0/CPU0:router(config)# route-policy WILDCARD_COMMUNITY_SET
RP/0/RSP0/CPU0:router(config-rpl)# if community matches-any community-set* then pass else
drop endif
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
This route policy configuration accepts routes with community set values as mentioned in the two
community sets, and drops all other non-matching routes.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
614
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