A method for determining the validity of an n-dimensional policy table in a router.
The router may include a processor, a memory (e.g. ROM, flash memory, non-volatile
memory, hard disk, etc.), and two or more policy rules stored in the memory. Each
policy rule may have one or more dimensions (or parameters), designated generally
by the symbol n. In accord with the method, the processor may make a determination
whether any particular policy rule in the table intersects any subsequent policy
rule in the table in every dimension n. If no rules in the table intersect in every
dimension n, then the policy table is valid, and the router may operate normally.