EasyManua.ls Logo

Cisco NCS 5500 Series

Cisco NCS 5500 Series
268 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
Loading...
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
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
end-set
!
route-policy in-100
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
end-policy
!
route-policy in-101
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
end-policy
!
route-policy filter-bogons
if destination in bogon then
drop
else
pass
endif
end-policy
!
route-policy common-inbound
apply filter-bogons
set origin igp
set community (2:333)
end-policy
!
route-policy set-lpref-prepend($lpref,$as,$prependcnt)
set local-preference $lpref
prepend as-path $as $prependcnt
end-policy
References for Routing Policy
To implement RPL, you need to understand the following concepts:
Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.3.x
133
Implementing Routing Policy
References for Routing Policy

Table of Contents

Other manuals for Cisco NCS 5500 Series

Related product manuals