A method and system are provided for adding, removing, and managing a
plurality of network policy filters in a network device. Filters are
installed in a framework and designated as active or disabled. Each
filter has a priority. When a new filter is to be installed into the
framework, it is compared to installed filters to determine if a conflict
exists. If no conflict exists, the new filter is added as an active
filter. If a conflict exists, a higher priority conflicting filter is
added as active and a lower priority filter is added as inactive.