In this example, the from interface so-0-1/0 then reject policy statement rejects bootstrap messages from the specified interface (the example is configured for both IPv4 and IPv6 operation):
- protocols {
-
- pim {
-
- rp {
-
- bootstrap {
-
- family inet {
- priority 1;
- import pim-import;
- export pim-export;
- }
-
- family inet6 {
- priority 1;
- import pim-import;
- export pim-export;
- }
- }
- }
- }
- }
- policy-options {
-
- policy-statement pim-import {
- from interface so-0/1/0;
- then reject;
- }
-
- policy-statement pim-export {
- to interface so-0/1/0;
- then reject;
- }
- }