[j-nsp] (no subject)

Randy Bush randy at psg.com
Tue Nov 15 19:02:51 EST 2005


for the record, this is what worked

groups {
    beacons-all {
        policy-options {
	    policy-statement <*> {
	        term <*> {
		    from {
			route-filter 147.28.0.0/16 orlonger;    /* feamster */
			route-filter 192.83.230.0/24 exact;	/* morley */
			route-filter 198.133.206.0/24 exact;    /* morley */
			route-filter 198.180.152.0/24 orlonger; /* feamster */
			route-filter 198.180.153.0/24 exact;    /* morley */
			}
		    }
                }
	    }
	}
    }

and then i could say things such as

policy-options {
    policy-statement beacon-in {
	term accept-beacons {
	    from {
		protocol bgp;
		apply-groups beacons-all;
		}
            then {
	        accept;
		}
            }
	term final {
	    then reject
	    }
	}
    }


the bugs were at least
  o needed 'exact' (i expected it to be default)
  o needed the 'term <*> {}' clause

randy



More information about the juniper-nsp mailing list