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...
if destination in (10.10.0.0/16) and as-path originates-from '222' then
set local-pref 111
set community (333:222, 333:333) additive
elseif destination in (10.10.0.0/16) then /*Only Policy Child A is pass */
set local-pref 111
set community (333:444) additive /*From else block */
elseif as-path originates-from '222' then /*Only Policy Child B is pass */
set community (333:222, 333:444) additive /*From else block */
else
set community (333:444) additive /*From else block */
endif
end-policy
Apply Conditions can be used with parameters and are supported on all attach points and on all clients.
Hierarchical Apply Conditions can be used without any constraints on a cascaded level.
Existing route policy semantics can be expanded to include this Apply Condition:
Route-policy policy_name
If apply policyA and apply policyB then
Set med 100
Else if not apply policyD then
Set med 200
Else
Set med 300
Endif
End-policy
Behavior of pass/drop/done RPL Statements for Simple Hierarchical Policies
This table describes the behavior of pass/drop/done RPL statements, with a possible sequence for executing
the done statement for Simple Hierarchical Policies.
BehaviorPossible done statement execution
sequence
Route-policies with simple
hierarchical policies
Marks the prefix as "acceptable"
and continues with execution of
continue_list statements.
pass
Continue_list
pass
Rejects the route immediately on
hitting the drop statement and stops
policy execution.
Stmts_list
drop
drop
Accepts the route immediately on
hitting the done statement and stops
policy execution.
Stmts_list
done
done
Exits immediately at the done
statement with "accept route".
pass
Statement_list
done
pass followed by done
Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.3.x
187
Implementing Routing Policy
Behavior of pass/drop/done RPL Statements for Simple Hierarchical Policies

Table of Contents

Other manuals for Cisco NCS 5500 Series

Related product manuals