0

Let's say, that there is a following simply route policy in Juniper router:

root@vmx> show policy test
Policy test:
    Term 1:
        from
             route filter:
                 10.10.10.7/32 exact
                 192.168.10.0/24 orlonger
        then accept
    Term 2:
        then reject

root@vmx>

How does Junos validate routes against this route policy internally? Does it convert it into a binary tree data structure and checks the routes against it in the control plane?

2
  • 1
    Can you provide any additional context around the question? Policy is a pretty hefty topic and I'd like to be as specific as possible. – Jordan Head May 28 '20 at 15:26
  • I was simply wondering, how does Junos check routes against a route policy internally. Does it read in each route policy and build a binary tree for each policy and check routes from the RIB against that binary tree if the policy is applied in export direction under protocol configuration? – Martin May 29 '20 at 8:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.