References For Routing Policy - Cisco NCS 5500 Series Configuration Manuals

Routing configuration ios xr release 6.3.x
Hide thumbs Also See for NCS 5500 Series:
Table of Contents

Advertisement

Implementing Routing Policy
policy. The common-inbound policy is used as a building block in the construction of in-100 and
in-101 along with the set-lpref-prepend building block.
prefix-set bogon
end-set
!
route-policy in-100
end-policy
!
route-policy in-101
end-policy
!
route-policy filter-bogons
drop
else
pass
end-policy
!
route-policy common-inbound
end-policy
!
route-policy set-lpref-prepend($lpref,$as,$prependcnt)
end-policy

References for Routing Policy

To implement RPL, you need to understand the following concepts:
10.0.0.0/8 ge 8 le 32,
0.0.0.0,
0.0.0.0/0 ge 27 le 32,
192.168.0.0/16 ge 16 le 32
apply common-inbound
if community matches-any ([100..120]:135) then
apply set-lpref-prepend (100,100,2)
set community (2:1234) additive
else
set local-preference 110
endif
if community matches-any ([100..666]:[100..999]) then
set med 444
set local-preference 200
set community (no-export) additive
endif
apply common-inbound
if community matches-any ([101..200]:201) then
apply set-lpref-prepend(100,101,2)
set community (2:1234) additive
else
set local-preference 125
endif
if destination in bogon then
endif
apply filter-bogons
set origin igp
set community (2:333)
set local-preference $lpref
prepend as-path $as $prependcnt
Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.3.x
References for Routing Policy
133

Advertisement

Table of Contents
loading

Table of Contents