JUNOSe 7.2.x Policy Management Configuration Guide
50 ! Merging Policies
Policy Attachment Rules
The attributes of a policy attachment are as follows:
! Policy name—Name of policy to be attached.
! Attachment type—Type of attachment.
! Statistics enable/disable—Enable or disable statistics for the attachment.
! Baseline enable/disable—Enable or disable baselining for the attachment.
! Merge or Replace—Allow an attachment to become merge-capable and merge
with any other attachments that are merge-capable. If the merge keyword is
not specified, then it replaces any existing attachments with the new
attachment. Merging always preserves statistics.
! Preserve—Preserve statistics from earlier attachment when replacing an
attachment. This keyword is mutually exclusive with merge keyword.
Various possibilities result from a policy attachment at an interface due to the
presence or absence of these keywords. The same rules apply while attaching
policies based on interface profiles provided by Service Manager except as noted.
Attachments made through Interface Configuration mode follow these rules:
! If an attachment is issued with the merge keyword specified:
! Any existing attachment of the same type at the interface without the
merge keyword is replaced by the new attachment, which then becomes
merge-capable.
! An attachment is merged with any existing attachments of the same type
that have the merge keyword set. If a merged policy already exists for the
set of component policies, then this merged policy is used or a new merged
policy is created dynamically and attached. The statistics for common
classifier groups are preserved when replacing the existing merged
attachment.
! If an attachment is issued when no merge or preserve keyword is set, then it
replaces all other attachments with the same type at the interface. This
attachment is not merge-capable for future use and statistics from previous
attachments are not preserved.
! If an attachment is issued when the merge keyword is not set, but the preserve
keyword is set, it replaces all other attachments with the same type at the
interface. This attachment is not merge-capable for future use. Statistics from
existing attachments are preserved for all the common classifier-groups.
! You cannot have multiple attachments of the same policy on a single
attachment point. Only Service Manager executes multiple attachments of the
same policy at the same attachment point.