Hi, <br><br>I&#39;ve read the XORP user manual and Bittau &amp; Handley&#39;s paper on &quot;Decoupling Policy from Protocols&quot; and I am still a bit confused as to how the policy terms work. <br><br>I understand that policies that do route redistribution, like &quot;from {protocol:rip} to {neighbor: <a href="http://192.168.1.2">192.168.1.2</a>} then {accept}&quot; make sense as an export policy, but it&#39;s not clear to me why a policy term has both from and to blocks when it is not doing routing redistribution. For example, take the following policy term: <br>
<br>from {} to {neighbor: <a href="http://192.168.1.2">192.168.1.2</a>} then {accept}<br><br>As an export policy I understand that it would advertise all routes to neighbor <a href="http://192.168.1.2">192.168.1.2</a>. However, if it were an IMPORT policy, what would it mean? More generally, what do any conditions in the to block mean in an import policy? <br>
<br>Similarly, what does &quot;from {neighbor: <a href="http://192.168.1.2">192.168.1.2</a>} to {} then {accept}&quot; mean as an export policy? What does any condition in the from block of an export policy mean? <br><br>
Thanks!<br><br>-Andreas <br>