[j-nsp] boolean math for communities

Paul Goyette pgoyette at juniper.net
Tue Dec 9 01:17:47 EST 2003


To require that two specific communities be present, use

	policy-options {
		community a-and-b members [a b];
	}

	policy x {
		term x1 {
			from {
				community a-and-b;
			}
			then ...
		}
	}

To require that a single community not be present, use

	policy-options {
		community not-c {
			members c;
			invert-match;
		}
	}

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net]On Behalf Of Phil Rosenthal
Sent: Monday, December 08, 2003 10:07 PM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] boolean math for communities


     Policy error: !community_a community referenced (in term 
not_communitya) but not defined

I've also had problems with commuity_a && comunity_b,  is this 
functionality not implemented?

Has anyone figured out a way to match a term based on two (or more) 
communities all existing, or a community not existing?

Thanks.
--Phil Rosenthal
ISPrime, Inc.

_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list