Technical Documentation

Example: Configuring a Prefix List

The following example accepts and rejects traffic from sites specified using prefix lists:

[edit]policy-options {policy-statement prefix-list-policy {term ok-sites {from {prefix-list known-ok-sites;}then accept;}term reject-bcasts {from {prefix-list known-dir-bcast-sites;}then reject;}}}[edit]policy-options {prefix-list known-ok-sites {172.16.0.3;10.10.0.0/16;192.168.12.0/24;}[edit]policy-options {prefix-list known-dir-bcast-sites {10.3.4.6;10.2.0.0/16;192.168.1.0/24;}}}

Published: 2010-04-15