Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Juniper
in which case route-policies use AND or OR logic?
m4rtin
Am I correct, that route policies use OR logic if the "from" statement is the same(for example only "from route-filter") and use AND logic if different from statements are present(for example "from route-filter" and "from community")? In other words, in this case:
set groups TEST policy-options policy-statement TEST1 term aggregate from route-filter 10.10.10.0/19 exact
set groups TEST policy-options policy-statement TEST1 term aggregate from route-filter 10.11.11.0/24 exact
set groups TEST policy-options policy-statement TEST1 term aggregate from route-filter 192.168.1.0/24 exact
set groups TEST policy-options policy-statement TEST1 term aggregate then community delete 12345
set groups TEST policy-options policy-statement TEST1 term aggregate then accept
..all 10.10.10.0/19, 10.11.11.0/24 and 192.168.1.0/24 would be accepted? And in this example:
set groups TEST policy-options policy-statement TEST1 term aggregate from route-filter 10.10.10.0/19 exact
set groups TEST policy-options policy-statement TEST1 term aggregate from route-filter 10.11.11.0/24 exact
set groups TEST policy-options policy-statement TEST1 term aggregate from route-filter 192.168.1.0/24 exact
set groups TEST policy-options policy-statement TEST1 term aggregate from community 777
set groups TEST policy-options policy-statement TEST1 term aggregate then community delete 12345
set groups TEST policy-options policy-statement TEST1 term aggregate then accept
..the 10.10.10.0/19, 10.11.11.0/24 and 192.168.1.0/24 will be accepted only if the community for a prefix is 777?
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
Ryan82
You are correct.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS