Basic Route Policy Configuration
This section provides information on configuring route policies and shows configuration
examples of common tasks.
The minimal route policy parameters that need to be configured are:
The following is an example of route policy configuration, including samples for defining
community members and the as-path regular expressions.
A:ALU-B>config>router>policy-options# info
----------------------------------------------
. . .
7705 SAR OS Router Configuration Guide
•
policy statement with the following parameters specified:
→ at least one entry
→ entry action
community "all-types" members "5000:[1-6][1-9][0-9]"
community "all-normal" members "5000:[1-5][1-9][0-9]"
as-path "Outside madeup paths" ".* 5001 .*"
as-path "Outside Internet paths" ".* 5002 .*"
policy-statement "RejectOutsideASPaths"
entry 1
from
protocol bgp
as-path "Outside madeup paths"
exit
action reject
exit
exit
entry 2
from
protocol bgp
as-path "Outside Internet paths"
exit
action reject
exit
exit
entry 3
from
protocol ospf
exit
to
protocol bgp
exit
action reject
exit
exit
Route Policies
433